:root {
  --ink: #4a5960;
  --ink-soft: rgba(74, 89, 96, 0.72);
  --line: rgba(74, 89, 96, 0.16);
  --paper: #fdfdfb;
  --paper-alt: #f9f9f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.68;
}

h1, h2, h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}
strong { font-weight: 600; }
a { color: inherit; text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: "Outfit", sans-serif; font-weight: 600; }
.brand-mark {
  width: 34px;
  height: 32px;
}
.brand-wordmark {
  width: 118px;
  height: auto;
}

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.language-switcher { margin-left: 1rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; display: flex; gap: 0.45rem; align-items: center; }
.language-switcher a { opacity: 0.45; }
.language-switcher a.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.mobile-language-switcher { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  padding: 0.88rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.button.small { padding: 0.62rem 1rem; }

.mobile-toggle { display: none; margin-left: auto; background: transparent; border: 0; width: 38px; height: 38px; padding: 0; }
.mobile-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to left, rgba(253, 253, 251, 0.16), rgba(253, 253, 251, 0.96) 56%), var(--hero-bg);
  background-size: cover;
  background-position: center right;
  filter: grayscale(25%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  padding: 7rem 0 6rem;
}
.hero-main {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(74, 89, 96, 0.2);
}
.badge {
  display: inline-block;
  padding: 0.32rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 9.2vw, 6.7rem);
  line-height: 0.88;
}
.hero-line { display: block; }
.hero-line-mid {
  font-style: italic;
  font-weight: 300;
  opacity: 0.82;
}
.hero-subtitle {
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.74;
  margin-top: 1.4rem;
}
.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.hero-link {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(74, 89, 96, 0.72);
}
.hero-link:hover { color: var(--ink); }
.hero-meta {
  background: rgba(255, 255, 255, 0.84);
  padding: 2rem;
  border: 1px solid var(--line);
  display: grid;
  gap: 1.35rem;
}
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  border-bottom: 1px solid rgba(74, 89, 96, 0.12);
  padding-bottom: 0.45rem;
}
.hero-meta-row strong { font-size: 1rem; font-weight: 600; }
.hero-values ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 0.9rem;
}
.hero-values li {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(74, 89, 96, 0.9);
  position: relative;
  padding-left: 0.8rem;
}
.hero-values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(74, 89, 96, 0.76);
}
.hero-meta label, .section-label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.58;
  display: block;
}

.services {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(rgba(249, 249, 247, 0.98), rgba(249, 249, 247, 0.98)), var(--services-bg) center/cover;
  padding: 6.5rem 0;
}
.services-head {
  margin-bottom: 4rem;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid rgba(74, 89, 96, 0.2);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
}
.services-head-main h2 { font-size: clamp(2.4rem, 6vw, 3.45rem); margin-top: 0.2rem; }
.services-head-side p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  line-height: 1.78;
}

.service-list { display: grid; gap: 2.25rem; }
.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.35fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  box-shadow: 0 18px 34px rgba(74, 89, 96, 0.08);
  border-color: rgba(74, 89, 96, 0.28);
  transform: translateY(-2px);
}
.service-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #4a5960;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover .service-accent { opacity: 1; }
.service-id h3 { font-size: 1.9rem; margin: 0.48rem 0 0; }
.service-id small,
.service-scope small,
.service-specs small {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.56;
}
.service-scope p {
  margin: 0.55rem 0 0;
  line-height: 1.75;
  color: rgba(74, 89, 96, 0.84);
}
.service-specs {
  background: #fafafa;
  border: 1px solid rgba(74, 89, 96, 0.08);
  padding: 1.3rem 1.35rem;
}
.service-specs ul { margin: 0.65rem 0 0; padding-left: 1.1rem; }
.service-specs li {
  margin: 0.5rem 0;
  line-height: 1.62;
  color: rgba(74, 89, 96, 0.9);
}

