:root {
  --navy: #dfe6ef;
  --navy-deep: #e8edf4;
  --navy-soft: #cfd8e4;
  --gray-50: #081a31;
  --gray-100: #0d2340;
  --gray-200: #1c3350;
  --gray-700: #c6d2e2;
  --white: #08182f;
  --gold: #d7b87a;
  --shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.75;
  color: #d7e1ee;
  background:
    radial-gradient(circle at 5% 15%, rgba(189, 208, 232, 0.15), transparent 35%),
    radial-gradient(circle at 95% 85%, rgba(215, 184, 122, 0.14), transparent 35%),
    var(--gray-50);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0 0 0.75rem;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--navy);
}

h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: var(--navy);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 26, 49, 0.94);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(10px);
}

.header-row {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  color: #eef3fa;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: #b9c8db;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

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

.hero {
  position: relative;
  color: #0d1f35;
  padding: 110px 0 100px;
  overflow: hidden;
  background-color: #dfe6ef;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(226, 234, 244, 0.92), rgba(206, 218, 233, 0.78)),
    var(--hero-image, none) center/cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 155, 99, 0.35), transparent 70%);
}

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

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.79rem;
  color: #1c3454;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.lead {
  max-width: 66ch;
  color: #1c3556;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.76rem 1.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #132947;
  box-shadow: 0 10px 20px rgba(184, 155, 99, 0.25);
}

.btn-secondary {
  border-color: rgba(20, 40, 65, 0.5);
  background: rgba(10, 28, 52, 0.06);
  color: #163050;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: linear-gradient(170deg, var(--gray-100), var(--gray-50));
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: #0e2340;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.card p {
  color: #c5d2e3;
}

.card h4 {
  margin: 0 0 0.45rem;
  color: #e9eff8;
  font-size: 1.18rem;
}

.card + .card {
  margin-top: 0;
}

.attorney-profile-media {
  width: min(280px, 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #324b69;
  margin: 0 0 1rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

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

.attorney-profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.45rem;
  align-items: start;
}

.attorney-profile-layout .attorney-profile-media {
  margin: 0;
  justify-self: start;
}

.attorney-profile-content h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.attorney-profile-content p {
  margin-bottom: 0.42rem;
  line-height: 1.62;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li {
  margin: 0.35rem 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.stat {
  background: #0e2340;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 0.9rem;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: #f0f5fc;
  line-height: 1.1;
}

.stat span {
  color: var(--gray-700);
  font-size: 0.92rem;
}

.quote-block {
  margin-top: 1rem;
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1rem;
  background: rgba(8, 24, 47, 0.3);
  border-radius: 0 10px 10px 0;
}

.quote-block p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.36rem;
  color: #e6eef8;
}

.tight-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.tight-list li {
  margin: 0.28rem 0;
  color: #bdcbdd;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.pill {
  display: inline-block;
  background: #0f2747;
  border: 1px solid #2c4464;
  color: #dbe5f2;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.office-card {
  background: #102746;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1rem;
}

.office-card h4 {
  margin: 0 0 0.45rem;
  color: #eff4fb;
  font-size: 1.18rem;
}

.office-card p {
  color: #bfd0e4;
  line-height: 1.55;
}

.cta-panel {
  background: linear-gradient(120deg, var(--navy), var(--navy-soft));
  color: var(--white);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.cta-panel h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.update-card {
  background: #0e2340;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.update-card h3 {
  margin-bottom: 0.45rem;
}

.update-card p {
  color: #c5d2e3;
}

.update-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.update-date {
  color: #b8c8db;
  font-size: 0.83rem;
  font-weight: 600;
}

.update-link {
  display: inline-block;
  margin-top: 0.75rem;
  text-decoration: none;
  color: #f1d8a8;
  font-weight: 700;
}

.admin-layout {
  align-items: flex-start;
}

.admin-panel {
  background: #0f2644;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-updates-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.admin-update-item {
  border: 1px solid #2f4765;
  border-radius: 12px;
  padding: 0.85rem;
  background: #0c223f;
}

.admin-update-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.admin-update-top h3 {
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
}

.admin-update-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.admin-tool-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.btn-danger {
  background: #7e1f2e;
  color: #f8ebee;
  border-color: #a73a4c;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 700;
  color: #d8e2f0;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #324b69;
  border-radius: 10px;
  padding: 0.75rem;
  font: inherit;
  color: #eaf1fa;
  background: #0c223f;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.muted {
  color: var(--gray-700);
}

.blog-view-card {
  max-width: 860px;
}

.blog-view-title {
  margin: 0.4rem 0 1rem;
}

.blog-view-body {
  display: grid;
  gap: 0.85rem;
}

.blog-view-body p {
  color: #c5d2e3;
}

.site-footer {
  background: #0c223f;
  border-top: 1px solid var(--gray-200);
  padding: 22px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #b7c7db;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }

  .attorney-profile-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

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

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

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 680px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0;
  }

  .hero {
    padding: 90px 0 78px;
  }

  .section {
    padding: 68px 0;
  }

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

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

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

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}