/* ==========================================================
   Law Firm SEO service page
   Loaded only by the Law Firm SEO 2026 template.
   New page-specific layouts only. Universal buttons, forms,
   FAQs, hero, proposal, and BBB styles remain in style2026.css.
   ========================================================== */

.si-law-firm-seo-page {
  --si-law-navy: #061a31;
  --si-law-blue: #0b3f73;
  --si-law-light: #c1e1ff;
  --si-law-orange: #f15a24;
  --si-law-ink: #132238;
  --si-law-muted: #566579;
  --si-law-line: rgba(19, 34, 56, .14);
}

.si-law-firm-seo-page,
.si-law-firm-seo-page #main {
  overflow-x: clip;
}

.si-law-firm-seo-page .si-law-intro-shell *,
.si-law-firm-seo-page .si-law-search-section *,
.si-law-firm-seo-page .si-law-practice-section *,
.si-law-firm-seo-page .si-law-local-section *,
.si-law-firm-seo-page .si-law-reputation-section *,
.si-law-firm-seo-page .si-law-ai-section *,
.si-law-firm-seo-page .si-law-experience-section * {
  box-sizing: border-box;
  min-width: 0;
}

.si-law-firm-seo-page .si-2026-hero-copy {
  max-width: 780px;
}

/* Editorial WordPress introduction */
.si-law-intro-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(105deg, #ffffff 0%, #ffffff 64%, #f2f7fc 64%, #edf4fb 100%);
  border-bottom: 1px solid #dfe7ef;
}

.si-law-intro-shell::before {
  content: "LEGAL";
  position: absolute;
  right: clamp(22px, 7vw, 110px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(86px, 12vw, 190px);
  line-height: .8;
  letter-spacing: -.07em;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11, 63, 115, .10);
  pointer-events: none;
}

.si-law-intro-shell::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: 8%;
  top: -92px;
  border-radius: 50%;
  border: 28px solid rgba(241, 90, 36, .10);
  pointer-events: none;
}

.si-law-intro {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 76px 0 72px;
}

.si-law-intro h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-law-ink);
}

.si-law-intro h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--si-law-orange);
}

.si-law-intro p {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #33445a;
}

/* Competitive search section */
.si-law-search-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  color: #fff;
  background:
    radial-gradient(circle at 87% 20%, rgba(37, 122, 194, .28), transparent 26%),
    radial-gradient(circle at 14% 92%, rgba(241, 90, 36, .12), transparent 30%),
    linear-gradient(135deg, #06172c 0%, #082846 58%, #0a3a65 100%);
}

.si-law-search-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  pointer-events: none;
}

.si-law-search-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 76px;
  align-items: center;
}

.si-law-search-copy {
  max-width: 640px;
}

.si-law-search-copy .si-2026-section-label {
  color: #ffac88;
}

.si-law-search-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.03;
  letter-spacing: -.04em;
  color: #fff;
}

.si-law-search-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.si-law-search-copy .si-2026-feature-link {
  margin-top: 10px;
}

.si-law-search-stage {
  position: relative;
  min-height: 420px;
}

.si-law-search-stage::before,
.si-law-search-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.si-law-search-stage::before {
  width: 380px;
  height: 380px;
  right: -35px;
  top: 18px;
  border: 1px solid rgba(193,225,255,.24);
  box-shadow:
    0 0 0 38px rgba(193,225,255,.035),
    0 0 0 76px rgba(193,225,255,.025);
}

.si-law-search-stage::after {
  width: 18px;
  height: 18px;
  right: 70px;
  top: 62px;
  background: var(--si-law-orange);
  box-shadow: 0 0 0 12px rgba(241,90,36,.16);
}

.si-law-search-window {
  position: absolute;
  left: 0;
  top: 54px;
  width: min(100%, 470px);
  padding: 24px 26px 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(4, 18, 34, .72);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}

.si-law-search-bar {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: #fff;
  color: #1b2b3f;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.si-law-search-bar::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-right: 12px;
  border: 2px solid var(--si-law-orange);
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px var(--si-law-orange);
}

.si-law-serp-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.si-law-serp-row:last-child {
  border-bottom: 0;
}

.si-law-serp-row span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #7bc0f5;
}

