:root {
  --paper: #f6f0e4;
  --paper-strong: #fffaf1;
  --ink: #132235;
  --ink-soft: #395066;
  --accent: #b58a47;
  --accent-deep: #8d6530;
  --line: rgba(19, 34, 53, 0.12);
  --panel: rgba(255, 250, 241, 0.82);
  --shadow: 0 24px 60px rgba(19, 34, 53, 0.14);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville,
    Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(181, 138, 71, 0.14), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(38, 85, 112, 0.12), transparent 26%),
    linear-gradient(180deg, #fbf6eb 0%, var(--paper) 42%, #efe6d6 100%);
  font-family: var(--sans);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)),
    repeating-linear-gradient(
      90deg,
      rgba(19, 34, 53, 0.015),
      rgba(19, 34, 53, 0.015) 1px,
      transparent 1px,
      transparent 24px
    );
  opacity: 0.45;
}

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

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

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.noscript-banner {
  padding: 0.9rem 1rem;
  background: #1d334d;
  color: #fff;
  text-align: center;
  font-size: 0.94rem;
}

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

.section {
  padding: 4.8rem 0;
  position: relative;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.section-text {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #c9a25e);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(181, 138, 71, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(19, 34, 53, 0.1);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 235, 0.74);
  border-bottom: 1px solid rgba(19, 34, 53, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand img {
  width: 72px;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(19, 34, 53, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav a {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(19, 34, 53, 0.08);
  color: var(--ink);
}

.nav-toggle,
.filter-chip {
  border: 0;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(19, 34, 53, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.hero {
  padding-top: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 1.75rem;
  align-items: center;
}

.hero-copy {
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  margin: 1.15rem 0 0;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-meta {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.meta-card {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(19, 34, 53, 0.06);
}

.meta-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.meta-card span {
  color: var(--ink);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 9% 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(181, 138, 71, 0.22), transparent 58%),
    radial-gradient(circle at 30% 25%, rgba(49, 86, 110, 0.16), transparent 42%);
  filter: blur(8px);
}

.logo-panel {
  position: absolute;
  inset: 2rem 4.8rem 8rem 2.2rem;
  padding: 1.25rem;
}

.logo-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-visual {
  position: absolute;
  width: min(44%, 320px);
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 44px rgba(19, 34, 53, 0.2);
}

.floating-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-visual-top {
  top: 1.1rem;
  right: 0;
  transform: rotate(4deg);
}

.floating-visual-bottom {
  left: 0;
  bottom: 0;
  transform: rotate(-4deg);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.4rem;
}

.trust-strip > div {
  padding: 0.4rem 0.2rem;
}

.trust-strip p {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.trust-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(181, 138, 71, 0.16);
  color: var(--accent-deep);
  font-weight: 800;
}

.service-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.filter-chip {
  min-height: 44px;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(19, 34, 53, 0.08);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.services-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.legal-link,
.policy-card,
.step-card,
.contact-copy,
.map-card {
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 54px rgba(19, 34, 53, 0.18);
}

.service-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem 1.2rem 1.35rem;
}

.service-card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.06;
}

.service-card-body p {
  margin: 0;
  color: var(--ink-soft);
}

.card-category,
.price-chip,
.map-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.card-category {
  background: rgba(49, 86, 110, 0.1);
  color: #2f5c72;
  font-size: 0.85rem;
  font-weight: 700;
}

.price-chip {
  margin-top: auto;
  background: rgba(181, 138, 71, 0.16);
  color: var(--accent-deep);
  font-weight: 700;
}

.service-card.is-hidden {
  display: none;
}

.process-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card,
.policy-card {
  padding: 1.45rem;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.step-card h3,
.policy-card h3,
.contact-copy h2,
.map-card h3,
.legal-link strong,
.legal-article h1,
.legal-copy h2 {
  font-family: var(--serif);
}

.step-card h3,
.policy-card h3,
.map-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
}

.step-card p,
.policy-card li,
.contact-copy p,
.map-card p,
.legal-link span,
.footer-grid p,
.legal-copy li,
.legal-copy p {
  color: var(--ink-soft);
}

.policy-card ul,
.legal-copy ul {
  margin: 0;
  padding-left: 1.1rem;
}

.policy-card li + li,
.legal-copy li + li {
  margin-top: 0.45rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
}

.contact-copy,
.map-card {
  padding: 1.65rem;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.contact-list > div {
  padding: 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.map-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(13, 27, 42, 0.92), rgba(35, 66, 90, 0.86)),
    radial-gradient(circle at top left, rgba(181, 138, 71, 0.38), transparent 34%);
  color: #fff;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.map-card-content {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.map-badge {
  margin-bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fce7b7;
  font-weight: 700;
}

.map-card p {
  color: rgba(255, 255, 255, 0.78);
}

.legal-grid {
  margin-top: 0.5rem;
}

.legal-link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 180px;
  padding: 1.35rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.legal-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 54px rgba(19, 34, 53, 0.16);
}

.legal-link strong {
  font-size: 1.45rem;
  line-height: 1.08;
}

.site-footer {
  padding: 2rem 0 3.2rem;
  border-top: 1px solid rgba(19, 34, 53, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.page-hero {
  padding: 3rem 0 1.6rem;
}

.page-hero .panel {
  padding: 1.7rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.page-hero p {
  margin: 0.9rem 0 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

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

.legal-article,
.legal-sidebar {
  padding: 1.55rem;
}

.legal-article h1 {
  margin: 0 0 0.75rem;
  font-size: 2.15rem;
}

.legal-copy h2 {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.55rem;
}

.legal-copy h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.legal-copy p {
  margin: 0;
}

.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p,
.legal-copy ul + h2 {
  margin-top: 0.8rem;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
}

.legal-sidebar h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
}

.legal-sidebar p {
  color: var(--ink-soft);
}

.sidebar-points {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.sidebar-points div {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.sidebar-points strong {
  display: block;
  margin-bottom: 0.22rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.doc-links {
  display: grid;
  gap: 0.55rem;
}

.doc-links a {
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
}

.doc-links a.is-current {
  background: rgba(181, 138, 71, 0.16);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .hero-grid,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .legal-grid,
  .process-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 520px;
  }

  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.9rem 0;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.35rem 0 0;
  }

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

  .site-nav a {
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.6);
  }

  .trust-strip,
  .hero-meta,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4rem 0;
  }

  .services-grid,
  .legal-grid,
  .process-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .contact-copy,
  .map-card,
  .legal-article,
  .legal-sidebar,
  .page-hero .panel {
    padding: 1.2rem;
  }

  .hero-visual {
    min-height: 440px;
  }

  .logo-panel {
    inset: 1rem 2rem 6rem 1rem;
  }

  .floating-visual {
    width: min(52%, 240px);
  }
}
