:root {
  --paper: #f8f7f2;
  --paper-deep: #eee9df;
  --surface: #f5f5f5;
  --white: #ffffff;
  --ink: #172232;
  --muted: #647080;
  --navy: #0d3558;
  --navy-deep: #081f36;
  --teal: #2f6f6a;
  --gold: #b08a4a;
  --line: rgba(13, 53, 88, 0.15);
  --line-strong: rgba(13, 53, 88, 0.28);
  --success: #286344;
  --danger: #8c2f2f;
  --shadow-soft: 0 16px 38px rgba(13, 31, 48, 0.07);
  --shadow-strong: 0 24px 70px rgba(7, 28, 48, 0.2);
  --scene-height: clamp(700px, 80svh, 860px);
  --section-standard-min: clamp(640px, 70svh, 760px);
  --section-focus-min: clamp(520px, 58svh, 640px);
  --section-standard-pad: clamp(78px, 8svh, 104px);
  --section-focus-pad: clamp(62px, 6.2svh, 78px);
  --section-utility-pad: clamp(72px, 7svh, 96px);
  --font-sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-serif: "Noto Serif KR", "Batang", serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 111, 106, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: auto;
  height: 54px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1.58rem;
  font-weight: 900;
  line-height: 1.05;
}

.brand span span {
  display: block;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334151;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy-deep);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 22px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 14px 28px rgba(13, 53, 88, 0.16);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-secondary {
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line-strong);
}

.btn-phone {
  min-height: 48px;
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: var(--scene-height);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 31, 54, 0.9) 0%, rgba(8, 31, 54, 0.68) 42%, rgba(8, 31, 54, 0.26) 72%, rgba(8, 31, 54, 0.42) 100%),
    url("../img/hero-law-office.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-frame {
  min-height: inherit;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 82px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 4.28rem;
  font-weight: 700;
  line-height: 1.08;
}

.hero-lead {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn-primary {
  color: var(--navy-deep);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary:hover {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.hero .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chips span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.proof-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid div {
  min-height: 116px;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.42));
}

.proof-grid div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.proof-grid strong {
  display: block;
  margin-top: 7px;
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.4;
}

.section {
  min-height: var(--section-standard-min);
  display: flex;
  align-items: center;
  padding: var(--section-standard-pad) 0;
}

.section-standard {
  min-height: var(--section-standard-min);
  padding-block: var(--section-standard-pad);
}

.section-focus {
  min-height: var(--section-focus-min);
  padding-block: var(--section-focus-pad);
}

.section-utility {
  min-height: auto;
  padding-block: var(--section-utility-pad);
}

.section-white {
  background: var(--white);
}

.section-paper {
  background:
    linear-gradient(90deg, rgba(13, 53, 88, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 53, 88, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.section-ink {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 31, 54, 0.97), rgba(13, 53, 88, 0.94)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=82");
  background-size: cover;
  background-position: center;
}

.section-profile {
  position: relative;
  overflow: hidden;
  min-height: clamp(500px, 58svh, 640px);
  padding-block: clamp(68px, 7svh, 92px);
  background:
    linear-gradient(90deg, rgba(13, 53, 88, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 53, 88, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8f9f6, #f1f3ee);
  background-size: 72px 72px, 72px 72px, auto;
}

.section-profile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(13, 53, 88, 0.14);
  pointer-events: none;
}

.section-profile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(13, 53, 88, 0.16);
}

.representative-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.representative-intro {
  max-width: 300px;
  position: relative;
  padding-top: 22px;
}

.representative-intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 2px;
  background: var(--gold);
}

.representative-intro .section-title {
  font-size: 2.06rem;
}

.representative-intro .section-copy {
  color: #677281;
  font-weight: 700;
}

.representative-profile {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.representative-photo-card,
.representative-info-card {
  border: 1px solid rgba(13, 53, 88, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(7, 24, 39, 0.1);
}

.representative-photo-card {
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: linear-gradient(180deg, #fffefa 0%, #f4f5f1 100%);
}

.representative-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 18px 22px rgba(7, 24, 39, 0.12));
}

.representative-photo-card figcaption {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 26px;
  color: var(--white);
  background: var(--navy-deep);
  border-top: 6px solid var(--navy);
}

.representative-photo-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  font-weight: 900;
}

.representative-photo-card strong {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.26;
}

.representative-info-card {
  min-height: 386px;
  display: grid;
  grid-template-columns: minmax(210px, 0.85fr) minmax(220px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 30px 34px;
}

.representative-info-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.representative-info-card h3 {
  margin: 8px 0 0;
  color: var(--navy-deep);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.28;
}

.representative-info-card p {
  margin: 14px 0 0;
  color: #586575;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.representative-info-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--navy-deep);
  font-weight: 900;
  list-style: none;
}

.representative-info-card blockquote {
  min-height: 250px;
  margin: 0;
  border-left: 4px solid var(--gold);
  padding: 0 0 0 28px;
  display: grid;
  align-content: center;
  color: #586575;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.section-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-focus .section-grid {
  align-items: center;
}

.section-utility .section-grid {
  align-items: start;
}

.section-head {
  max-width: 320px;
  margin: 0;
  position: relative;
  padding-top: 18px;
}

.section-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-serif);
  font-size: 2.38rem;
  font-weight: 700;
  line-height: 1.28;
}

.section-copy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-body {
  display: grid;
  gap: 22px;
}

.section-standard .section-body {
  gap: 22px;
}

.section-focus .section-body {
  gap: 20px;
}

.section-focus .section-title {
  font-size: 2.24rem;
}

.section-utility .section-body {
  gap: 18px;
}

.section-ink .section-title,
.section-ink .section-copy,
.contact-section .section-title,
.contact-section .section-copy {
  color: var(--white);
}

.section-ink .section-copy,
.contact-section .section-copy {
  opacity: 0.74;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.service-card,
.faq-item,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.info-card,
.service-card {
  min-height: 248px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.info-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(47, 111, 106, 0.52));
}

.info-card span,
.service-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.info-card h3,
.service-card h3 {
  margin: 12px 0 0;
  color: var(--navy-deep);
  font-size: 1.25rem;
  line-height: 1.35;
}

.info-card p,
.service-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.info-card ul,
.service-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.info-card li,
.service-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #445264;
  font-size: 0.86rem;
  font-weight: 800;
}