.si-law-serp-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #fff;
}

.si-law-serp-row small {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.60);
}

/* Practice-area editorial section */
.si-law-practice-section {
  position: relative;
  padding: 96px 0 102px;
  overflow: hidden;
  background: #fff;
}

.si-law-practice-section::before {
  content: "PRACTICE AREA";
  position: absolute;
  left: -20px;
  bottom: 20px;
  font-size: clamp(70px, 10vw, 156px);
  line-height: .78;
  font-weight: 900;
  letter-spacing: -.07em;
  color: rgba(11,63,115,.045);
  white-space: nowrap;
  pointer-events: none;
}

.si-law-practice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 84px;
  align-items: start;
}

.si-law-practice-marker {
  padding-top: 8px;
}

.si-law-practice-marker span {
  display: block;
  font-size: clamp(88px, 10vw, 148px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
  color: var(--si-law-orange);
}

.si-law-practice-marker p {
  max-width: 290px;
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--si-law-line);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #516075;
}

.si-law-practice-copy {
  max-width: 760px;
}

.si-law-practice-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--si-law-ink);
}

.si-law-practice-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #405066;
}

.si-law-practice-quote {
  margin-top: 32px;
  padding: 24px 0 24px 28px;
  border-left: 5px solid var(--si-law-orange);
  font-size: 25px;
  line-height: 1.38;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #18324f;
}

/* Local search section */
.si-law-local-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(circle at 79% 43%, rgba(255,255,255,.78) 0 7%, transparent 7.5%),
    linear-gradient(118deg, #c1e1ff 0%, #d8ecff 52%, #edf7ff 100%);
}

.si-law-local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  gap: 76px;
  align-items: center;
}

.si-law-local-copy {
  max-width: 690px;
}

.si-law-local-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #0a2d52;
}

.si-law-local-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #284865;
}

.si-law-map-visual {
  position: relative;
  min-height: 390px;
}

.si-law-map-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(11,63,115,.20);
}

.si-law-map-ring:nth-child(1) {
  width: 330px;
  height: 330px;
  right: 12px;
  top: 20px;
}

.si-law-map-ring:nth-child(2) {
  width: 240px;
  height: 240px;
  right: 57px;
  top: 65px;
  border-color: rgba(11,63,115,.30);
}

.si-law-map-ring:nth-child(3) {
  width: 150px;
  height: 150px;
  right: 102px;
  top: 110px;
  border-color: rgba(11,63,115,.42);
}

.si-law-map-pin {
  position: absolute;
  right: 151px;
  top: 125px;
  width: 54px;
  height: 68px;
  border-radius: 28px 28px 34px 34px;
  background: var(--si-law-orange);
  box-shadow: 0 18px 38px rgba(241,90,36,.28);
}

.si-law-map-pin::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 18px;
  top: 17px;
  border-radius: 50%;
  background: #fff;
}

.si-law-map-pin::after {
  content: "";
  position: absolute;
  left: 17px;
  bottom: -13px;
  width: 20px;
  height: 20px;
  transform: rotate(45deg);
  background: var(--si-law-orange);
}

.si-law-local-result {
  position: absolute;
  left: 2px;
  width: 230px;
  padding: 16px 18px;
  border-left: 4px solid var(--si-law-orange);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 34px rgba(11,63,115,.12);
}

.si-law-local-result strong {
  display: block;
  font-size: 16px;
  color: #163553;
}

.si-law-local-result span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #607287;
}

.si-law-local-result:nth-of-type(1) {
  top: 68px;
}

.si-law-local-result:nth-of-type(2) {
  top: 154px;
  left: 34px;
}

.si-law-local-result:nth-of-type(3) {
  top: 240px;
  left: 8px;
}

/* Reputation section */
.si-law-reputation-section {
  padding: 98px 0;
  background: #f7f8fa;
}

.si-law-reputation-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: center;
}

.si-law-reputation-statement {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  padding: 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(241,90,36,.18), transparent 26%),
    linear-gradient(145deg, #071a31 0%, #0a3c68 100%);
}

.si-law-reputation-statement::before {
  content: "TRUST";
  position: absolute;
  left: -12px;
  top: 28px;
  font-size: clamp(82px, 9vw, 138px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.14);
}

