:root {
  --ink: #12201d;
  --muted: #64716d;
  --paper: #f7f4ec;
  --panel: #ffffff;
  --line: #d8ded8;
  --green: #1f5d4e;
  --green-dark: #173f36;
  --blue: #1f5a7a;
  --amber: #cf8d2c;
  --red: #a33d2f;
  --shadow: 0 22px 60px rgba(18, 32, 29, 0.16);
  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);
  overflow-x: hidden;
}

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

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

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(247, 244, 236, 0.92);
  border-bottom: 1px solid rgba(18, 32, 29, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: white;
  background: var(--green-dark);
  border-radius: 6px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.nav a,
.lang-switch {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #253530;
  font-weight: 750;
  font-size: 14px;
}

.nav a:hover,
.lang-switch:hover {
  border-color: var(--line);
  background: white;
}

.lang-switch {
  cursor: pointer;
  background: white;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #10201c;
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 25, 21, 0.96), rgba(11, 25, 21, 0.72) 46%, rgba(11, 25, 21, 0.22)),
    linear-gradient(0deg, rgba(11, 25, 21, 0.5), transparent 35%);
}

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

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 100%);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 72px);
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 850;
  line-height: 1.1;
}

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

.button.secondary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(680px, 100%);
  margin-top: 34px;
}

.hero-facts div,
.proof-card,
.prep-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts div {
  padding: 16px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 28px;
}

.hero-facts span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
  color: white;
}

.quick-strip a {
  min-width: 0;
  padding: 20px clamp(14px, 3vw, 30px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

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

.quick-strip span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.quick-strip strong {
  margin-top: 6px;
  font-size: clamp(16px, 2vw, 20px);
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 32px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.intent-tab {
  min-height: 46px;
  padding: 12px 16px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font-weight: 850;
}

.intent-tab.is-active {
  color: white;
  border-color: var(--green);
  background: var(--green);
}

.intent-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.panel-copy,
.contact-panel,
.proof-card,
.prep-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-copy {
  padding: clamp(24px, 4vw, 46px);
}

.panel-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.04;
}

.panel-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.panel-copy .button.ghost,
.panel-copy .button.primary,
.panel-copy .button.secondary,
.contact-panel a {
  color: white;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-grid li {
  display: flex;
  align-items: end;
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: var(--green-dark);
  font-size: 20px;
  font-weight: 850;
}

.service-grid li:nth-child(3n + 2) {
  background: var(--blue);
}

.service-grid li:nth-child(3n) {
  background: #72602b;
}

.proof {
  background: white;
}

.proof-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.proof-card {
  padding: 22px;
}

.proof-card strong {
  display: block;
  font-size: clamp(36px, 5vw, 60px);
}

.proof-card span {
  display: block;
  max-width: 24ch;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(220px, 28vw);
  gap: 12px;
}

.gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.gallery-main {
  grid-row: span 2;
}

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

.gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: white;
  background: rgba(18, 32, 29, 0.78);
  font-size: 14px;
  font-weight: 750;
}

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

.prep-grid article {
  padding: 24px;
}

.prep-grid span {
  color: var(--amber);
  font-weight: 900;
}

.prep-grid h3 {
  margin: 18px 0 10px;
  font-size: 26px;
}

.prep-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: start;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  color: white;
  background: var(--green-dark);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-panel a {
  padding: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

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

.contact-panel span {
  color: rgba(255, 255, 255, 0.66);
}

.contact-panel strong {
  margin-top: 6px;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px) 92px;
  color: rgba(255, 255, 255, 0.74);
  background: #0c1714;
}

.footer p {
  margin: 0;
}

.footer a {
  color: white;
  font-weight: 850;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  right: 14px;
  bottom: 14px;
  display: none;
  grid-template-columns: 1fr 0.72fr;
  gap: 8px;
  width: min(430px, calc(100vw - 28px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 6px;
  color: white;
  background: var(--red);
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.sticky-cta a:nth-child(2) {
  background: var(--blue);
}

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

  .nav {
    display: none;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(11, 25, 21, 0.96), rgba(11, 25, 21, 0.74));
  }

  .quick-strip,
  .intent-panel,
  .proof-layout,
  .prep-grid,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .gallery-main {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-content {
    min-height: calc(100vh - 64px);
    padding: 38px 16px 58px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(42px, 16vw, 62px);
  }

  .hero-actions .button,
  .panel-actions .button {
    width: 100%;
  }

  .hero-facts,
  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-column: auto;
  }

  .quick-strip a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(32px, 12vw, 44px);
  }

  .sticky-cta {
    display: grid;
  }

  .footer {
    display: block;
    padding-bottom: 88px;
  }

  .footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