.info-card li::before,
.service-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.service-card button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--navy);
  background: rgba(13, 53, 88, 0.04);
  font-weight: 900;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.service-card button:hover {
  border-color: var(--teal);
}

.service-card button::after {
  content: "→";
  color: rgba(13, 53, 88, 0.28);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

#services .service-card {
  min-height: 268px;
  padding: 30px 24px 24px;
}

#services .card-grid.four {
  gap: 20px;
}

#services .section-grid {
  align-items: start;
}

#services .section-body {
  gap: 24px;
}

#services .service-card span {
  position: absolute;
  right: 20px;
  top: 18px;
  color: rgba(13, 53, 88, 0.18);
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
}

#services .service-card h3,
#services .service-card p,
#services .service-card ul,
#services .service-card button {
  position: relative;
  z-index: 1;
}

#services .service-card h3 {
  margin-top: 0;
  padding-right: 58px;
}

#services .service-card p {
  min-height: 42px;
}

#services .service-card ul {
  margin: 20px 0 26px;
}

#services .section-band {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

#services .section-band span {
  color: var(--white);
}

#services .section-band a {
  color: var(--navy-deep);
  border-color: var(--white);
}

#repayment .section-grid,
#reviews .section-grid {
  align-items: start;
}

#method .info-card,
#benefits .info-card {
  min-height: 218px;
}

.section-support,
.section-band,
.process-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.section-support {
  padding: 24px;
}

.section-support strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1.08rem;
  line-height: 1.45;
}

.check-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.check-stack li {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  background: rgba(248, 247, 242, 0.96);
}

.check-stack span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.check-stack b {
  color: var(--navy-deep);
  font-size: 0.93rem;
  line-height: 1.4;
}

.section-band,
.process-summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
}

.section-band span,
.process-summary strong {
  color: var(--navy-deep);
  font-weight: 900;
}

.section-band a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.notice-panel,
.profile-panel,
.case-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.notice-panel {
  padding: 24px;
}

.notice-panel strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1.22rem;
  line-height: 1.42;
}

