@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a3260;
  --gold: #c9a435;
  --gold-hover: #b08f25;
  --off-white: #f5f4ef;
  --text: #1e1e2e;
  --muted: #5a6376;
  --border: #e2e0d8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

/* Top Bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.top-bar a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav-logo {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--navy-mid);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.3px;
}
.nav-cta:hover {
  background: var(--gold-hover) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-hover);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  background:
    linear-gradient(
      to bottom,
      rgba(13, 27, 42, 0.62) 0%,
      rgba(13, 27, 42, 0.75) 100%
    ),
    url("images/moody_mtrainier.webp") center center / cover no-repeat;
  color: #fff;
  padding: 7rem 2rem;
  text-align: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(201, 164, 53, 0.15);
  border: 1px solid rgba(201, 164, 53, 0.4);
  color: var(--gold);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Bar */
.stats-bar {
  background: var(--gold);
  padding: 2.5rem 2rem;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stat-divider {
  border-left: 1px solid rgba(13, 27, 42, 0.2);
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* Sections */
.section {
  padding: 5.5rem 2rem;
}
.section-alt {
  background: var(--off-white);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-align: center;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
  font-size: 0.97rem;
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* Dark Section */
.dark-section {
  background: var(--navy);
  padding: 5.5rem 2rem;
}
.dark-section .section-tag {
  color: var(--gold);
}
.dark-section .section-title {
  color: #fff;
}
.dark-section .section-sub {
  color: rgba(255, 255, 255, 0.55);
}
.dark-section .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.dark-section .card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: none;
}
.dark-section .card h3 {
  color: var(--gold);
}
.dark-section .card p {
  color: rgba(255, 255, 255, 0.65);
}

/* Attorney Profile */
.profile-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 5px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.profile-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.profile-text .profile-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.profile-text p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .profile-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.contact-detail strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.contact-detail a {
  color: var(--muted);
  text-decoration: none;
}
.contact-cta-box {
  background: var(--navy);
  border-radius: 6px;
  padding: 2.75rem;
}
.contact-cta-box h3 {
  font-family: "Playfair Display", serif;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.contact-cta-box p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Form Page */
.form-header {
  background: var(--navy);
  color: #fff;
  padding: 2rem 2rem;
  text-align: center;
}
.form-header .section-tag {
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.form-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.form-header p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Cognito Embed */
.cognito-container {
  max-width: 900px;
  margin: 3.5rem auto 6rem;
  padding: 0 2rem;
}
.cognito-placeholder {
  background: var(--off-white);
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 5rem 2rem;
  text-align: center;
}
.cognito-placeholder h3 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.cognito-placeholder p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.cognito-placeholder code {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  color: var(--navy-mid);
}

/* Footer */
footer {
  background: #060e18;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  line-height: 1.9;
}
footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .stat-divider {
    border-left: none;
    border-top: 1px solid rgba(13, 27, 42, 0.2);
    padding-top: 1.75rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav-links {
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 4rem 1.5rem;
  }
  .top-bar {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
