:root {
  --ink: #1f2024;
  --muted: #676b73;
  --line: #e4ded8;
  --paper: #fbfaf8;
  --soft: #f4efe9;
  --burgundy: #821e2c;
  --burgundy-dark: #5d101c;
  --gold: #b88a4a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 32, 36, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.site-header {
  align-items: center;
  background: rgba(251, 250, 248, 0.88);
  border-bottom: 1px solid rgba(228, 222, 216, 0.75);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(20px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 132px;
}

.brand img {
  height: 38px;
  object-fit: contain;
  object-position: left center;
  width: 118px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  color: #36383d;
}

.site-nav a:hover {
  color: var(--burgundy);
}

.language-switcher {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.language-switcher button {
  align-items: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  gap: 5px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 6px 8px;
}

.language-switcher .flag {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--white);
  border-color: var(--burgundy);
  box-shadow: inset 0 0 0 1px var(--burgundy);
  color: var(--burgundy);
}

.language-switcher button:hover {
  border-color: rgba(130, 30, 44, 0.5);
}

.nav-cta {
  border: 1px solid var(--burgundy);
  color: var(--burgundy) !important;
  padding: 9px 14px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 40px;
  padding: 8px;
  width: 40px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 19, 22, 0.88) 0%, rgba(18, 19, 22, 0.68) 38%, rgba(18, 19, 22, 0.1) 78%),
    linear-gradient(0deg, rgba(18, 19, 22, 0.5), rgba(18, 19, 22, 0.1));
}

.hero-content {
  color: var(--white);
  max-width: 780px;
  padding: 22vh clamp(20px, 5vw, 72px) 96px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  background: transparent;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  height: 46px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  width: 138px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(44px, 7vw, 82px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

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

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

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 96px clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.lead-copy {
  color: var(--muted);
  font-size: 18px;
}

.metrics {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.metrics article {
  border-top: 2px solid var(--burgundy);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 8px 28px rgba(31, 32, 36, 0.05);
}

.metrics strong {
  color: var(--burgundy);
  display: block;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 12px;
}

.metrics span,
.issue-grid p,
.service-grid p,
.timeline p,
.process-grid p,
.credibility-grid p,
.credibility-grid span {
  color: var(--muted);
}

.problem,
.framework,
.contact {
  background: var(--soft);
}

.issue-grid,
.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.issue-grid article,
.service-grid article,
.timeline article,
.process-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}

.issue-grid span,
.timeline span,
.process-grid span {
  color: var(--burgundy);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 900px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

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

.timeline {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

.timeline article {
  min-height: 260px;
}

.process-block {
  border-top: 1px solid rgba(130, 30, 44, 0.18);
  margin-top: 46px;
  padding-top: 44px;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p {
  background: var(--white);
  border-left: 3px solid var(--burgundy);
  box-shadow: 0 8px 24px rgba(31, 32, 36, 0.05);
  margin: 0;
  padding: 18px 20px;
}

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

.credibility-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
}

.credibility-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}

.credibility-grid strong {
  color: var(--burgundy);
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.contact-panel {
  background: #211f22;
  color: var(--white);
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(28px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

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

.contact-form label {
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
}

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

.contact-form textarea {
  resize: vertical;
}

.hp-field {
  display: none !important;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-status {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px !important;
  margin: 0;
}

.form-status.is-error {
  color: #ffb4b4;
}

.form-status.is-success {
  color: #b9f1ce;
}

.site-footer {
  align-items: center;
  background: #151518;
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.site-footer img {
  background: transparent;
  filter: brightness(0) invert(1);
  height: 38px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  width: 118px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 20px 24px;
    position: absolute;
    right: 0;
    top: 69px;
  }

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

  .split,
  .credibility-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 34px;
    width: 98px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 19, 22, 0.88), rgba(18, 19, 22, 0.72));
  }

  .hero-content {
    padding: 132px 20px 72px;
  }

  .hero-logo {
    height: 42px;
    margin-bottom: 24px;
    width: 128px;
  }

  h1 {
    font-size: 43px;
  }

  .section {
    padding: 72px 20px;
  }

  .metrics,
  .issue-grid,
  .service-grid,
  .timeline,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

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