.notice-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.compact-grid,
.case-grid,
.comparison-grid,
.quote-grid,
.why-list {
  display: grid;
  gap: 14px;
}

.compact-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-grid article,
.case-grid article,
.comparison-grid article,
.quote-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.compact-grid article {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
}

.compact-grid span,
.comparison-grid span,
.quote-grid span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.compact-grid b {
  color: var(--navy-deep);
  font-size: 1rem;
  line-height: 1.42;
}

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

.case-grid article {
  min-height: 128px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, rgba(248, 247, 242, 0.86));
}

.case-grid strong {
  color: var(--danger);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.case-grid span {
  color: var(--navy-deep);
  font-weight: 900;
}

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

.comparison-grid article {
  min-height: 172px;
  padding: 22px;
  display: grid;
  align-content: center;
}

.comparison-grid b {
  display: block;
  margin-top: 5px;
  color: var(--navy-deep);
  font-size: 1.05rem;
}

.comparison-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.comparison-grid strong {
  color: var(--navy);
}

.case-note {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px;
}

.profile-panel span {
  color: var(--teal);
  font-weight: 900;
}

.profile-panel h3 {
  margin: 8px 0 0;
  color: var(--navy-deep);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.28;
}

.profile-panel p,
.profile-panel blockquote {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.profile-panel ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy-deep);
  font-weight: 900;
}

.profile-panel blockquote {
  min-height: 240px;
  display: grid;
  align-content: center;
  border-left: 4px solid var(--gold);
  padding: 0 0 0 24px;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.quote-grid article {
  min-height: 168px;
  padding: 22px;
  display: grid;
  align-content: center;
}

.quote-grid p {
  margin: 12px 0 0;
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.62;
}

.why-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--navy-deep);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.42;
}

.why-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}

.step-grid article {
  min-height: 276px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.step-grid span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--navy-deep);
  background: var(--paper);
  font-weight: 900;
}

.step-grid h3 {
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.step-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.step-grid em {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.45;
}

.process-summary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.process-summary strong,
.process-summary span {
  color: var(--white);
}

.process-summary span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

#faq .section-body {
  grid-template-columns: minmax(0, 1fr);
}

#faq .faq-item {
  background: rgba(255, 255, 255, 0.86);
}

#faq .section-band {
  background: rgba(255, 255, 255, 0.86);
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: var(--white);
  color: var(--navy-deep);
  padding: 0 22px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item button span {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  position: relative;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 9px 2px auto;
  height: 2px;
  background: var(--teal);
}

.faq-item button span::after {
  transform: rotate(90deg);
  transition: transform 0.18s ease;
}

.faq-item.is-open button span::after {
  transform: rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  background-size: 72px 72px, 72px 72px, auto;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-list a,
.contact-list b {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 900;
}

.contact-note-grid {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-note-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.form-panel {
  padding: 26px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 90px rgba(7, 24, 39, 0.24);
}

.form-panel h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.28;
}

.form-intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.form-summary span {
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: rgba(13, 53, 88, 0.04);
  font-size: 0.84rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

#contact .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 34, 50, 0.18);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 0 14px;
}

#contact .field input,
#contact .field select,
#contact .field textarea {
  min-height: 44px;
}

.field textarea {
  min-height: 108px;
  padding-top: 14px;
  resize: vertical;
}

#contact .field textarea {
  min-height: 82px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b95a2;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.agree input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--navy);
}

.form-note {
  margin: 8px 0 0;
  color: #7a8490;
  font-size: 0.8rem;
}

