:root {
  --navy: #06182d;
  --navy-2: #0b2543;
  --navy-3: #102f53;
  --slate: #52687c;
  --charcoal: #172331;
  --muted: #f6f7f8;
  --line: #d8e0e7;
  --white: #ffffff;
  --gold: #d0aa4d;
  --gold-light: #f0d17a;
  --gold-dark: #8f6d25;
  --burgundy: #6f263d;
  --shadow: 0 20px 50px rgba(6, 24, 45, .12);
  --shadow-strong: 0 28px 70px rgba(6, 24, 45, .2);
  --radius: 8px;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

video,
svg {
  max-width: 100%;
  height: auto;
}

section {
  max-width: 100%;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

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

.section-pad {
  padding: 92px 0;
}

.muted {
  background: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(216, 224, 231, .9);
  box-shadow: 0 14px 40px rgba(6, 24, 45, .06);
  backdrop-filter: blur(20px);
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--burgundy), var(--navy));
}

.nav-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding: 7px 0;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    linear-gradient(135deg, var(--gold-light), var(--gold-dark)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 26px rgba(6, 24, 45, .18);
}

.brand-mark::after {
  content: "JS";
  position: absolute;
  left: -7px;
  bottom: -7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(208, 170, 77, .55);
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-family: var(--serif);
  font-size: .58rem;
  font-weight: 800;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--navy);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--slate);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--charcoal);
  font-weight: 700;
  font-size: .92rem;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 34px rgba(208, 170, 77, .32);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
}

.btn-outline {
  color: var(--navy);
  border-color: rgba(200, 162, 74, .8);
  background: rgba(200, 162, 74, .08);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(5, 14, 26, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(84vw, 360px);
  height: 100vh;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(208, 170, 77, .16), transparent 210px),
    var(--navy);
  color: var(--white);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .24);
  transform: translateX(100%);
  transition: transform .32s ease;
  overflow-y: auto;
}

.menu-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.menu-open .mobile-drawer {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.drawer-title {
  display: grid;
  gap: 3px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
}

.drawer-title small {
  font-family: var(--sans);
  color: rgba(255, 255, 255, .66);
  font-size: .68rem;
  font-weight: 800;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
}

.mobile-drawer nav a:not(.btn) {
  padding: 13px 0;
  color: var(--white);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.hero {
  background: var(--navy);
}

.hero-slider {
  position: relative;
  min-height: 735px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .9s ease, visibility .9s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide.active img,
.hero-slide.active .hero-visual {
  animation: heroZoom 8s ease both;
}

.hero-slide img,
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 24, 45, .96) 0%, rgba(6, 24, 45, .82) 42%, rgba(6, 24, 45, .32) 74%, rgba(6, 24, 45, .18) 100%),
    linear-gradient(0deg, rgba(6, 24, 45, .34), rgba(6, 24, 45, .08));
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 170, 77, .72), transparent);
}

.visual-office,
.visual-court,
.legal-scene,
.map-placeholder {
  background:
    linear-gradient(135deg, rgba(7, 27, 51, .78), rgba(13, 39, 72, .18)),
    radial-gradient(circle at 72% 20%, rgba(200, 162, 74, .42), transparent 28%),
    linear-gradient(135deg, #122943, #e8edf1);
}

.visual-office::before,
.visual-court::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, .28);
  background:
    linear-gradient(90deg, transparent 12%, rgba(255, 255, 255, .12) 12% 13%, transparent 13% 28%, rgba(255, 255, 255, .14) 28% 29%, transparent 29%),
    linear-gradient(180deg, transparent 58%, rgba(200, 162, 74, .32) 59%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding: 110px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--gold-dark);
}

.hero h1,
h2 {
  font-family: var(--serif);
  color: var(--navy);
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 22px;
  color: var(--white);
  font-size: clamp(3.1rem, 5vw, 5.25rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.16rem;
  line-height: 1.72;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 30px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  font-size: .84rem;
  font-weight: 800;
}

.hero-actions,
.cta-buttons,
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(6, 24, 45, .5);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.slider-dots button.active {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-color: var(--gold);
}

.trust-strip {
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), var(--navy-3));
  border-top: 1px solid rgba(200, 162, 74, .28);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

.trust-grid span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-size: .9rem;
  font-weight: 900;
  background: rgba(255, 255, 255, .04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  margin: 0;
  color: var(--navy);
}

p {
  line-height: 1.7;
}

.section-heading p,
.about p,
.contact-copy > p {
  color: var(--slate);
  font-size: 1.04rem;
}

.stats-grid,
.quick-grid,
.pricing-grid,
.team-grid,
.reviews-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.service-card,
.quick-card,
.price-card,
.team-card,
.review-card,
.case-card,
.process-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2.3rem;
}