.about {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 6.5rem 0;
}
.about-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
}
.about-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--ink);
}
.about-lines span:first-child { left: 10%; }
.about-lines span:last-child { right: 10%; }
.about-wrap { position: relative; z-index: 1; }
.about-head {
  padding-bottom: 2rem;
  margin-bottom: 3.6rem;
  border-bottom: 1px solid rgba(74, 89, 96, 0.2);
}
.about-head h2 { font-size: clamp(2.4rem, 6vw, 3.35rem); margin-top: 0.35rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
}
.about-copy {
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(74, 89, 96, 0.92);
}
.about-copy p { line-height: 1.8; margin: 0 0 1.45rem; }
.about-copy ul {
  margin: 0.6rem 0 0;
  padding-left: 1.3rem;
  line-height: 1.85;
}
.about-copy li { margin: 0.38rem 0; }
.about-copy blockquote {
  margin: 2rem 0 0;
  border-top: 1px solid rgba(74, 89, 96, 0.14);
  padding-top: 1.35rem;
  opacity: 0.8;
  font-style: italic;
  font-family: "Times New Roman", serif;
  font-size: 0.97rem;
}
.about-card {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  padding: 2.3rem 2.4rem;
  align-self: start;
  position: sticky;
  top: 98px;
  box-shadow: 0 8px 24px rgba(74, 89, 96, 0.05);
}
.card-corner {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(74, 89, 96, 0.05);
}
.card-corner.top {
  top: 0;
  right: 0;
  border-left: 1px solid rgba(74, 89, 96, 0.12);
  border-bottom: 1px solid rgba(74, 89, 96, 0.12);
}
.card-corner.bottom {
  bottom: 0;
  left: 0;
  border-right: 1px solid rgba(74, 89, 96, 0.12);
  border-top: 1px solid rgba(74, 89, 96, 0.12);
}
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.meta-grid small { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
.meta-grid p { margin: 0.34rem 0 0; font-weight: 600; font-size: 0.92rem; }
.signature {
  margin-top: 2rem;
  border-top: 1px solid rgba(74, 89, 96, 0.2);
  padding-top: 1.4rem;
}
.signature .name {
  font-size: 1.42rem;
  font-family: "Outfit", sans-serif;
  font-style: italic;
  margin: 0.4rem 0 0.28rem;
}
.signature p:last-child {
  font-size: 0.78rem;
  opacity: 0.76;
}

.contact { padding: 6.5rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 4rem;
}
.contact h2 { font-size: clamp(2rem, 6vw, 3.3rem); }
#contact-form {
  display: grid;
  gap: 1.3rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #ffffff, #f9f9f7);
}
#contact-form label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  display: grid;
  gap: 0.35rem;
}
#contact-form input,
#contact-form textarea {
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: rgba(74, 89, 96, 0.32);
  box-shadow: 0 0 0 3px rgba(74, 89, 96, 0.1);
  transform: translateY(-1px);
}
#contact-form textarea { min-height: 140px; resize: vertical; }
.form-field { display: grid; gap: 0.35rem; }
.form-status {
  margin: 0;
  min-height: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.form-status.success { color: #147455; }
.form-status.error { color: #aa2f2f; }
#contact-form button:disabled {
  opacity: 0.6;
  pointer-events: none;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 2rem;
  align-self: start;
  display: grid;
  gap: 1.8rem;
}
.contact-card small { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.58; }
.contact-card a { display: block; font-weight: 600; margin-top: 0.35rem; }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 5.25rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1.55fr) minmax(140px, 0.7fr) minmax(140px, 0.7fr) minmax(200px, 0.9fr);
  gap: 3.25rem;
  align-items: start;
}
.footer-brand { max-width: 390px; }
.footer-mark { width: 48px; height: auto; display: block; margin-bottom: 1.45rem; }
.footer-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0 0 1.05rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.footer-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.82;
}
.footer-copy + .footer-copy { margin-top: 1.05rem; }
.footer-location {
  margin: 1.45rem 0 0;
  font-size: 0.9rem;
  color: rgba(74, 89, 96, 0.62);
  line-height: 1.75;
}
.footer-col h4 {
  margin: 0 0 1.1rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
.footer-col a,
.footer-col span {
  display: block;
  margin: 0.58rem 0;
  color: var(--ink-soft);
  font-weight: 500;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.privacy {
  background: var(--paper);
  min-height: 70vh;
  padding: 6rem 0;
}
.privacy-content {
  max-width: 760px;
  border-bottom: 1px solid var(--line);
}
.privacy h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
.updated { opacity: 0.6; font-style: italic; }
.lead { font-size: 1.1rem; }
.privacy article { margin: 2rem 0; }
.privacy h2 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; }
.back-link { margin: 2.5rem 0; }
.back-link a { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  z-index: 140;
}
.cookie-inner {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.cookie-inner p { margin: 0; }
.cookie-actions { display: flex; gap: 0.6rem; }
.ghost {
  border: 1px solid transparent;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
  color: var(--ink-soft);
}

@media (max-width: 1030px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .services-head {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    margin-bottom: 2.5rem;
  }
  .service-card { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 6rem 0 5rem; gap: 2rem; }
  .hero-main { padding-bottom: 0; border-bottom: 0; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-meta { padding: 1.5rem; }
  .hero-values ul { grid-template-columns: 1fr; }
  .about-head {
    margin-bottom: 2.4rem;
    padding-bottom: 1.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.25rem;
  }
  .about-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 820px) {
  .mobile-toggle { display: block; }
  .desktop-language-switcher { display: none; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 1rem 1.5rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .mobile-language-switcher {
    width: 100%;
    display: flex;
    margin: 0.45rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(74, 89, 96, 0.12);
    margin-left: 0;
  }
  .main-nav.open { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .site-footer { padding-top: 4rem; }
  .hero {
    min-height: auto;
  }
  .hero::before {
    background-image:
      linear-gradient(to bottom, rgba(253, 253, 251, 0.94) 0%, rgba(253, 253, 251, 0.88) 44%, rgba(253, 253, 251, 0.68) 100%),
      var(--hero-bg);
    background-position: center top;
    filter: grayscale(20%);
  }
  .hero-grid {
    padding: 5.3rem 0 4.2rem;
    gap: 1.35rem;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.45rem);
    line-height: 0.92;
  }
  .hero-subtitle { font-size: 1.06rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .hero-meta {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.2rem;
    gap: 1rem;
  }
  .hero-meta-row {
    padding-bottom: 0.35rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-col { padding-top: 0.5rem; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