.form-submit {
  margin-top: 20px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-success {
  color: var(--success);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
  font-weight: 800;
}

.form-status.is-info {
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #071827;
  padding: 38px 0 96px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 1.04rem;
}

.site-footer p {
  margin: 10px 0 0;
  font-size: 0.88rem;
}

.fine-print {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -12px 34px rgba(10, 29, 51, 0.18);
}

.floating-contact a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.floating-contact a:first-child {
  background: var(--navy-deep);
}

@media (max-width: 1120px) {
  .header-actions .btn-phone {
    display: none;
  }

  .hero h1 {
    font-size: 3.72rem;
  }

  .card-grid.four,
  .step-grid,
  .compact-grid.six,
  .case-grid,
  .why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  html {
    scroll-padding-top: 74px;
  }

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

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: auto;
    height: 44px;
  }

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

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(10, 29, 51, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    min-height: 52px;
    padding: 0 24px;
    border-top: 1px solid rgba(13, 53, 88, 0.1);
  }

  .nav a::after {
    display: none;
  }

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

  .section {
    min-height: auto;
    display: block;
  }

  .representative-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .representative-intro {
    max-width: 620px;
  }

  .representative-profile {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .representative-info-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .representative-info-card blockquote {
    min-height: auto;
    padding-left: 22px;
  }

  .hero {
    min-height: min(590px, calc(100svh - 74px));
    background:
      linear-gradient(90deg, rgba(8, 31, 54, 0.9) 0%, rgba(8, 31, 54, 0.68) 52%, rgba(8, 31, 54, 0.34) 100%),
      url("../img/hero-law-office.jpg");
    background-size: cover;
    background-position: 56% center;
  }

  .hero-frame {
    padding: 64px 0 36px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 3.18rem;
  }

  .section-head {
    max-width: 640px;
  }

  .check-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-band,
  .process-summary {
    min-height: auto;
    flex-wrap: wrap;
    padding: 18px;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .profile-panel,
  .comparison-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 58px;
  }

  .section {
    padding: 58px 0;
  }

  .section-profile {
    padding: 54px 0;
    background:
      linear-gradient(90deg, rgba(13, 53, 88, 0.035) 1px, transparent 1px),
      linear-gradient(180deg, rgba(13, 53, 88, 0.035) 1px, transparent 1px),
      linear-gradient(180deg, #f3f4f1, #ecefeb);
    background-size: 72px 72px, 72px 72px, auto;
  }

  .representative-profile {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .representative-photo-card img {
    height: clamp(310px, 92vw, 420px);
    min-height: 0;
  }

  .representative-photo-card figcaption {
    min-height: 96px;
    padding: 18px 22px;
  }

  .representative-photo-card strong {
    font-size: 1.38rem;
  }

  .representative-info-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .representative-info-card h3,
  .representative-intro .section-title {
    font-size: 1.82rem;
  }

  .representative-intro .section-copy {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .representative-info-card blockquote {
    min-height: auto;
    padding-left: 18px;
    font-size: 0.96rem;
    line-height: 1.68;
  }

  .hero {
    min-height: min(560px, calc(100svh - 74px));
    background:
      linear-gradient(180deg, rgba(8, 31, 54, 0.9) 0%, rgba(8, 31, 54, 0.66) 58%, rgba(8, 31, 54, 0.38) 100%),
      url("../img/hero-law-office.jpg");
    background-size: cover;
    background-position: 58% center;
  }

  .hero-frame {
    gap: 22px;
    padding: 48px 0 28px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 2.36rem;
    line-height: 1.22;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: min(100%, 350px);
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 0.96rem;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px;
  }

  .info-card,
  .service-card,
  .form-panel {
    padding: 22px;
  }

  .card-grid.four,
  .step-grid,
  .form-grid,
  #contact .form-grid,
  .compact-grid.six,
  .case-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .proof-grid div,
  .proof-grid div:first-child {
    min-height: auto;
    padding: 18px 20px;
    border-left: 1px solid var(--line);
  }

  .section-grid {
    gap: 28px;
  }

  .section-body {
    gap: 16px;
  }

  .section-title {
    font-size: 1.92rem;
    line-height: 1.32;
  }

  .info-card,
  .service-card,
  .step-grid article {
    min-height: auto;
  }

  #services .service-card {
    min-height: auto;
    padding: 24px;
  }

  #services .service-card p {
    min-height: auto;
  }

  #services .service-card ul {
    margin-bottom: 22px;
  }

  .check-stack {
    grid-template-columns: 1fr;
  }

  .section-support {
    padding: 20px;
  }

  .section-band,
  .process-summary {
    display: grid;
    justify-items: start;
  }

  .process-summary {
    grid-template-columns: 1fr;
  }

  .form-summary {
    grid-template-columns: 1fr;
  }

  .faq-item button {
    min-height: 60px;
    padding: 0 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

  .floating-contact {
    display: grid;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand span span {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .btn {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
