:root {
  --navy: #1d3561;
  --navy-2: #1d3461;
  --gold: #d3953b;
  --gold-2: #e6a241;
  --gold-light: #d3b574;
  --text-dark: #1e1e1e;
  --text-mid: #54595f;
  --text-light: #7a7a7a;
  --white: #ffffff;
  --font-heading: "Open Sans", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --font-alt: "Poppins", sans-serif;
  --font-roboto: "Roboto", sans-serif;
  --font-mont: "Montserrat", sans-serif;
  --container: 1140px;
  --container-wide: 1200px;
  --container-hero: 1300px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 15px; }
.container-hero { max-width: var(--container-hero); margin: 0 auto; padding: 0 15px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 5px 30px 0 rgba(0,0,0,.1);
}

.top-bar { background: var(--navy); }
.top-bar .container-wide {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12px;
  padding-bottom: 12px;
}

.top-bar-right { text-align: right; }

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}
.top-bar-phone svg { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }

.top-bar-tagline {
  color: #fff;
  font-family: var(--font-roboto);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  text-align: right;
  line-height: 1.4;
}

.header-main { background: #fff; padding: 15px 0; }
.header-main .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img { width: 100%; max-width: 300px; }

.nav { flex: 1; display: flex; justify-content: flex-end; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--navy);
  white-space: nowrap;
  transition: color .2s ease;
}

.nav a:hover,
.nav a.active { color: var(--gold-2); }

.nav .has-dropdown { position: relative; }
.nav .has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}
.nav .caret { margin-left: 4px; font-size: 12px; }

.nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 15px;
  min-width: 300px;
  background: #fff;
  box-shadow: 0 15px 20px 0 rgba(0,0,0,.1);
  padding: 10px 0;
  display: none;
  z-index: 20;
}
.nav .has-dropdown:hover .dropdown,
.nav .has-dropdown:focus-within .dropdown { display: block; }
.nav .dropdown a {
  display: block;
  padding: 15px 10px;
  font-family: var(--font-mont);
  font-weight: 400;
  font-size: 16px;
  color: #16163f;
  text-transform: none;
  white-space: normal;
}
.nav .dropdown a:hover { color: var(--gold-light); background: transparent; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  transition: .25s;
}

/* ===== Hero (home) ===== */
.hero {
  position: relative;
  background: url("../images/hero.jpg") center center / cover no-repeat;
  min-height: 64vh;
  display: flex;
  align-items: center;
}
.hero-inner { display: flex; align-items: center; width: 100%; }
.hero-content { flex: 1 1 50%; padding: 0 0 77px; }
.hero-heading {
  font-family: var(--font-body);
  font-size: 65px;
  font-weight: 700;
  line-height: 65px;
  color: #fff;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin-bottom: 32px;
  max-width: 620px;
}
.hero-spacer { flex: 1 1 50%; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  padding: 17px 30px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  line-height: 1.2;
  transition: background-color .3s ease;
}
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--gold); color: #fff; }

/* ===== Badge carousel (home) ===== */
.badges { padding: 40px 0 0; }
.badges .container { position: relative; }
.badges-track-wrap { overflow: hidden; }
.badges-track { display: flex; transition: transform .5s ease; }
.badge-slide {
  flex: 0 0 16.6667%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}
.badge-slide img { max-height: 90px; object-fit: contain; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border-radius: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.carousel-btn:hover { background: rgba(0,0,0,.65); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: #ccc; cursor: pointer; padding: 0;
}
.carousel-dots button.active { background: var(--navy); }

/* ===== Generic sections ===== */
.section { padding: 30px 0; }

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-2);
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
  text-align: center;
}
.section-title.left { text-align: left; }

.divider {
  width: 431px; max-width: 100%; height: 2px;
  background: var(--gold-2); margin: 0 auto 20px;
}
.divider.left { margin: 0 0 20px; }

.section-text {
  font-family: var(--font-body); font-weight: 400;
  color: var(--text-dark); font-size: 16px;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.section-text.left { text-align: left; margin: 0; }
.section-text p + p { margin-top: 16px; }
.section-text a { color: var(--navy); text-decoration: underline; }

.intro-wrap { max-width: 900px; margin: 0 auto; text-align: center; }

/* Proven track record */
.track-photo { max-width: 900px; margin: 30px auto 20px; }
.track-quote { max-width: 900px; margin: 0 auto; text-align: center; font-family: var(--font-body); color: var(--text-dark); font-size: 16px; }

/* Practice areas */
.practice-block { margin: 40px 0; }
.practice-block .section-title { margin-bottom: 14px; }
.practice-block .btn { margin-top: 20px; }

/* ===== Page banner (attorney profiles) ===== */
.page-banner img { width: 100%; height: auto; }

/* ===== Page title + body (inner pages) ===== */
.page-hero {
  background: #fff;
  padding: 40px 0 20px;
}
.page-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-2);
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.page-title.center { text-align: center; }

