:root {
  --color-ink: #121821;
  --color-body: #3f4855;
  --color-muted: #eef1f3;
  --color-line: #d8dde3;
  --color-white: #ffffff;
  --color-red: #a51f2b;
  --color-red-dark: #7c1822;
  --color-teal: #0f6b68;
  --color-gold: #b98b2c;
  --shadow: 0 18px 45px rgba(18, 24, 33, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--color-white);
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-red);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-line);
}

.topbar {
  color: var(--color-white);
  background: var(--color-ink);
  font-size: 0.82rem;
}

.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 2px;
  font-size: 0.94rem;
}

.brand__text {
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.nav-links a {
  padding: 12px 16px;
  color: var(--color-body);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-ink);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--color-white);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(18, 24, 33, 0.86) 0%, rgba(18, 24, 33, 0.58) 50%, rgba(18, 24, 33, 0.2) 100%),
    linear-gradient(0deg, rgba(18, 24, 33, 0.55), rgba(18, 24, 33, 0.08));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 108px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c461;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  text-align: center;
}

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

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

.button--secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button--secondary-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.34);
  background: #25303b;
}

.button--outline-dark {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.52);
  background: transparent;
}

.quick-panel {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.quick-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.quick-panel a {
  min-height: 138px;
  padding: 26px;
  border-right: 1px solid var(--color-line);
}

.quick-panel a:last-child {
  border-right: 0;
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel strong {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.quick-panel span {
  color: var(--color-body);
  font-size: 0.95rem;
}

.section {
  padding: 104px 0;
}

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

.section__intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__intro p:not(.eyebrow),
.feature-band__copy p,
.insights__main p,
.contact-grid p {
  color: var(--color-body);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.service-card__number {
  width: fit-content;
  margin-bottom: 54px;
  color: var(--color-teal);
  font-weight: 800;
}

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

.service-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--color-red);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.feature-band {
  padding: 88px 0;
  background: #f7f8f5;
}

.feature-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.feature-band__image {
  margin: 0;
}

.feature-band__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--color-body);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--color-gold);
}

.method {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
}

.method__steps {
  display: grid;
  gap: 16px;
}

.method__steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
  padding: 22px 0;
  border-top: 1px solid #cfd5da;
}

.method__steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-teal);
  font-weight: 800;
}

.method__steps h3,
.method__steps p {
  grid-column: 2;
}

.method__steps p {
  margin-bottom: 0;
  color: var(--color-body);
}

.insights {
  padding: 96px 0;
}

.insights__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.insights__main {
  padding-right: 24px;
}

.insights__list {
  border-top: 1px solid var(--color-line);
}

.insights__list a {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}

.insights__list span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-teal);
  font-size: 0.86rem;
  font-weight: 800;
}

.insights__list strong {
  font-size: 1.18rem;
}

.contact-section {
  padding: 96px 0;
  color: var(--color-white);
  background: var(--color-ink);
}

.contact-section .eyebrow {
  color: #f2c461;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 60px;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-details a,
.contact-details span {
  color: var(--color-white);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--color-white);
  color: var(--color-ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--color-body);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form .privacy-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.privacy-check a,
.form-note a {
  color: var(--color-red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin: 0;
  color: var(--color-body);
  font-size: 0.82rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--color-line);
  border-radius: 0;
  color: var(--color-ink);
  font: inherit;
  background: var(--color-white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 107, 104, 0.22);
  border-color: var(--color-teal);
}

.site-footer {
  padding: 34px 0;
  background: #070a0e;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-grid strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 6px;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.footer-links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.legal-hero {
  padding: 84px 0 58px;
  color: var(--color-white);
  background: var(--color-ink);
}

.legal-hero .eyebrow {
  color: #f2c461;
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 56px;
  padding: 76px 0;
}

.legal-nav {
  position: sticky;
  top: 118px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}

.legal-nav a {
  color: var(--color-body);
  font-weight: 800;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--color-red);
}

.legal-content {
  max-width: 860px;
}

.legal-content section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--color-line);
}

.legal-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.legal-content h3 {
  margin-top: 24px;
}

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

.legal-content a {
  color: var(--color-red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content pre {
  overflow-x: auto;
  padding: 16px;
  color: var(--color-white);
  background: var(--color-ink);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--color-muted);
}

.notice-box {
  padding: 20px;
  border-left: 4px solid var(--color-gold);
  background: #fff8e8;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(620px, calc(100% - 36px));
  padding: 22px;
  color: var(--color-white);
  background: var(--color-ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

.cookie-banner .eyebrow {
  color: #f2c461;
}

.cookie-banner h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner a {
  color: var(--color-white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-option input {
  margin-top: 4px;
}

.cookie-option strong {
  display: block;
  color: var(--color-white);
}

.cookie-option span {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
    gap: 4px;
  }

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

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--color-white);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 18px 30px rgba(18, 24, 33, 0.12);
  }

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

  .nav-links a {
    padding: 14px 0;
  }

  .quick-panel__grid,
  .services-grid,
  .feature-band__grid,
  .method,
  .insights__grid,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: 0;
  }

  .quick-panel__grid {
    width: 100%;
    box-shadow: none;
    border-bottom: 1px solid var(--color-line);
  }

  .quick-panel a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .feature-band__grid,
  .method,
  .insights__grid,
  .contact-grid,
  .legal-layout {
    gap: 36px;
  }

  .legal-nav {
    position: static;
  }
}

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

  .brand__text {
    max-width: 190px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero {
    min-height: 690px;
  }

  .hero__content {
    padding: 92px 0 68px;
  }

  .hero__actions,
  .hero__actions .button,
  .contact-form .button {
    width: 100%;
  }

  .section,
  .feature-band,
  .insights,
  .contact-section {
    padding: 70px 0;
  }

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

  .method__steps article {
    grid-template-columns: 46px 1fr;
  }

  .footer-grid,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding: 60px 0 42px;
  }

  .legal-layout {
    padding: 52px 0;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .cookie-banner {
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .cookie-banner__actions .button,
  .cookie-panel__actions .button {
    width: 100%;
  }
}