.stat-card span {
  color: var(--slate);
  font-weight: 700;
}

.note {
  margin-top: 18px;
  color: var(--slate);
  font-size: .92rem;
}

.about-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 52px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.feature-list span {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--muted);
  font-weight: 800;
}

.image-card {
  position: relative;
}

.legal-scene {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  background: var(--navy);
}

.legal-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legal-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 45, .12), rgba(6, 24, 45, .68)),
    linear-gradient(90deg, rgba(6, 24, 45, .34), transparent 62%);
}

.legal-scene span {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.floating-badge,
.form-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 900;
}

.floating-badge {
  position: absolute;
  right: 18px;
  top: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 26px;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 3px solid transparent;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 72px;
  background: linear-gradient(180deg, rgba(208, 170, 77, .1), transparent);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 162, 74, .75);
  border-top-color: var(--gold);
  box-shadow: var(--shadow-strong);
}

.icon,
.avatar {
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(200, 162, 74, .18);
  border: 1px solid rgba(200, 162, 74, .42);
  font-family: var(--serif);
  font-weight: 800;
}

.icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
}

.service-card h3,
.service-card p,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card p,
.team-card p,
.price-card p,
.process-card p {
  color: var(--slate);
}

.service-card a {
  margin-top: auto;
  color: var(--gold-dark);
  font-weight: 900;
}

.quick-card,
.price-card,
.team-card,
.review-card,
.case-card {
  padding: 28px;
}

.quick-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
}

.navy-band {
  background:
    linear-gradient(135deg, rgba(111, 38, 61, .22), transparent 38%),
    var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-card {
  padding: 28px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .15);
  box-shadow: none;
}

.process-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.1rem;
}

.process-card h3,
.process-card p {
  color: var(--white);
}

.price-card strong {
  display: block;
  margin: 18px 0;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 2rem;
}

.price-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--navy);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  background: linear-gradient(135deg, rgba(6, 24, 45, .08), rgba(208, 170, 77, .12));
}

.price-card h3,
.price-card strong,
.price-card p,
.price-label {
  position: relative;
  z-index: 1;
}

.price-label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(208, 170, 77, .2);
  font-size: .76rem;
  font-weight: 900;
}

.avatar {
  width: 86px;
  height: 86px;
  margin: 0 0 20px;
  border-radius: 50%;
  font-size: 1.35rem;
}

.team-card {
  display: grid;
  align-content: start;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(6, 24, 45, .04), transparent 42%),
    var(--white);
}

.team-card span {
  display: block;
  margin-top: 8px;
  color: var(--gold-dark);
  font-weight: 900;
}

.reviews-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.review-card {
  position: relative;
  margin: 0;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
  border-top: 3px solid var(--gold);
}

.review-card span,
.review-card cite {
  display: block;
  font-family: var(--sans);
}

.review-card span {
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: .82rem;
  letter-spacing: .04em;
}

.review-card cite {
  margin-top: 18px;
  color: var(--slate);
  font-size: .82rem;
  font-style: normal;
  font-weight: 900;
}

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

.case-card {
  position: relative;
  min-height: 118px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 27, 51, .9), rgba(7, 27, 51, .56)),
    linear-gradient(135deg, #c8a24a, #51657a);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.callout {
  background: var(--navy);
}

.callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  border: 1px solid rgba(200, 162, 74, .35);
}

.callout h2 {
  color: var(--white);
}

.faq-grid {
  align-items: start;
}

.faq-grid > div:first-child {
  position: sticky;
  top: 120px;
  padding: 30px;
  border-left: 4px solid var(--gold);
  background: var(--muted);
}

.faq-grid > div:first-child p {
  color: var(--slate);
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 24, 45, .06);
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  padding: 20px 56px 20px 22px;
  border: 0;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(208, 170, 77, .16);
}

.faq-item button {
  position: relative;
}

.faq-item.open button::after {
  content: "-";
}

.faq-item div {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open div {
  display: block;
}

.contact-grid {
  grid-template-columns: .85fr 1fr;
  align-items: start;
}

.contact-details {
  margin: 26px 0;
  padding: 22px;
  border-left: 3px solid var(--gold);
  background: var(--white);
}

.contact-details p,
.hours p {
  margin: 6px 0;
}

.hours {
  margin-bottom: 22px;
}

.map-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 30px;
  border-top: 4px solid var(--gold);
}

@keyframes heroZoom {
  from {
    transform: scale(1.025);
  }

  to {
    transform: scale(1.065);
  }
}

.form-badge,
.span-2 {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8df;
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
  color: var(--charcoal);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(200, 162, 74, .45);
  outline-offset: 3px;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: #061423;
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1fr;
  gap: 34px;
}

.footer-brand strong,
.site-footer h3 {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, .68);
}

