:root {
  --navy: #101d2f;
  --navy-2: #182a42;
  --gold: #c79b55;
  --gold-2: #e0bf86;
  --cream: #f7f4ee;
  --bg: #fff;
  --surface: #f7f8fa;
  --text: #18202b;
  --muted: #657080;
  --line: #e4e8ed;
  --success: #19724a;
  --danger: #a52a2a;
  --shadow: 0 18px 50px rgba(16, 29, 47, 0.09);
  --radius: 18px;
  --container: 1180px;
}
[data-theme="dark"] {
  --bg: #0d1420;
  --surface: #121d2c;
  --text: #edf1f5;
  --muted: #a9b3c0;
  --line: #283548;
  --cream: #151f2d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
}
.topbar a {
  color: var(--gold-2);
}
.toplinks {
  display: flex;
  gap: 18px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: Georgia, serif;
}
.brand small {
  display: block;
  font:
    500 9px/1 Inter,
    sans-serif;
  letter-spacing: 2.2px;
  color: var(--muted);
  margin-top: 2px;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}
.navlinks a {
  padding: 27px 0;
  position: relative;
}
.navlinks a.active,
.navlinks a:hover {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.icon-btn,
.menu-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.menu-btn {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: 0.2s;
}
.btn-primary {
  background: var(--gold);
  color: #111;
}
.btn-primary:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.hero {
  background: linear-gradient(135deg, var(--navy), #243c5a);
  color: #fff;
  padding: 92px 0 78px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(224, 191, 134, 0.22);
  border-radius: 50%;
  right: -160px;
  top: -180px;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.hero h1 {
  font:
    700 clamp(40px, 6vw, 72px)/1.05 Georgia,
    serif;
  max-width: 800px;
  margin: 14px 0 20px;
}
.hero p {
  max-width: 650px;
  color: #dbe2eb;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.section {
  padding: 82px 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}
.section-head h2 {
  font:
    700 clamp(30px, 4vw, 46px)/1.12 Georgia,
    serif;
  margin: 8px 0;
}
.section-head p {
  max-width: 600px;
  color: var(--muted);
  margin: 0;
}
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 6px 24px rgba(16, 29, 47, 0.035);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  transition: 0.2s;
}
.practice-card .num {
  font:
    700 13px Georgia,
    serif;
  color: var(--gold);
}
.practice-card h3,
.team-card h3,
.post h3 {
  font:
    700 24px Georgia,
    serif;
  margin: 12px 0 8px;
}
.muted {
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.stat {
  padding: 28px;
  text-align: center;
  background: var(--bg);
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font:
    700 42px Georgia,
    serif;
  color: var(--gold);
}
.stat span {
  font-size: 13px;
  color: var(--muted);
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}
.quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  font:
    italic 23px/1.45 Georgia,
    serif;
}
.feature-list {
  display: grid;
  gap: 14px;
  margin: 25px 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  gap: 12px;
}
.check {
  color: var(--gold);
  font-weight: 900;
}
.cta {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.cta h2 {
  font:
    700 38px Georgia,
    serif;
  margin: 0 0 8px;
}
.cta p {
  color: #ccd6e1;
  margin: 0;
}
.page-hero {
  padding: 58px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font:
    700 48px/1.1 Georgia,
    serif;
  margin: 8px 0;
}
.crumbs {
  color: var(--muted);
  font-size: 13px;
}
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 155, 85, 0.12);
}
.search {
  max-width: 360px;
}
.filters button.active {
  background: var(--navy);
  color: #fff;
}
.team-card {
  padding: 0;
  overflow: hidden;
}
.avatar {
  aspect-ratio: 4/4.5;
  background: linear-gradient(145deg, #e8e0d1, #a9b5c1);
  display: grid;
  place-items: center;
  font:
    700 60px Georgia,
    serif;
  color: #fff;
}
.team-info {
  padding: 22px;
}
.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}
.post {
  overflow: hidden;
  padding: 0;
}
.post .post-body {
  padding: 22px;
}
.post-cover {
  height: 190px;
  background: linear-gradient(135deg, var(--navy), #42617f);
  position: relative;
}
.post-cover span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: #fff;
  font:
    700 22px Georgia,
    serif;
}
.post-meta {
  font-size: 12px;
  color: var(--muted);
}
.post p {
  color: var(--muted);
}
.blog-list .post {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.blog-list .post-cover {
  height: 100%;
}
.blog-list .post-body {
  padding: 28px;
}
.gallery-item {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.gallery-art {
  height: 220px;
  background: linear-gradient(135deg, #c6a46b, #223952);
  display: grid;
  place-items: center;
  color: #fff;
  font:
    700 28px Georgia,
    serif;
}
.gallery-item .post-body {
  padding: 18px;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.7);
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 100;
}
.modal.open {
  display: grid;
}
.modal-box {
  background: var(--bg);
  color: var(--text);
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  position: relative;
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
}
.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq button {
  width: 100%;
  padding: 19px;
  background: var(--bg);
  color: var(--text);
  border: 0;
  text-align: left;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq .answer {
  display: none;
  padding: 0 19px 19px;
  color: var(--muted);
}
.faq.open .answer {
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.notice {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.notice.success {
  border-color: #8bc8a9;
  color: var(--success);
}
.notice.error {
  border-color: #e1a0a0;
  color: var(--danger);
}
.footer {
  background: #0c1522;
  color: #cbd4df;
  padding: 65px 0 25px;
}
.footer .brand {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  color: #fff;
  margin: 0 0 14px;
}
.footer a {
  color: #aeb9c6;
  display: block;
  margin: 8px 0;
  font-size: 14px;
}
.footer-bottom {
  border-top: 1px solid #263447;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 30px;
}
.pagination button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
}
.pagination button.active {
  background: var(--navy);
  color: #fff;
}
.checkout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 25px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.notice-bar {
  padding: 11px;
  text-align: center;
  background: var(--gold);
  color: #111;
  font-size: 13px;
}
.backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: none;
  cursor: pointer;
  z-index: 40;
}
.backtop.show {
  display: block;
}
.error-page {
  text-align: center;
  padding: 110px 0;
}
.error-page strong {
  font:
    700 120px Georgia,
    serif;
  color: var(--gold);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 35px;
  height: 35px;
  border: 1px solid #324255;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.hide {
  display: none !important;
}
@media (max-width: 950px) {
  .navlinks {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .navlinks.open {
    display: flex;
  }
  .navlinks a {
    padding: 11px;
  }
  .navlinks a.active:after {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav-actions .btn {
    display: none;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .checkout {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-list .post {
    grid-template-columns: 1fr;
  }
  .blog-list .post-cover {
    height: 190px;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .topbar .container {
    flex-direction: column;
    gap: 3px;
  }
  .toplinks {
    display: none;
  }
  .hero {
    padding: 65px 0;
  }
  .section {
    padding: 60px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero h1 {
    font-size: 38px;
  }
  .section-head {
    display: block;
  }
  .cta {
    padding: 30px;
    display: block;
  }
  .cta .btn {
    margin-top: 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 7px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Homepage v1.2 — original extended law-firm layout */
.home-middle {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.firm-contact {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 34px;
}
.firm-contact div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.firm-contact span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.firm-contact strong {
  display: block;
  font-size: 13px;
  margin-top: 5px;
}
.home-nav {
  background: var(--navy);
  color: #fff;
}
.home-nav .nav {
  min-height: 62px;
}
.home-nav .navlinks {
  position: static;
  background: transparent;
  display: flex;
}
.home-nav .navlinks a {
  padding: 21px 0;
  color: #fff;
}
.home-nav .navlinks a:hover,
.home-nav .navlinks a.active {
  color: var(--gold-2);
}
.home-nav .navlinks a.active:after {
  bottom: 12px;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a span {
  font-size: 11px;
  margin-left: 4px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: -18px;
  min-width: 220px;
  background: var(--navy-2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 8px;
  z-index: 80;
  border-top: 2px solid var(--gold);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block !important;
  padding: 11px 12px !important;
  border-radius: 6px;
  color: #dbe2eb !important;
}
.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-2) !important;
}
.mini-search {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  overflow: hidden;
}
.mini-search input {
  width: 130px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
  outline: 0;
}
.mini-search input::placeholder {
  color: #aeb9c6;
}
.mini-search button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 8px;
}
.home-topbar .lang-select {
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  border-radius: 5px;
  padding: 4px;
}
.home-slider {
  height: 650px;
  position: relative;
  overflow: hidden;
  background: #101d2f;
  color: #fff;
}
.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.home-slide.active {
  opacity: 1;
  visibility: visible;
}
.slide-content {
  position: relative;
  z-index: 4;
  padding-top: 115px;
}
.slide-content h1 {
  font:
    700 clamp(42px, 5vw, 68px)/1.03 Georgia,
    serif;
  max-width: 720px;
  text-align: left;
  margin: 16px 0 20px;
}
.slide-content p {
  max-width: 620px;
  color: #d6dee8;
  font-size: 17px;
}
.slide-left {
  padding-top: 125px;
}
.slide-center {
  margin: auto;
  text-align: center;
}
.slide-center h1,
.slide-center p {
  margin-left: auto;
  margin-right: auto;
}
.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: #fff;
  color: #101d2f;
}
.slide-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slide-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 29, 0.96) 0%, rgba(8, 17, 29, 0.78) 42%, rgba(8, 17, 29, 0.25) 100%);
}
.slide-art-1 {
  background:
    radial-gradient(circle at 76% 42%, #48627e 0 3%, transparent 3.5%), linear-gradient(135deg, #1c3047, #07111e);
}
.slide-art-2 {
  background:
    radial-gradient(circle at 72% 45%, #b99a6b 0 7%, #53677c 7.2% 19%, transparent 19.5%),
    linear-gradient(135deg, #111f30, #435b70);
}
.slide-art-3 {
  background: linear-gradient(135deg, #1a2c43, #0a121d);
}
.art-lines {
  position: absolute;
  right: 9%;
  top: 11%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(224, 191, 134, 0.3);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(224, 191, 134, 0.03),
    0 0 0 130px rgba(224, 191, 134, 0.02);
}
.art-balance {
  position: absolute;
  right: 19%;
  top: 28%;
  font-size: 170px;
  color: rgba(224, 191, 134, 0.6);
  font-family: Georgia, serif;
}
.portrait-card {
  position: absolute;
  right: 13%;
  top: 17%;
  width: 330px;
  height: 420px;
  background: linear-gradient(145deg, #c5aa84, #30485f);
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}
.portrait-card span {
  font-size: 11px;
  letter-spacing: 4px;
  color: #f1d5a5;
}
.portrait-card strong {
  font:
    700 42px/1.05 Georgia,
    serif;
  color: #fff;
}
.court-columns {
  position: absolute;
  right: 9%;
  bottom: -30px;
  display: flex;
  gap: 26px;
  align-items: end;
}
.court-columns i {
  display: block;
  width: 90px;
  height: 500px;
  border-radius: 50px 50px 0 0;
  background: linear-gradient(90deg, #273d54, #b18f60, #30475e);
  box-shadow: inset 10px 0 20px rgba(0, 0, 0, 0.25);
}
.slider-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  text-align: center;
  margin: auto auto;
  padding: auto auto;
}
.slider-arrow.prev {
  left: 25px;
}
.slider-arrow.next {
  right: 25px;
}
.slider-dots {
  position: absolute;
  z-index: 6;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
}
.slider-dots button.active {
  background: var(--gold);
  border-color: var(--gold);
}
.centered-head {
  align-items: center;
  text-align: center;
  display: block;
}
.centered-head > div {
  max-width: 760px;
  margin: auto;
}
.centered-head p {
  margin: 12px auto 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.service-box {
  position: relative;
  padding: 34px 27px 30px;
  border-right: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  transition: 0.25s;
}
.service-box:last-child {
  border-right: 0;
}
.service-box:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: 0.25s;
}
.service-box:hover {
  background: var(--cream);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-box:hover:before {
  height: 100%;
}
.service-icon {
  display: block;
  font-size: 35px;
  color: var(--gold);
  font-family: Georgia, serif;
}
.service-number {
  position: absolute;
  right: 20px;
  top: 18px;
  font:
    700 12px Georgia,
    serif;
  color: #b8bec6;
}
.service-box h3 {
  font:
    700 25px Georgia,
    serif;
  margin: 18px 0 5px;
}
.service-box h4 {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 13px;
}
.service-box p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.service-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-copy h2,
.history-layout h2,
.testimonial-panel h2,
.why-panel h2,
.consult-copy h2,
.trust-heading h2 {
  font:
    700 clamp(34px, 4vw, 50px)/1.1 Georgia,
    serif;
  margin: 12px 0 20px;
}
.about-copy > p {
  color: var(--muted);
  max-width: 650px;
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.about-feature-grid > div {
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}
.about-feature-grid strong {
  font:
    700 13px Georgia,
    serif;
  color: var(--gold);
}
.about-feature-grid h3 {
  font:
    700 17px Georgia,
    serif;
  margin: 8px 0 4px;
}
.about-feature-grid p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.about-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.text-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.about-visual {
  position: relative;
  min-height: 480px;
  background: linear-gradient(135deg, #d8d0c2, #8290a0);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-visual:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}
.building-card {
  position: relative;
  width: 330px;
  height: 350px;
  background: linear-gradient(90deg, #25394e, #6b7d8d);
  padding-top: 70px;
  box-shadow: 0 25px 55px rgba(16, 29, 47, 0.25);
}
.building-roof {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 35px;
  height: 38px;
  background: #182a42;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.building-columns {
  display: flex;
  justify-content: space-evenly;
  height: 260px;
  padding: 20px 25px;
}
.building-columns i {
  width: 31px;
  background: linear-gradient(90deg, #d8c49d, #f2e3c3, #a98c5c);
  border-radius: 15px 15px 3px 3px;
}
.building-step {
  position: absolute;
  bottom: 0;
  left: -25px;
  right: -25px;
  height: 40px;
  background: #192b40;
}
.visual-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #fff;
  color: #101d2f;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.visual-caption strong {
  display: block;
  font:
    700 20px Georgia,
    serif;
}
.visual-caption span {
  font-size: 11px;
  color: #657080;
}
.history-layout {
  align-items: start;
}
.timeline {
  margin-top: 30px;
  border-left: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 18px;
  position: relative;
  padding: 0 0 25px 25px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-item > strong {
  font:
    700 22px Georgia,
    serif;
  color: var(--gold);
}
.timeline-item h3 {
  margin: 0 0 3px;
  font:
    700 18px Georgia,
    serif;
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.case-dashboard {
  background: var(--navy);
  color: #fff;
  padding: 35px;
  box-shadow: var(--shadow);
}
.case-card-main > span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bfcbd7;
}
.case-card-main > strong {
  display: block;
  font:
    700 78px Georgia,
    serif;
  color: var(--gold-2);
  margin: 12px 0 0;
}
.case-card-main small {
  color: #c5d0dc;
}
.progress {
  height: 6px;
  background: #31455d;
  margin-top: 20px;
}
.progress i {
  display: block;
  width: 92%;
  height: 100%;
  background: var(--gold);
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
  border-top: 1px solid #31455d;
}
.mini-stats div {
  padding: 20px 0;
  border-right: 1px solid #31455d;
  border-bottom: 1px solid #31455d;
}
.mini-stats div:nth-child(even) {
  padding-left: 20px;
  border-right: 0;
}
.mini-stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.mini-stats strong {
  display: block;
  font:
    700 30px Georgia,
    serif;
}
.mini-stats span {
  font-size: 11px;
  color: #aeb9c6;
}
.dark-section {
  background: #101d2f;
  color: #fff;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
}
.testimonial-panel {
  position: relative;
}
.testimonial-panel h2 {
  max-width: 500px;
}
.quote-mark {
  font:
    700 110px/1 Georgia,
    serif;
  color: var(--gold);
  height: 75px;
}
.testimonial-slide {
  display: none;
  max-width: 650px;
}
.testimonial-slide.active {
  display: block;
}
.testimonial-slide p {
  font:
    italic 23px/1.5 Georgia,
    serif;
  color: #dce4ed;
  margin: 0 0 22px;
}
.testimonial-slide strong {
  display: block;
  font-size: 14px;
}
.testimonial-slide span {
  font-size: 11px;
  color: #9eacba;
}
.testimonial-controls {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid #46586e;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.why-panel {
  border-left: 1px solid #34485f;
  padding-left: 45px;
}
.why-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #2e4258;
}
.why-item > span {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: 0 0 auto;
}
.why-item h3 {
  margin: 0 0 5px;
  font:
    700 19px Georgia,
    serif;
}
.why-item p {
  margin: 0;
  color: #aeb9c6;
  font-size: 12px;
}
.team-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-home-card {
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.lawyer-portrait {
  height: 285px;
  display: grid;
  place-items: center;
  position: relative;
}
.lawyer-portrait span {
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font:
    700 38px Georgia,
    serif;
  background: rgba(16, 29, 47, 0.25);
}
.portrait-1 {
  background: linear-gradient(145deg, #c0aa8a, #3d566d);
}
.portrait-2 {
  background: linear-gradient(145deg, #7c8f9e, #273e56);
}
.portrait-3 {
  background: linear-gradient(145deg, #b6a17f, #53687a);
}
.portrait-4 {
  background: linear-gradient(145deg, #657a8b, #202f42);
}
.team-home-card > div:last-child {
  padding: 19px;
}
.team-home-card h3 {
  font:
    700 20px Georgia,
    serif;
  margin: 0 0 4px;
}
.team-home-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 12px;
}
.team-home-card span:last-child {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
}
.consult-home {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #14253a, #263f5c);
  color: #fff;
  padding: 85px 0;
}
.consult-pattern {
  position: absolute;
  right: -100px;
  top: -150px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(224, 191, 134, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(224, 191, 134, 0.025),
    0 0 0 180px rgba(224, 191, 134, 0.018);
}
.consult-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.consult-copy p {
  max-width: 500px;
  color: #cbd6e1;
}
.consult-contact {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-top: 30px;
}
.consult-contact span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #aeb9c6;
}
.consult-contact strong {
  font:
    700 25px Georgia,
    serif;
  color: #fff;
}
.consult-form {
  background: #fff;
  color: #18202b;
  padding: 30px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}
.consult-form .input,
.consult-form .select,
.consult-form .textarea {
  background: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.news-art {
  height: 205px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  background-size: cover;
}
.news-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(10, 18, 28, 0.7));
}
.news-art span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 800;
}
.news-art-1 {
  background: linear-gradient(135deg, #172b43, #8292a1);
}
.news-art-2 {
  background: linear-gradient(135deg, #9d8361, #334b62);
}
.news-art-3 {
  background: linear-gradient(135deg, #273e54, #b39870);
}
.news-body {
  padding: 22px;
  position: relative;
}
.news-date {
  position: absolute;
  right: 20px;
  top: 18px;
  color: var(--gold);
  font:
    700 21px Georgia,
    serif;
  text-align: center;
}
.news-date small {
  display: block;
  font:
    700 9px Inter,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-body h3 {
  font:
    700 21px/1.25 Georgia,
    serif;
  margin: 13px 70px 8px 0;
}
.news-body h3 a:hover {
  color: var(--gold);
}
.news-body p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.trust-heading {
  text-align: center;
  max-width: 750px;
  margin: auto;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
  border: 1px solid var(--line);
}
.trust-logos div {
  text-align: center;
  padding: 25px 10px;
  border-right: 1px solid var(--line);
  font:
    700 20px Georgia,
    serif;
  letter-spacing: 1px;
}
.trust-logos div:last-child {
  border-right: 0;
}
.trust-logos span {
  display: block;
  font:
    800 8px Inter,
    sans-serif;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 3px;
}
.contact-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr auto;
  gap: 30px;
  align-items: center;
}
.contact-strip h2 {
  font:
    700 34px Georgia,
    serif;
  margin: 5px 0 0;
}
.contact-detail span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.contact-detail strong {
  display: block;
  font-size: 14px;
  margin-top: 5px;
}
.home-page .footer {
  padding-top: 65px;
}
@media (max-width: 1100px) {
  .firm-contact {
    gap: 15px;
  }
  .firm-contact strong {
    font-size: 11px;
  }
  .home-nav .navlinks {
    gap: 13px;
  }
  .home-nav .navlinks a {
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-box:nth-child(2) {
    border-right: 0;
  }
  .service-box:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .team-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-strip-grid .btn {
    justify-self: start;
  }
  .testimonial-grid,
  .consult-grid {
    gap: 40px;
  }
}
@media (max-width: 950px) {
  .home-middle {
    min-height: 82px;
  }
  .firm-contact {
    display: none;
  }
  .home-nav .nav {
    min-height: 60px;
  }
  .home-nav .navlinks {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    padding: 10px 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-2);
    z-index: 90;
  }
  .home-nav .navlinks.open {
    display: flex;
  }
  .home-nav .navlinks a {
    padding: 11px;
  }
  .home-nav .navlinks a.active:after {
    display: none;
  }
  .home-nav .nav-dropdown > a {
    display: block;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: 0;
    background: rgba(0, 0, 0, 0.14);
    padding: 0 8px;
  }
  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
  .home-nav .menu-btn {
    display: block;
    background: transparent;
    color: #fff;
    border-color: #40536a;
  }
  .home-nav .nav-actions .btn {
    display: none;
  }
  .home-slider {
    height: 650px;
  }
  .slide-content {
    padding-top: 90px;
  }
  .slide-content h1 {
    max-width: 600px;
  }
  .art-balance {
    right: 8%;
    font-size: 130px;
  }
  .portrait-card {
    right: 5%;
    width: 270px;
    height: 360px;
  }
  .court-columns {
    right: 2%;
    transform: scale(0.75);
    transform-origin: bottom right;
  }
  .home-two-col,
  .testimonial-grid,
  .consult-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    min-height: 400px;
  }
  .why-panel {
    border-left: 0;
    border-top: 1px solid #34485f;
    padding-left: 0;
    padding-top: 35px;
  }
  .trust-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-logos div:nth-child(3) {
    border-right: 0;
  }
  .trust-logos div {
    border-bottom: 1px solid var(--line);
  }
  .contact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .home-topbar {
    display: none;
  }
  .home-middle {
    min-height: 72px;
  }
  .home-header .nav {
    min-height: 56px;
  }
  .home-nav .navlinks {
    top: 56px;
  }
  .home-slider {
    height: 680px;
  }
  .slide-content {
    padding-top: 72px;
  }
  .slide-content h1 {
    font-size: 42px;
  }
  .slide-content p {
    font-size: 15px;
  }
  .slide-art:after {
    background: linear-gradient(90deg, rgba(8, 17, 29, 0.95), rgba(8, 17, 29, 0.78));
  }
  .art-balance {
    right: -20px;
    top: 50%;
    font-size: 100px;
  }
  .portrait-card {
    right: -35px;
    opacity: 0.45;
  }
  .court-columns {
    opacity: 0.25;
    right: -70px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
  .slider-arrow.prev {
    left: 12px;
  }
  .slider-arrow.next {
    right: 12px;
  }
  .service-grid,
  .about-feature-grid,
  .team-home-grid,
  .news-grid,
  .trust-logos {
    grid-template-columns: 1fr;
  }
  .service-box {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .service-box:last-child {
    border-bottom: 0;
  }
  .about-visual {
    min-height: 330px;
  }
  .building-card {
    transform: scale(0.75);
  }
  .timeline-item {
    grid-template-columns: 55px 1fr;
  }
  .case-dashboard {
    padding: 25px;
  }
  .testimonial-slide p {
    font-size: 19px;
  }
  .consult-home {
    padding: 60px 0;
  }
  .consult-form {
    padding: 20px;
  }
  .contact-strip-grid {
    grid-template-columns: 1fr;
  }
  .contact-strip-grid .btn {
    justify-self: stretch;
  }
  .trust-logos div {
    border-right: 0;
  }
  .trust-logos div:last-child {
    border-bottom: 0;
  }
}

/* Image placeholder system: all image areas intentionally use a replaceable local placeholder asset. */
.image-placeholder,
.about-visual,
.news-art,
.lawyer-portrait {
  background-image: url("../images/image-placeholder.svg") !important;
  background-size: cover;
  background-position: center;
}
.slide-art {
  background-image: url("../images/image-placeholder.svg") !important;
  background-size: cover;
  background-position: center;
}
.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 29, 47, 0.08);
  pointer-events: none;
}

.slider-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.18);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;
  line-height: 1;
  font-weight: 300;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.35);
}

.slider-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* Previous arrow */
.slider-prev {
  left: 20px;
}

/* Next arrow */
.slider-next {
  right: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }
}

.footer .footer-grid .brand-mark {
  margin-bottom: 10px;
}

/* =========================================
   TABLET + MOBILE NAVIGATION
   ========================================= */

@media (max-width: 1100px) {
  /* Keep the logo/header area clean */
  .home-middle {
    min-height: 82px;
    padding: 14px 0;
    position: relative;
    z-index: 100;
  }

  .home-middle .brand {
    position: relative;
    z-index: 102;
    flex-shrink: 0;
    max-width: calc(100% - 20px);
  }

  .home-middle .brand > span:last-child {
    white-space: nowrap;
  }

  /* Hide desktop contact information */
  .firm-contact {
    display: none;
  }

  /* Navigation bar */
  .home-nav {
    position: relative;
    z-index: 99;
  }

  .home-nav .nav {
    min-height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  /* Mobile menu button */
  .home-nav .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    font-size: 22px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .home-nav .menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  /* Hide consultation button on tablet/mobile */
  .home-nav .nav-actions .btn {
    display: none;
  }

  /* Keep theme button */
  .home-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  /* Main mobile menu */
  .home-nav .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    padding: 8px 0;

    background: var(--navy-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);

    z-index: 999;
  }

  /* Open menu */
  .home-nav .navlinks.open {
    display: flex;
  }

  /* Normal menu items */
  .home-nav .navlinks > a,
  .home-nav .nav-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 48px;

    padding: 13px 20px;

    color: #fff;
    font-size: 14px;
    font-weight: 600;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .home-nav .navlinks > a:hover,
  .home-nav .nav-dropdown > a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-2);
  }

  /* Remove desktop underline */
  .home-nav .navlinks a.active:after {
    display: none;
  }

  /* Dropdown wrapper */
  .home-nav .nav-dropdown {
    width: 100%;
    position: relative;
  }

  /* Parent dropdown arrow */
  .home-nav .nav-dropdown > a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;

    font-size: 17px;
    line-height: 1;

    transition:
      transform 0.2s ease,
      background 0.2s ease;
  }

  /* Rotate arrow when open */
  .home-nav .nav-dropdown.open > a span {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.08);
  }

  /* Dropdown menu */
  .home-nav .dropdown-menu {
    position: static;

    display: none;

    width: 100%;

    padding: 0;

    margin: 0;

    background: rgba(0, 0, 0, 0.18);

    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* Open submenu */
  .home-nav .nav-dropdown.open > .dropdown-menu {
    display: block;
  }

  /* Dropdown links */
  .home-nav .dropdown-menu a {
    display: flex;
    align-items: center;

    min-height: 42px;

    padding: 10px 20px 10px 40px;

    color: #cbd5df;

    font-size: 13px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .home-nav .dropdown-menu a:hover {
    color: var(--gold-2);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 45px;
  }

  /* Don't show dropdowns just because the mouse is over them */
  .home-nav .nav-dropdown:hover > .dropdown-menu {
    display: none;
  }

  .home-nav .nav-dropdown.open:hover > .dropdown-menu {
    display: block;
  }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 620px) {
  .home-middle {
    min-height: 70px;
    padding: 10px 0;
  }

  .home-middle .brand {
    gap: 8px;
    font-size: 21px;
    max-width: calc(100% - 10px);
  }

  .home-middle .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .home-middle .brand small {
    font-size: 7px;
    letter-spacing: 1.7px;
  }

  .home-nav .nav {
    min-height: 56px;
  }

  .home-nav .menu-btn {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }

  .home-nav .navlinks {
    top: 100%;
  }

  .home-nav .navlinks > a,
  .home-nav .nav-dropdown > a {
    min-height: 46px;
    padding: 12px 16px;
  }

  .home-nav .dropdown-menu a {
    padding-left: 32px;
  }

  .home-nav .dropdown-menu a:hover {
    padding-left: 37px;
  }
}

/* =========================================================
   BLOG / POST CARDS
   ========================================================= */

.card.post {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--surface, #ffffff);
  border: 1px solid rgba(16, 29, 47, 0.1);
  border-radius: 14px;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(16, 29, 47, 0.12);
}

/* Blog image / placeholder area */
.card.post .post-cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  min-height: 220px;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;

  background: linear-gradient(135deg, rgba(16, 29, 47, 0.92), rgba(31, 55, 82, 0.78));

  background-size: cover;
  background-position: center;
}

/* If an actual image is placed inside post-cover */
.card.post .post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Category label */
.card.post .post-cover span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0 0 16px 16px;
  padding: 7px 12px;

  color: #ffffff;
  background: rgba(16, 29, 47, 0.82);

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Blog content */
.card.post .post-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 24px;
  box-sizing: border-box;
}

/* Date / metadata */
.card.post .post-meta {
  margin-bottom: 10px;

  color: var(--muted, #6b7280);

  font-size: 13px;
  line-height: 1.6;
}

/* Blog title */
.card.post .post-body h3 {
  margin: 0 0 12px;

  color: var(--text, #101d2f);

  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

/* Blog excerpt */
.card.post .post-body p {
  margin: 0 0 18px;

  color: var(--muted, #6b7280);

  font-size: 15px;
  line-height: 1.75;
}

/* Read / Continue link */
.card.post .post-body > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  width: fit-content;
  margin-top: auto;

  color: var(--primary, #b58b45);

  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.card.post .post-body > a:hover {
  color: #101d2f;
  gap: 8px;
}

/* =========================================================
   BLOG GRID
   ========================================================= */

.grid.grid-3 .card.post {
  min-height: 100%;
}

/* =========================================================
   BLOG LIST
   ========================================================= */

.blog-list .card.post {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  height: auto;
}

.blog-list .card.post .post-cover {
  height: 100%;
  min-height: 230px;
}

.blog-list .card.post .post-body {
  min-height: 230px;
}

/* =========================================================
   BLOG CLASSIC
   ========================================================= */

.grid.grid-2 .card.post {
  min-height: 100%;
}

/* =========================================================
   BLOG SINGLE
   ========================================================= */

.card > .post-cover {
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  box-sizing: border-box;
}

.card > .post-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .card.post {
  background: #142235;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .card.post .post-body h3 {
  color: #ffffff;
}

[data-theme="dark"] .card.post .post-body p,
[data-theme="dark"] .card.post .post-meta {
  color: #aeb8c6;
}

[data-theme="dark"] .card.post .post-body > a:hover {
  color: #ffffff;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .card.post .post-cover {
    min-height: 200px;
    height: 200px;
  }

  .card.post .post-body {
    padding: 20px;
  }

  .card.post .post-body h3 {
    font-size: 19px;
  }

  .blog-list .card.post {
    grid-template-columns: 1fr;
  }

  .blog-list .card.post .post-cover {
    height: 220px;
    min-height: 220px;
  }

  .blog-list .card.post .post-body {
    min-height: auto;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
  .card.post {
    border-radius: 10px;
  }

  .card.post .post-cover {
    height: 190px;
    min-height: 190px;
  }

  .card.post .post-cover span {
    margin: 0 12px 12px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .card.post .post-body {
    padding: 18px;
  }

  .card.post .post-body h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .card.post .post-body p {
    font-size: 14px;
    line-height: 1.65;
  }

  .blog-list .card.post .post-cover {
    height: 190px;
    min-height: 190px;
  }
}
