* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #425b78;
  line-height: 1.45;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
html { scroll-behavior: smooth; }
#contact { scroll-margin-top: 100px; }
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap; 
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/webfonts/fa-solid-900.woff2') format('woff2');
}
:root {
  --navy: #082f50;
  --navy-dark: #062641;
  --gold: #e4ab42;
  --gold-light: #f2c45e;
  --cream: #fffaf1;
  --text: #425b78;
  --line: #e9edf2;
  --shadow: 0 10px 28px rgba(18,51,83,.10);
}

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.13);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
}
.brand-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.brand-mark { width: 51px; height: 51px; color: var(--gold-light); }
.brand-divider { width: 1px; height: 42px; background: rgba(242,196,94,.75); }
.brand-name { font-family: Georgia, serif; font-size: 27px; color: var(--gold-light); letter-spacing: .5px; }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 26px; cursor: pointer; } 
.nav-menu { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  font-size: 16px; 

}
.nav-menu a { color: #fff; padding: 27px 0 22px; border-bottom: 3px solid transparent; transition: .2s; }
.nav-menu a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 5px;
  border-radius: 4px;
  font-weight: 700;
  background: linear-gradient(90deg, #f0bb55, #f7d17c);
  color: #092f4c;
  border: 1px solid var(--gold-light);
  white-space: nowrap;
  transition: .2s;
}
.phone-btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.free-eval-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #efb54b, #f4ca72);
  color: #092f4c;
  border: 1px solid #f2c45e;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
}