.si-law-reputation-statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 750;
  letter-spacing: -.025em;
  color: #fff;
}

.si-law-reputation-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--si-law-ink);
}

.si-law-reputation-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #425167;
}

/* AI search bridge */
.si-law-ai-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: #fff;
  border-top: 1px solid #e2e8ef;
  border-bottom: 1px solid #e2e8ef;
}

.si-law-ai-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(11,63,115,.14);
  box-shadow:
    0 0 0 42px rgba(11,63,115,.025),
    0 0 0 84px rgba(11,63,115,.018);
}

.si-law-ai-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .52fr 1.48fr;
  gap: 70px;
  align-items: start;
}

.si-law-ai-kicker {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--si-law-orange);
}

.si-law-ai-copy h2 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-law-ink);
}

.si-law-ai-copy p {
  max-width: 830px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #405066;
}

/* Experience close */
.si-law-experience-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(241,90,36,.12), transparent 24%),
    linear-gradient(130deg, #06162b 0%, #0b2948 100%);
}

.si-law-experience-section::before {
  content: "2002";
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-53%);
  font-size: clamp(140px, 19vw, 300px);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(193,225,255,.11);
  pointer-events: none;
}

.si-law-experience-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.si-law-experience-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #fff;
}

.si-law-experience-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.80);
}

.si-law-experience-price {
  margin-top: 30px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-weight: 750;
  color: #fff !important;
}

/* Contact band alignment */
.si-law-firm-seo-page .si-2026-contact-band .si-2026-action-group {
  justify-content: center;
}

/* Responsive */
@media (max-width: 979px) {
  .si-law-search-grid,
  .si-law-practice-grid,
  .si-law-local-grid,
  .si-law-reputation-shell,
  .si-law-ai-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .si-law-search-stage,
  .si-law-map-visual {
    width: 100%;
    max-width: 560px;
  }

  .si-law-search-stage {
    min-height: 390px;
  }

  .si-law-practice-marker {
    display: flex;
    align-items: flex-end;
    gap: 28px;
  }

  .si-law-practice-marker p {
    max-width: 360px;
    margin: 0 0 4px;
  }

  .si-law-reputation-statement {
    min-height: 300px;
  }

  .si-law-ai-kicker {
    max-width: 330px;
  }
}