.article-body {
  max-width: 860px;
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}
.article-body h2 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-2);
  font-size: 26px;
  margin: 32px 0 12px;
}
.article-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy-2);
  font-size: 20px;
  margin: 24px 0 10px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { margin-bottom: 8px; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body img { margin: 24px 0; }
.article-body .lead { font-size: 17px; }

.faq-question { font-weight: 700; color: var(--navy-2); margin-top: 20px; }

/* YouTube embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 24px 0;
}
.video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}

/* ===== Attorneys listing ===== */
.attorney-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}
.attorney-card:last-child { border-bottom: none; }
.attorney-card img { width: 200px; flex-shrink: 0; }
.attorney-card h3 {
  font-family: var(--font-body); font-weight: 700;
  color: var(--navy-2); font-size: 26px; margin-bottom: 2px;
}
.attorney-card .role {
  font-family: var(--font-body); color: var(--gold-2);
  font-weight: 600; font-size: 18px; margin-bottom: 12px;
}
.attorney-card p { margin-bottom: 12px; }
.attorney-contact { font-family: var(--font-body); margin-bottom: 12px; }
.attorney-contact a { color: var(--navy); }
.attorney-contact a:hover { text-decoration: underline; }

/* ===== Two-column layout (contact, crypto sidebar) ===== */
.two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.two-col .col { flex: 1; }
.two-col .col-side { flex: 0 0 340px; }
.two-col .col-main { flex: 1; }

.sidebar-box { background: #f7f7f7; padding: 24px; }
.sidebar-box h2 {
  font-family: var(--font-body); font-weight: 700;
  color: var(--navy-2); font-size: 22px; margin-bottom: 16px;
}

/* ===== Blog ===== */
.blog-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.blog-sidebar { flex: 0 0 280px; }
.blog-main { flex: 1; }

.cat-list { max-height: 600px; overflow-y: auto; }
.cat-list h5 {
  font-family: var(--font-body); font-weight: 700;
  color: var(--navy-2); font-size: 20px; margin-bottom: 12px;
}
.cat-list li { padding: 6px 0; border-bottom: 1px solid #eee; }
.cat-list a { color: var(--navy); font-size: 15px; }
.cat-list a:hover { color: var(--gold-2); text-decoration: underline; }
.cat-list .count { color: var(--text-light); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 37px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .thumb { margin-bottom: 16px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: auto; transition: transform .3s ease; }
.blog-card:hover .thumb img { transform: scale(1.03); }
.blog-card h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 19px; line-height: 1.3; margin-bottom: 6px;
}
.blog-card h2 a { color: var(--navy-2); }
.blog-card h2 a:hover { color: var(--gold-2); }
.blog-card .date { color: var(--text-light); font-size: 14px; margin-bottom: 10px; }
.blog-card .excerpt { color: var(--text-dark); font-size: 15px; margin-bottom: 12px; }
.blog-card .read-more { color: var(--gold-2); font-weight: 600; font-size: 15px; }
.blog-card .read-more:hover { text-decoration: underline; }

/* ===== Contact form ===== */
.contact-section { padding: 40px 0 30px; }
.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-family: var(--font-body);
  font-weight: 400; color: var(--text-dark); margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%; padding: 12px 14px;
  font-family: var(--font-body); font-size: 16px;
  color: var(--text-dark); border: 1px solid #ccc;
  border-radius: 0; background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--navy); }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 8px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); padding: 30px 0; }
.site-footer .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 30px;
}
.footer-left {
  font-family: var(--font-body); font-weight: 400;
  line-height: 1.4; letter-spacing: .3px; color: #fff; font-size: 16px;
}
.footer-left p { margin: 0; }
.footer-right {
  text-align: right; font-family: var(--font-body); font-weight: 400;
  line-height: 1.4; letter-spacing: .3px; color: #fff; font-size: 16px;
}
.footer-right a { color: #fff; }
.footer-right a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero { min-height: 800px; }
  .badge-slide { flex-basis: 33.3333%; }
  .hero-content { padding: 0; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 15px 20px 0 rgba(0,0,0,.1);
    display: none; padding: 10px 20px 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav ul li { width: 100%; }
  .nav > ul > li > a { display: block; padding: 14px 0; }
  .nav .dropdown { position: static; box-shadow: none; margin: 0; padding: 0 0 0 15px; display: block; }
  .nav .dropdown a { padding: 12px 0; }
  .header-main .container-wide { position: relative; }
  .blog-layout, .two-col { flex-direction: column; }
  .blog-sidebar, .two-col .col-side { flex: none; width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero { min-height: 612px; }
  .hero-heading { font-size: 50px; line-height: 54px; }
  .badge-slide { flex-basis: 100%; }
  .top-bar .container-wide { justify-content: center; }
  .top-bar-phone { font-size: 22px; }
  .top-bar-tagline { font-size: 18px; text-align: center; }
  .section-title { font-size: 26px; }
  .page-title { font-size: 30px; }
  .logo img { max-width: 200px; }
  .attorney-card { flex-direction: column; }
  .attorney-card img { width: 100%; max-width: 240px; }
  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-left, .footer-right { text-align: center; line-height: 19px; }
}