.free-eval-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: relative; z-index: 1; width: 100%; padding: 0; display: flex; align-items: stretch; }
.hero-inner {
  display: flex;
  justify-content: flex-start;
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
.hero-left {
  width: 50%;
  max-width: 50%;
  background: rgba(6, 38, 65, 0.85);
  padding: 70px 60px 70px 150px;
  color: #fff;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold-light);
}
.hero-left h1 { font-family: Georgia, serif; font-size: 45px; line-height: 1.0; margin-bottom: 12px; color: #fff; }
.hero-left h2 { font-family: Georgia, serif; font-size: 20px; font-weight: 400; margin-bottom: 18px; color: var(--gold-light); }
.hero-copy { font-size: 15px; color: #e8eef5; margin-bottom: 25px; line-height: 1.6; }
.hero-benefits { display: flex; gap: 40px; margin-bottom: 28px; }
.benefit { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 13px; color: #fff; }
.benefit i { font-size: 32px; color: var(--gold-light); margin-bottom: 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
  transition: .2s;
  cursor: pointer;
  border: 1px solid var(--gold-light);
  -webkit-appearance: none;
  appearance: none;
}
.btn-gold { background: linear-gradient(90deg, #efb54b, #f4ca72); color: #092f4c; }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline { background: rgba(5, 39, 66, 0.6); color: #fff; }
.btn-outline:hover { background: rgba(5, 39, 66, 0.9); }

.hero-quote {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  max-width: 320px;
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  background: rgba(6, 38, 65, 0.75);
  padding: 20px 25px;
  border-radius: 4px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-left: 3px solid var(--gold-light);
}
.hero-quote strong {
  display: block;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.section { padding: 80px 0 70px; margin-top: 0; }
.section-kicker {
  display: block;
  text-align: center;
  color: #365987;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  margin: 10px 0 12px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 28px;
  color: #153b72;
  line-height: 1.25;
  width: 100%;
}
.section-sub {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  color: #557192;
  font-size: 14px;
  line-height: 1.6;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}
.section-label .label-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #365987;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.service-card {
  min-height: 170px;
  padding: 22px 14px 16px;
  border: 1px solid #eef1f4;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transition: .2s;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-3px); }
.service-card i { font-size: 38px; color: #ee9e1f; margin-bottom: 10px; }
.service-card h3 { color: #143d74; font-size: 14px; margin-bottom: 5px; }
.service-card p { font-size: 12px; line-height: 1.3; margin-bottom: 12px; color: #537092; }
.service-card .learn-more { font-size: 12px; font-weight: 700; color: #8f4b1a; }
.why-choose {
  background: var(--navy-dark);
  color: #fff;
  padding: 60px 0;
}

.why-choose-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
  justify-content: center;
}

.why-icon {
  font-size: 4rem;
  color: var(--gold-light);
}

.why-title {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--gold-light);
  margin: 0;
}

.why-title span {
  color: #fff;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.attorney-section { padding: 30px 0 50px; }
.attorney-grid { display: grid; grid-template-columns: 1.03fr .9fr; gap: 42px; align-items: center; }
.attorney-photo-wrap { position: relative; }
.attorney-photo {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(18, 51, 83, 0.18);
  transition: 0.3s;
}
.attorney-tag {
  position: absolute;
  left: 22px;
  top: 22px;
  background: #0a3b63;
  color: #fff;
  padding: 19px 21px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.35;
  box-shadow: 0 5px 18px rgba(0,0,0,.15);
}
.attorney-content { padding-left: 25px; }
.attorney-content .mini {
  color: #98673b;
  font-weight: 800;
  letter-spacing: 2.5px;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.attorney-content h2 { margin: 10px 0 20px; color: #163c76; font-family: Georgia, serif; font-size: 46px; line-height: 1.15; }
.attorney-content p { margin-bottom: 22px; font-size: 20px; line-height: 1.75; color: #425b78; }
.checklist { list-style: none; margin: 20px 0 25px; }
.checklist li { position: relative; padding-left: 32px; margin: 10px 0; color: #476787; font-size: 20px; line-height: 1.5; }
.checklist li::before { content: "⚖"; color: #e69d22; position: absolute; left: 0; font-size: 20px; line-height: 1; }

.about-block { margin-bottom: 25px; }
.about-block h3 { font-family: Georgia, serif; font-size: 18px; color: #153b72; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.about-block h3 i { color: var(--gold); font-size: 16px; }
.about-block p { font-size: 16px; line-height: 1.7; color: #425b78; margin-bottom: 10px; }
.about-block strong { color: #153b72; }
.about-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.about-list li { position: relative; padding-left: 22px; font-size: 15px; color: #476787; line-height: 1.5; }
.about-list li::before { content: "✔"; color: var(--gold); position: absolute; left: 0; font-size: 14px; font-weight: bold; }

.attorney-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 25px; }
.attorney-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.attorney-actions .btn-gold { background: linear-gradient(90deg, #efb54b, #f4ca72); color: #092f4c; border-color: #f2c45e; }
.attorney-actions .btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); }
.attorney-actions .btn-outline-dark { background: transparent; color: #0a3b63; border: 2px solid #0a3b63; }
.attorney-actions .btn-outline-dark:hover { background: #0a3b63; color: #fff; }

.testimonials { background: white; padding: 60px 0; }
.testimonials-slider { position: relative; max-width: 900px; margin: 40px auto 0; overflow: hidden; padding: 0 60px; }
.testimonials-track { display: flex; transition: transform 0.6s ease; gap: 30px; padding: 10px 0; }
.testimonial-card {
  flex: 0 0 100%;
  background: #fff;
  padding: 40px 35px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
  min-height: 220px;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: #e9edf2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 20px; }
.testimonial-card p { font-size: 1.05rem; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-card .author { font-weight: 600; color: var(--navy); font-size: 0.95rem; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  z-index: 10;
  font-size: 1rem;
}
.slider-arrow:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 5px; }
.slider-next { right: 5px; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d8e0;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}
.slider-dot.active { background: var(--gold); transform: scale(1.2); }

.lower-grid { display: flex; flex-direction: column; gap: 50px; padding: 20px 0 50px; }
.contact-card {
  background: linear-gradient(180deg, #f7fafc, #eef4f8);
  border: 1px solid #e4ebf1;
  padding: 20px 25px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  width: 70%;
}
.contact-card h3 { margin: 0; color: #153b72; font-family: Georgia, serif; font-size: 22px; }
.contact-card p { margin: 4px 0 12px; font-size: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.field {
  width: 100%;
  border: 1px solid #d9e2ea;
  background: #fff;
  padding: 10px 12px;
  margin: 5px 0;
  color: #294a6d;
  outline: none;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field:focus { border-color: #e0aa46; box-shadow: 0 0 0 2px rgba(224,170,70,.12); }
textarea.field { min-height: 70px; resize: vertical; }
.submit {
  width: 100%;
  border: 0;
  min-height: 42px;
  background: linear-gradient(90deg, #efb64d, #f1c96e);
  color: #0b3555;
  font-weight: 800;
  cursor: pointer;
  margin-top: 5px;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}
.submit:hover { filter: brightness(1.05); }
.privacy { font-size: 11px; margin-top: 8px; color: #4d6e8d; text-align: center; }

.cta-strip {
  background: linear-gradient(90deg, rgba(5, 48, 79, 0.75), rgba(7, 58, 94, 0.75)),
              url("images/cali.webp") center/cover no-repeat;
  color: #fff;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px 0; text-align: center; }
.cta-inner span { font-family: Georgia, serif; font-size: 28px; font-style: italic; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); margin-bottom: 5px; }
.cta-inner .phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(90deg, #f0bb55, #f7d17c);
  color: #092f4c;
  border: 1px solid #f2c45e;
  white-space: nowrap;
  transition: 0.2s;
}
.cta-inner .phone-btn:hover { filter: brightness(1.05); transform: translateY(-2px); }


.footer {
  padding: 40px 0 20px;
  color: #456585;
  font-size: 13px;
  background: #fff;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-brand-block {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-logo {
  height: 55px;
  width: auto;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #173e72;
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-brand .big-letter {
  font-size: 1.2em;
  font-weight: 700;
}

.footer-sub {
  font-size: 10px;
  color: #456585;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.footer-sub-encino {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: #456585;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-line {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: #b8945a;
}

.footer-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #274c77;
  font-size: 17px;
  transition: 0.2s;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.footer-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-divider {
  width: 1px;
  height: 100px;
  background: #e0e6ed;
  opacity: 0.6;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 230px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-icon-circle i {
  color: var(--gold);
  font-size: 14px;
}

.footer-contact-item span {
  color: #274c77;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-phone {
  background: #0a3b63;
  padding: 4px 4px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}
.footer-contact-phone:hover {
  background: #1a2a5e;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 167, 67, 0.4);
}

.footer-contact-phone:hover .footer-icon-circle {
  background: #e4ab42;
  transform: scale(1.1);
  transition: 0.3s ease;
}

.footer-contact-phone .footer-icon-circle {
  transition: 0.3s ease;
}
.footer-contact-phone .footer-icon-circle {
  background: #d4a743;
  border: 2px solid #d4a743;
}
.footer-contact-phone .footer-icon-circle i {
  color: #fff;
  font-size: 15px;
}

.footer-contact-phone a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  text-align: center;
  transition: 0.2s;
}

.footer-contact-phone:hover {
  background: #1a2a5e;
}
.footer-contact-address .footer-icon-circle {
  background: #f5e6c8;
  border: 2px solid #e8c87a;
}
.footer-contact-address .footer-icon-circle i {
  color: #d4a743;
  font-size: 15px;
}

.modal { display: none; position: fixed; inset: 0; z-index: 9999; justify-content: center; align-items: center; padding: 20px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(6, 38, 65, 0.85); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.modal-close:hover { background: var(--gold); transform: scale(1.1); }
.modal-image { width: 100%; height: 280px; overflow: hidden; border-radius: 12px 12px 0 0; background: #f5f0e9; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 35px 40px 40px; }
.modal-body h2 { color: #153b72; font-family: Georgia, serif; font-size: 2rem; margin-bottom: 15px; }
.modal-body p { color: #557192; font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; }
.modal-buttons { display: flex; gap: 15px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid #eef0f2; }
.modal-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.modal-buttons .btn-gold { background: linear-gradient(90deg, #efb54b, #f4ca72); color: #092f4c; border-color: #f2c45e; }
.modal-buttons .btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); }
.modal-buttons .btn-outline-dark { background: transparent; color: #0a3b63; border: 2px solid #0a3b63; }
.modal-buttons .btn-outline-dark:hover { background: #0a3b63; color: #fff; }
.page-hero {
  background: linear-gradient(90deg, rgba(6, 38, 65, 0.95), rgba(8, 47, 80, 0.9)),
              url("images/hero-law-office.webp") center/cover no-repeat;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: Georgia, serif;
  font-size: 46px;
  margin-bottom: 12px;
  color: #fff;
}

.page-hero p {
  font-size: 18px;
  color: var(--gold-light);
  font-style: italic;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.service-detail-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: 0.3s;
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-detail-card i {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 15px;
  display: block;
}

.service-detail-card h3 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #153b72;
  margin-bottom: 12px;
}

.service-detail-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #425b78;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

.resource-block {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eef0f2;
}

.resource-block:last-child {
  border-bottom: none;
}

.resource-block h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #153b72;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.resource-block h2 i {
  color: var(--gold);
  font-size: 24px;
}

.resource-block h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #153b72;
  margin: 20px 0 12px;
}

.resource-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #425b78;
  margin-bottom: 15px;
}

.resource-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
  margin-top: 15px;
}

.resource-list li {
  position: relative;
  padding-left: 25px;
  font-size: 15px;
  color: #476787;
  line-height: 1.6;
}

.resource-list li::before {
  content: "✔";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.resource-list li a {
  color: #0a3b63;
  font-weight: 600;
  transition: 0.2s;
}

.resource-list li a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-page-grid .contact-card {
  width: 100%;
  margin: 0;
}

.contact-info-block h3 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #153b72;
  margin-bottom: 20px;
}

.contact-info-block h4 {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #153b72;
  margin-bottom: 10px;
}

.contact-info-block p {
  color: #425b78;
  font-size: 15px;
  line-height: 1.7;
}

.contact-info-block .footer-contact-item {
  margin-bottom: 15px;
}

.contact-info-block .footer-contact-item i {
  color: var(--gold);
  font-size: 18px;
  width: 22px;
}

.contact-info-block .footer-contact-item a {
  color: #0a3b63;
  font-size: 16px;
  font-weight: 600;
}

.contact-info-block .footer-contact-item a:hover {
  color: var(--gold);
}

.disclaimer-text {
  font-size: 12px;
  color: #6a7f96;
  line-height: 1.6;
  background: #f7fafc;
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.brand-logo {
  height: 55px;
  width: auto;
  display: block;
}
.footer-disclaimer {
  font-size: 10px;
  color: #8a9ba8;
  line-height: 1.5;
  text-align: left;
  max-width: 100%;
  margin: 20px 0 0;
  padding: 0;
  
}
.contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-disclaimer {
  font-size: 12px;
  color: #8a9ba8;
  line-height: 1.5;
  margin-top: 15px;
  padding: 0 5px;
  text-align: left;
  max-width: 100%;
}
@media (max-width: 1280px) {
  .hero-left { padding: 70px 60px 70px 20px; }
  
  
}
@media (max-width: 1024px) {
  .brand-name{
    font-size: 20px;
  }
  .footer-divider{
    display: none;
  }
  .attorney-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-contacts{
    display: flex;
    flex-direction: row;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 50px;
  
  }
  .footer-contact-address{
    max-width: 400px;
  }
  .footer-contact-phone{
  max-width: 400px;
  }
  .footer-content {
    display: flex;
    gap: 10px;
  }

}


@media (max-width: 980px) {
  .brand-logo {
    height: 45px;
  }
  .brand-icon {
    width: 40px;
    height: 40px;
  }
  .free-eval-btn {
    display: none;
  }
  .brand-name {
    font-size: 16px;
  }
  .page-hero h1 { font-size: 34px; }
  .page-hero p { font-size: 16px; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 30px; }
  .resource-list { grid-template-columns: 1fr; }
  .resource-block h2 { font-size: 22px; }
  .menu-toggle { display: block; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    z-index: 99;
  }
  .nav-menu.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .phone-btn { display: none; }

  .hero-left { width: 100%; max-width: 100%; padding: 50px 40px; }
  .hero-left h1 { font-size: 40px; }
  .hero-left h2 { font-size: 22px; }
  .hero-quote { display: none; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .attorney-content { padding-left: 0; }
  .attorney-content h2 { font-size: 32px; }
  .attorney-content p { font-size: 16px; }
  .checklist li { font-size: 16px; }

  .testimonials-slider { padding: 0 50px; }
  .contact-card { width: 80%; padding: 15px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-strip { min-height: 150px; }
  .cta-inner { padding: 25px 15px; gap: 15px; }
  .cta-inner span { font-size: 20px; }
  .cta-inner .phone-btn { min-height: 46px; font-size: 16px; padding: 0 26px; }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  .footer-brand-block {
    text-align: center;
  }
  .footer-contacts {
    align-items: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-list { grid-template-columns: 1fr; }
  .about-block h3 { font-size: 16px; }
  .about-block p { font-size: 15px; }
  .slider-arrow { width: 38px; height: 38px; }
  .testimonial-card { padding: 30px 25px; }
  .modal-content { max-height: 95vh; }
  .modal-image { height: 200px; }
  .modal-body { padding: 25px 20px 30px; }
  .modal-body h2 { font-size: 1.6rem; }
  .modal-buttons { flex-direction: column; }
  .modal-buttons .btn { width: 100%; justify-content: center; }
  .why-choose-header {
    flex-direction: column;
    text-align: center;
  }
  .why-title {
    font-size: 1.8rem;
  }
  .why-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {

  .brand-logo {
    height: 38px;
  }
  .container { width: calc(100% - 30px); padding: 0 15px; }

  .brand-name { font-size: 19px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-divider { display: none; }

  .hero-left { padding: 40px 25px; }
  .hero-left h1 { font-size: 32px; }
  .hero-left h2 { font-size: 20px; }
  .hero-benefits { gap: 18px; }
  .benefit { font-size: 11px; }
  .benefit i { font-size: 26px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 50px 0 40px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 13px; }

  .attorney-content h2 { font-size: 26px; }
  .attorney-content .mini { font-size: 14px; }
  .attorney-content p { font-size: 15px; }
  .checklist li { font-size: 15px; }
  .attorney-actions { flex-direction: column; }
  .attorney-actions .btn { width: 100%; justify-content: center; }

  .contact-card { width: 100%; padding: 20px 15px; }

  .footer-logo {
    height: 45px;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    justify-items: center;
    text-align: center;
  }
  .footer-nav a{
    font-size: 15px;
  }
  .footer-contacts {
    flex-direction: column;
    gap: 30px;
  }
  .footer-contact-phone {
    max-width: 225px;
}
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
}
html {
  -webkit-overflow-scrolling: touch;
}