@media (max-width: 767px) {
  .si-law-firm-seo-page .si-law-intro-shell > .container,
  .si-law-firm-seo-page .si-law-search-section > .container,
  .si-law-firm-seo-page .si-law-practice-section > .container,
  .si-law-firm-seo-page .si-law-local-section > .container,
  .si-law-firm-seo-page .si-law-reputation-section > .container,
  .si-law-firm-seo-page .si-law-ai-section > .container,
  .si-law-firm-seo-page .si-law-experience-section > .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .si-law-intro-shell {
    background: linear-gradient(180deg, #fff 0%, #fff 76%, #f1f6fb 100%);
  }

  .si-law-intro-shell::before {
    right: -10px;
    top: auto;
    bottom: 18px;
    transform: none;
    font-size: 72px;
  }

  .si-law-intro-shell::after {
    width: 126px;
    height: 126px;
    right: -46px;
    top: -50px;
    border-width: 16px;
  }

  .si-law-intro {
    width: 100%;
    max-width: none;
    padding: 58px 0 62px;
  }

  .si-law-intro h2,
  .si-law-search-copy h2,
  .si-law-practice-copy h2,
  .si-law-local-copy h2,
  .si-law-reputation-copy h2,
  .si-law-ai-copy h2,
  .si-law-experience-copy h2 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .si-law-intro p,
  .si-law-search-copy p,
  .si-law-practice-copy p,
  .si-law-local-copy p,
  .si-law-reputation-copy p,
  .si-law-ai-copy p,
  .si-law-experience-copy p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.66;
    overflow-wrap: anywhere;
  }

  .si-law-search-section,
  .si-law-practice-section,
  .si-law-local-section,
  .si-law-reputation-section,
  .si-law-experience-section {
    padding: 64px 0;
  }

  .si-law-search-grid,
  .si-law-practice-grid,
  .si-law-local-grid,
  .si-law-reputation-shell,
  .si-law-ai-shell {
    width: 100%;
    gap: 38px;
  }

  .si-law-search-copy,
  .si-law-practice-copy,
  .si-law-local-copy,
  .si-law-reputation-copy,
  .si-law-ai-copy,
  .si-law-experience-copy {
    width: 100%;
    max-width: 100%;
  }

  .si-law-search-stage {
    min-height: 0;
    max-width: 100%;
  }

  .si-law-search-stage::before {
    width: 260px;
    height: 260px;
    right: -92px;
    top: -26px;
  }

  .si-law-search-stage::after {
    right: 32px;
    top: 12px;
  }

  .si-law-search-window {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .si-law-search-bar {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    margin-bottom: 20px;
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .si-law-serp-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 0;
  }

  .si-law-serp-row strong {
    font-size: 16px;
  }

  .si-law-practice-marker {
    display: block;
    width: 100%;
  }

  .si-law-practice-marker span {
    font-size: 82px;
  }

  .si-law-practice-marker p {
    max-width: 100%;
    margin-top: 18px;
  }

  .si-law-practice-quote {
    max-width: 100%;
    padding: 20px 0 20px 20px;
    font-size: 20px;
  }

  .si-law-map-visual {
    width: 100%;
    max-width: 340px;
    min-height: 330px;
    margin: 0 auto;
    transform: none;
  }

  .si-law-map-ring:nth-child(1) {
    width: 270px;
    height: 270px;
    right: 0;
    top: 24px;
  }

  .si-law-map-ring:nth-child(2) {
    width: 198px;
    height: 198px;
    right: 36px;
    top: 60px;
  }

  .si-law-map-ring:nth-child(3) {
    width: 126px;
    height: 126px;
    right: 72px;
    top: 96px;
  }

  .si-law-map-pin {
    right: 108px;
    top: 108px;
    width: 46px;
    height: 58px;
  }

  .si-law-map-pin::before {
    width: 16px;
    height: 16px;
    left: 15px;
    top: 14px;
  }

  .si-law-map-pin::after {
    left: 14px;
    bottom: -11px;
    width: 18px;
    height: 18px;
  }

  .si-law-local-result {
    width: 196px;
    max-width: calc(100% - 24px);
    padding: 13px 14px;
  }

  .si-law-local-result:nth-of-type(1) {
    top: 44px;
    left: 0;
  }

  .si-law-local-result:nth-of-type(2) {
    top: 134px;
    left: 16px;
  }

  .si-law-local-result:nth-of-type(3) {
    top: 224px;
    left: 0;
  }

  .si-law-reputation-statement {
    width: 100%;
    min-height: 250px;
    padding: 34px 26px;
  }

  .si-law-reputation-statement p {
    font-size: 22px;
  }

  .si-law-ai-section {
    padding: 60px 0;
  }

  .si-law-ai-section::after {
    width: 260px;
    height: 260px;
    right: -150px;
    top: -120px;
  }

  .si-law-experience-section::before {
    right: -12px;
    top: 28px;
    transform: none;
    font-size: 108px;
  }

  .si-law-firm-seo-page .si-2026-feature-link,
  .si-law-firm-seo-page .si-2026-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .si-law-firm-seo-page .si-law-intro-shell > .container,
  .si-law-firm-seo-page .si-law-search-section > .container,
  .si-law-firm-seo-page .si-law-practice-section > .container,
  .si-law-firm-seo-page .si-law-local-section > .container,
  .si-law-firm-seo-page .si-law-reputation-section > .container,
  .si-law-firm-seo-page .si-law-ai-section > .container,
  .si-law-firm-seo-page .si-law-experience-section > .container {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  .si-law-map-visual {
    max-width: 292px;
    min-height: 318px;
  }

  .si-law-map-ring:nth-child(1) {
    width: 238px;
    height: 238px;
  }

  .si-law-map-ring:nth-child(2) {
    width: 174px;
    height: 174px;
    right: 32px;
  }

  .si-law-map-ring:nth-child(3) {
    width: 112px;
    height: 112px;
    right: 63px;
  }

  .si-law-map-pin {
    right: 96px;
  }

  .si-law-local-result {
    width: 174px;
    font-size: 14px;
  }
}
