:root {
  --ink: #20282c;
  --ink-soft: #4f5a60;
  --line: #d8dcda;
  --paper: #f5f4f0;
  --paper-deep: #ebeae5;
  --white: #ffffff;
  --accent: #5f737b;
  --accent-dark: #3d5058;
  --accent-pale: #dde4e4;
  --success: #315f4e;
  --danger: #8a3f3f;
  --shadow: 0 18px 48px rgba(31, 40, 44, 0.10);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(95, 115, 123, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

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

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

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 220, 218, 0.9);
  background: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 1rem;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 13px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-deep);
}

.nav-contact {
  margin-left: 6px;
  color: var(--white) !important;
  background: var(--ink) !important;
}

.nav-contact:hover {
  background: var(--accent-dark) !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle i {
  font-size: 1.4rem;
}

main {
  min-height: 60vh;
}

.hero {
  padding: 72px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 62px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  content: "";
  background: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  font-weight: 690;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 680;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  border-color: #b9c1be;
  background: var(--paper-deep);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  background: var(--paper-deep);
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: transparent;
}

.button-ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 660px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-note i {
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 1.15rem;
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  border-radius: 26px;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 550px;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
}

.media-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(25, 31, 34, 0.02) 35%, rgba(25, 31, 34, 0.55) 100%);
}

.media-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
}

.media-caption strong {
  display: block;
  font-size: 1.05rem;
}

.media-caption a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--paper-deep);
}

.section-dark {
  color: rgba(255, 255, 255, 0.84);
  background: var(--ink);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.07rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

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

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

.info-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
}

.info-card i,
.contact-icon,
.step-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-dark);
  background: var(--accent-pale);
  font-size: 1.35rem;
}

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

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

.process-step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.step-number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 800;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
}

.split-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.62);
}

.check-list,
.plain-list,
.legal-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.check-list i {
  margin-top: 4px;
  color: var(--success);
  font-size: 1.2rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 46px 50px;
  border-radius: 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.cta-band p {
  max-width: 720px;
  margin: 0;
}

.page-hero {
  padding: 68px 0 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs i {
  font-size: 0.7rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 60px;
}

.page-hero-art {
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
}

.page-hero-art img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.66);
}

.kicker-box {
  padding: 24px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  background: var(--paper-deep);
}

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

.value-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(31, 40, 44, 0.06);
}

.value-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

.service-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.service-card > i {
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 2rem;
}

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

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid #cbd3d0;
  border-radius: 14px;
  color: var(--ink-soft);
  background: #edf1ef;
}

.notice i {
  margin-top: 3px;
  color: var(--accent-dark);
  font-size: 1.25rem;
}

.notice p {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
}

.contact-panel,
.form-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-details {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.contact-detail {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.contact-detail .contact-icon {
  margin: 0;
}

.contact-detail strong {
  display: block;
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail address {
  margin: 0;
  color: var(--ink-soft);
  font-style: normal;
}

.contact-detail a {
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.field label,
.checkbox-field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd0ce;
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}

.field input,
.field select {
  height: 50px;
  padding: 0 13px;
}

.field textarea {
  min-height: 150px;
  padding: 12px 13px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 20px;
  color: var(--danger);
  font-size: 0.8rem;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  color: var(--success);
  font-weight: 650;
}

.form-fineprint {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

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

.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.legal-toc strong {
  margin-bottom: 8px;
}

.legal-toc a {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--ink);
  background: var(--paper-deep);
}

.legal-content section {
  padding: 0 0 36px;
  scroll-margin-top: 112px;
}

.legal-content h2 {
  font-size: 1.65rem;
}

.legal-content h3 {
  margin-top: 24px;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content ul {
  padding-left: 20px;
}

.site-footer {
  padding: 68px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #171d20;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr;
  gap: 42px;
  padding-bottom: 44px;
}

.footer-brand .brand-name,
.footer-heading {
  color: var(--white);
}

.footer-brand p {
  max-width: 400px;
  margin: 20px 0 0;
}

.footer-heading {
  margin-bottom: 13px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  width: min(calc(100% - 44px), 500px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.78);
  background: #1b2327;
  box-shadow: 0 20px 60px rgba(14, 18, 20, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 1.2rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 0.86rem;
}

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

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

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    padding: 24px 20px;
    overflow-y: auto;
    background: var(--paper);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.02rem;
  }

  .nav-contact {
    margin: 14px 0 0;
    border-radius: 10px !important;
    text-align: center;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .media-card,
  .media-card img {
    min-height: 460px;
  }

  .page-hero-grid {
    align-items: start;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .brand-tagline {
    display: none;
  }

  .site-nav {
    top: 72px;
  }

  .hero,
  .page-hero {
    padding: 48px 0 58px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
  }

  .section {
    padding: 68px 0;
  }

  .card-grid,
  .card-grid-three,
  .service-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .media-card,
  .media-card img,
  .split-media,
  .split-media img {
    min-height: 380px;
  }

  .page-hero-art,
  .page-hero-art img {
    min-height: 300px;
  }

  .info-card,
  .service-card {
    min-height: 0;
  }

  .cta-band,
  .contact-panel,
  .form-panel {
    padding: 28px 22px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-toc strong {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
