:root {
  --ink: #f6f8f7;
  --muted: rgba(246, 248, 247, 0.7);
  --line: rgba(255, 255, 255, 0.16);
  --bg: #070909;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --accent: #67c988;
  --accent-soft: rgba(103, 201, 136, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(103, 201, 136, 0.14), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(124, 199, 215, 0.12), transparent 32rem),
    linear-gradient(145deg, #070909 0%, #111716 58%, #090c0c 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  width: min(1500px, calc(100% - 40px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 0 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.brand {
  display: inline-flex;
  width: clamp(150px, 18vw, 220px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.domain-switch,
.site-footer a,
.contact-card a,
.privacy-form a {
  text-decoration: none;
}

.site-nav a:hover,
.domain-switch:hover,
.site-footer a:hover,
.contact-card a:hover,
.privacy-form a:hover {
  color: #fff;
}

.domain-switch {
  display: inline-flex;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
}

.domain-switch:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: #fff;
  color: #08100f;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(22px, 4vw, 62px);
  align-items: end;
  min-height: min(740px, calc(100vh - 150px));
  padding: clamp(30px, 6vw, 80px) 0 62px;
}

.hero-copy {
  padding-bottom: clamp(20px, 4vw, 54px);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

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

.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: #fff;
  color: #08100f;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero-media {
  position: relative;
  min-height: clamp(320px, 39vw, 510px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(0.25) brightness(0.68);
  transform: scale(1.02);
  transition: filter 550ms ease, transform 650ms ease;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 9, 0.02), rgba(7, 9, 9, 0.42)),
    linear-gradient(90deg, rgba(7, 9, 9, 0.4), transparent 55%);
  transition: opacity 500ms ease;
}

.hero-media:hover img,
.hero-media:focus-within img {
  filter: grayscale(0) saturate(1.08) brightness(0.92);
  transform: scale(1.07);
}

.hero-media:hover::after,
.hero-media:focus-within::after {
  opacity: 0.82;
}

.section {
  padding: clamp(58px, 8vw, 110px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.intro-section {
  padding-top: clamp(36px, 5vw, 72px);
}

.narrative-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(420px, 0.66fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.narrative-section h2 {
  position: sticky;
  top: 28px;
}

.text-stack {
  display: grid;
  gap: 22px;
}

.section-lead {
  max-width: 900px;
  margin: 0;
  color: rgba(246, 248, 247, 0.86);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  font-weight: 600;
  line-height: 1.65;
  text-wrap: balance;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 26px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p,
.split-section > div p,
.contact-section > div p,
.privacy-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.service-card,
.process-list li,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  min-height: 250px;
  padding: 24px;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--panel-strong);
}

.service-rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.08;
}

.service-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(360px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.privacy-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(420px, 0.62fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.privacy-heading {
  margin-bottom: 26px;
}

.privacy-copy {
  display: grid;
  gap: 18px;
}

.privacy-form {
  display: grid;
  gap: 18px;
  width: min(100%, 940px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.privacy-form label {
  display: grid;
  gap: 8px;
  color: rgba(246, 248, 247, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.privacy-form input,
.privacy-form select,
.privacy-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 11px 12px;
}

.privacy-form select {
  color: var(--ink);
}

.privacy-form option {
  background: #111716;
  color: var(--ink);
}

.privacy-form textarea {
  resize: vertical;
}

.privacy-form input:focus,
.privacy-form select:focus,
.privacy-form textarea:focus {
  border-color: rgba(103, 201, 136, 0.72);
  outline: 2px solid rgba(103, 201, 136, 0.24);
  outline-offset: 2px;
}

.privacy-form small,
.form-note,
.privacy-notice,
.form-status {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.55;
}

.form-wide,
.privacy-notice,
.privacy-form .button,
.form-status {
  grid-column: 1 / -1;
}

.privacy-form .button {
  justify-self: start;
  cursor: pointer;
}

.checkbox-field {
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.privacy-notice {
  margin: 0;
  padding-top: 4px;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: rgba(255, 190, 174, 0.95);
  font-weight: 700;
}

.form-status[data-status="success"] {
  color: rgba(188, 239, 204, 0.95);
}

.privacy-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-media {
  position: relative;
  width: min(100%, 680px);
  min-height: clamp(240px, 32vw, 420px);
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  filter: grayscale(1) saturate(0.3) brightness(0.78);
}

.about-copy {
  max-width: none;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-lead {
  color: rgba(246, 248, 247, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 700;
  line-height: 1.55;
}

@media (min-width: 981px) {
  .about-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.56fr) minmax(300px, 0.44fr);
    column-gap: clamp(32px, 6vw, 92px);
    align-items: start;
  }

  .about-copy h2,
  .about-copy p,
  .linkedin-link {
    grid-column: 1;
  }

  .about-media {
    grid-column: 2;
    grid-row: 1 / span 5;
    justify-self: end;
    width: min(100%, 520px);
    min-height: clamp(260px, 26vw, 360px);
    margin: 0;
  }
}

.linkedin-link {
  width: fit-content;
  min-height: 42px;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.linkedin-link:hover {
  color: var(--accent);
}

.linkedin-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.9);
  color: #08100f;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
  row-gap: 8px;
  padding: 22px;
}

.process-list span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 800;
}

.process-list strong {
  font-size: 1.18rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  width: min(100%, 840px);
  padding: clamp(24px, 3vw, 34px);
  font-style: normal;
  color: var(--muted);
}

.contact-card strong {
  color: #fff;
  font-size: 1.2rem;
}

.company-details {
  display: grid;
  gap: 10px;
  margin: 8px 0 4px;
}

.company-details div {
  display: grid;
  grid-template-columns: minmax(118px, 0.34fr) 1fr;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details dt,
.company-details dd {
  margin: 0;
}

.company-details dt {
  color: rgba(246, 248, 247, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company-details dd {
  color: rgba(246, 248, 247, 0.86);
  line-height: 1.45;
}

.contact-card a {
  width: fit-content;
  color: #fff;
  font-weight: 800;
}

.privacy-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-media {
    min-height: 430px;
  }

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

  .section-heading,
  .narrative-section,
  .split-section,
  .about-section,
  .privacy-content,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    gap: 18px;
    padding-top: 20px;
  }

  .brand {
    width: min(176px, 56vw);
  }

  .domain-switch {
    justify-self: end;
    font-size: 0.78rem;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .language-switcher button {
    min-width: 38px;
    min-height: 32px;
    padding: 6px 8px;
  }

  h1 {
    font-size: clamp(2.25rem, 4.5vw, 4.9rem);
  }

  .hero {
    padding-top: 28px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-media img {
    transform: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 300px;
  }

  .process-list span {
    grid-row: auto;
  }

  .company-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

@media (max-width: 540px) {
  h1 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