.site-footer a {
  display: block;
  margin: 9px 0;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

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

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

@media (max-width: 1120px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

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

@media (max-width: 900px) {
  .stats-grid,
  .quick-grid,
  .pricing-grid,
  .team-grid,
  .process-grid,
  .case-grid,
  .footer-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid,
  .faq-grid {
    gap: 34px;
  }

  .faq-grid > div:first-child {
    position: static;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  section {
    padding-left: 0;
    padding-right: 0;
  }

  .container {
    width: min(100% - 48px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-pad {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  h1,
  h2,
  h3 {
    margin-bottom: 14px;
  }

  p {
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading p,
  .about p,
  .contact-copy > p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .nav-shell {
    min-height: 74px;
    gap: 12px;
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .brand-mark::after {
    display: none;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand small {
    display: none;
  }

  .hero,
  .hero-slider,
  .hero-slide {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-slider {
    position: relative;
    min-height: 700px;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    width: 100%;
    min-height: 700px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: none;
  }

  .hero-slide.active {
    position: relative;
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
  }

  .hero-content {
    width: min(100% - 48px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 88px 0 106px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(35px, 10vw, 54px);
    line-height: 1.08;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero p {
    font-size: 16.5px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: -6px 0 24px;
  }

  .hero-proof span {
    width: 100%;
    min-height: 34px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .hero-actions,
  .cta-buttons,
  .button-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 22px;
  }

  .btn,
  button,
  .cta-button {
    width: 100%;
    max-width: 340px;
    min-height: 54px;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle {
    width: 46px;
    max-width: 46px;
    height: 46px;
    min-height: 46px;
    margin-left: auto;
    margin-right: 0;
    flex-shrink: 0;
    position: relative;
    right: auto;
  }

  .drawer-close {
    width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .slider-dots button {
    width: 12px;
    max-width: 12px;
    height: 12px;
    min-height: 12px;
    border-radius: 50%;
    padding: 0;
    margin: 0;
  }

  .slider-dots button.active {
    width: 12px;
    max-width: 12px;
  }

  .slider-dots {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 5;
    width: max-content;
    max-width: 100%;
    margin: -78px auto 32px;
    transform: none;
    justify-content: center;
  }

  .faq-item button {
    max-width: none;
    justify-content: flex-start;
    white-space: normal;
  }

  .grid,
  .cards-grid,
  .services-grid,
  .featured-grid,
  .pricing-grid,
  .team-grid,
  .reviews-grid,
  .footer-grid,
  .contact-grid,
  .stats-grid,
  .quick-grid,
  .process-grid,
  .case-grid,
  .about-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .quick-card,
  .stat-card,
  .process-card {
    min-height: auto;
    padding: 26px 22px;
    margin-bottom: 2px;
  }

  .stats-grid,
  .quick-grid,
  .services-grid,
  .pricing-grid,
  .team-grid,
  .reviews-grid,
  .process-grid,
  .case-grid {
    gap: 18px;
  }

  .stat-card strong {
    margin-bottom: 12px;
    font-size: 2.15rem;
  }

  .note {
    margin-top: 20px;
    margin-bottom: 0;
    padding-left: 4px;
    padding-right: 4px;
  }

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

  .trust-grid span {
    min-height: 54px;
  }

  .slider-arrow {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 24, 45, .94), rgba(6, 24, 45, .8)),
      linear-gradient(90deg, rgba(6, 24, 45, .42), rgba(6, 24, 45, .1));
  }

  .feature-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  form,
  .contact-form,
  input,
  select,
  textarea {
    width: 100%;
    max-width: 100%;
  }

  .legal-scene {
    min-height: 340px;
  }

  .image-card {
    display: flex;
    flex-direction: column;
  }

  .floating-badge {
    position: static;
    order: -1;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .callout-inner {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 26px 22px;
  }

  .mobile-drawer .btn,
  .contact-form .btn,
  .callout .btn,
  .quick-card .btn,
  .hero .btn {
    max-width: 340px;
  }

  .desktop-cta {
    display: none;
  }

  .mobile-drawer {
    width: min(84vw, 360px);
    max-width: 360px;
  }

  .drawer-title small {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-slider {
    min-height: 670px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-content {
    padding-top: 76px;
  }

  .eyebrow {
    font-size: .68rem;
    gap: 8px;
  }

  .eyebrow::before {
    width: 30px;
  }

  .service-card,
  .quick-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .stat-card,
  .process-card {
    padding: 24px 20px;
  }

  .container {
    width: min(100% - 48px, 100%);
  }
}

@media (max-width: 370px) {
  .container,
  .hero .container,
  .hero-content {
    width: min(100% - 44px, 100%);
  }

  .site-header .container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-slider {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn,
  button,
  .cta-button {
    min-height: 52px;
  }
}
