:root {
  --bg: #ffffff;
  --surface: #f6f6f4;
  --surface-strong: #efefec;
  --text: #444444;
  --text-strong: #262626;
  --text-soft: #6f6f6f;
  --line: rgba(68, 68, 68, 0.12);
  --nav: rgba(255, 255, 255, 0.96);
  --nav-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  --hero-overlay: rgba(34, 34, 34, 0.32);
  --button: #444444;
  --button-hover: #2f2f2f;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--text-strong);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--text);
  text-decoration: none;
}

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

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

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: clip;
  background: #222222;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 20, 20, 0.16));
}

.hero-media__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), var(--hero-overlay));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0 112px;
  text-align: center;
  color: #ffffff;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 11ch;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.site-nav-shell {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-nav-shell.is-stuck,
.site-nav-shell--subpage {
  box-shadow: var(--nav-shadow);
  border-bottom-color: var(--line);
}

.site-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 56px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle__icon span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: 86px 0;
}

.section-intro,
.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-intro h1,
.section-intro h2,
.section-heading h2,
.highlight-copy h2,
.concluding-box h2 {
  margin: 0 0 14px;
  color: var(--text-strong);
  line-height: 1.15;
}

.section-intro h1,
.section-intro h2,
.section-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}

.section-intro p,
.section-heading p,
.service-card p,
.highlight-copy p,
.highlight-note p,
.process-card p,
.detail-card p,
.concluding-box p,
.legal-card p,
.footer-row p {
  color: var(--text-soft);
}

.services-section,
.subpage-title {
  background: var(--surface);
}

.services-grid,
.process-grid,
.detail-grid,
.legal-layout,
.footer-row {
  display: grid;
  gap: 28px;
}

.services-grid {
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  text-align: center;
  padding: 12px 24px 0;
}

.service-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
}

.service-card h3,
.process-card h3,
.detail-card h3,
.legal-card h2 {
  margin: 0 0 10px;
  color: var(--text-strong);
}

.legal-card h3 {
  margin: 24px 0 10px;
  color: var(--text-strong);
  line-height: 1.3;
}

.legal-card h2,
.legal-card p {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid var(--button);
  background: var(--button);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--button-hover);
  border-color: var(--button-hover);
}

.button--light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.button--light:hover,
.button--light:focus-visible {
  background: #ffffff;
  color: var(--text-strong);
}

.button--secondary {
  background: transparent;
  color: var(--text-strong);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: #ffffff;
}

.section-highlight {
  background: #333333;
  color: #ffffff;
}

.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.highlight-copy h2,
.highlight-copy p,
.highlight-note p {
  color: #ffffff;
}

.highlight-note {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.process-grid {
  margin-top: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-card,
.detail-card,
.legal-card,
.concluding-box {
  border: 1px solid var(--line);
  background: #ffffff;
}

.process-card,
.detail-card,
.legal-card {
  padding: 28px;
}

.process-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.detail-section {
  background: var(--surface);
}

.pricing-section {
  background: #ffffff;
  padding-bottom: 28px;
}

.concluding-section {
  padding-top: 28px;
}

.pricing-grid {
  margin-top: 40px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-value {
  margin-top: auto;
  padding-top: 18px;
  text-align: center;
}

.pricing-amount {
  display: block;
  color: var(--text-strong);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.pricing-suffix {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.2;
}

.pricing-note {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--text-soft);
}

.detail-grid,
.legal-layout {
  margin-top: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-layout--single {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.legal-layout--single .legal-card {
  padding: 36px;
}

.legal-layout--single h3,
.legal-layout--single h4 {
  margin: 24px 0 10px;
  color: var(--text-strong);
  line-height: 1.25;
}

.legal-layout--single ul {
  margin: 12px 0 12px 22px;
  padding: 0;
}

.legal-layout--single li + li {
  margin-top: 8px;
}

.concluding-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px;
  text-align: center;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.subpage-title {
  padding: 68px 0 42px;
}

.subpage-title .section-intro {
  max-width: 820px;
}

.legal-section {
  padding-top: 42px;
}

.placeholder {
  color: #a94442;
  font-style: italic;
}

code {
  padding: 2px 6px;
  background: rgba(68, 68, 68, 0.08);
  border: 1px solid rgba(68, 68, 68, 0.1);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95em;
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-row > .footer-nav:only-child {
  justify-self: end;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .services-grid,
  .process-grid,
  .detail-grid,
  .legal-layout,
  .highlight-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 68svh;
  }

  .site-nav-row {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

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

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 4px;
  }

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

  .site-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .services-grid,
  .process-grid,
  .detail-grid,
  .legal-layout {
    margin-top: 36px;
  }

  .legal-layout--single .legal-card {
    padding: 28px 22px;
  }

  .section {
    padding: 68px 0;
  }

  .pricing-section {
    padding-bottom: 20px;
  }

  .concluding-section {
    padding-top: 20px;
  }

  .service-card {
    padding-left: 0;
    padding-right: 0;
  }

  .concluding-box {
    padding: 32px 24px;
  }

  .contact-cta__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
