:root {
  --ink: #18201e;
  --ink-soft: #5e6662;
  --forest: #173a35;
  --forest-deep: #0e2925;
  --orange: #f57c35;
  --orange-bright: #ff8a43;
  --cream: #f6f0e5;
  --paper: #fffaf1;
  --white: #ffffff;
  --line: rgba(24, 32, 30, 0.15);
  --shadow: 0 22px 60px rgba(28, 35, 31, 0.12);
  --radius: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.25rem, 7vw, 6.6rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(80px, 10vw, 144px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ff9b60;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:focus-visible,
.text-link:focus-visible,
nav a:focus-visible,
.language-switcher button:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

.button-primary {
  color: var(--forest-deep);
  background: var(--orange-bright);
  box-shadow: 0 12px 30px rgba(245, 124, 53, 0.27);
}

.button-primary:hover {
  background: #ffad7d;
  box-shadow: 0 16px 34px rgba(245, 124, 53, 0.35);
}

.button-dark {
  color: var(--white);
  background: var(--forest-deep);
}

.button-dark:hover {
  background: #081d1a;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.text-link .text-link-arrow {
  color: var(--orange);
  font-size: 1.35em;
  transition: transform 180ms ease;
}

.text-link:hover .text-link-arrow {
  transform: translateX(4px);
}

.text-link-light {
  color: var(--white);
}

/* Header */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand img {
  width: 195px;
  height: auto;
}

.site-header nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

nav a:hover,
nav a.current {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

nav a.current::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto 0;
  background: var(--orange);
  content: "";
}

.language-switcher {
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 38px;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button:hover {
  color: var(--white);
}

.language-switcher button[aria-pressed="true"] {
  color: var(--forest-deep);
  background: var(--orange-bright);
}

/* Shared page hero */
.page-hero {
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(8, 29, 26, 0.97) 0%, rgba(15, 50, 45, 0.92) 58%, rgba(23, 58, 53, 0.72) 100%),
    radial-gradient(circle at 80% 20%, rgba(245, 124, 53, 0.35), transparent 32%),
    var(--forest);
}

.page-hero-inner {
  max-width: 900px;
  padding-top: 210px;
  padding-bottom: 105px;
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.1rem, 1.8vw, 1.38rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: clamp(36px, 8vw, 110px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  max-width: 510px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.section-heading.compact h2 {
  margin-bottom: 0;
}

/* CTA */
.final-cta {
  padding-block: clamp(70px, 8vw, 110px);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(40px, 6vw, 76px);
  background: var(--orange-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
}

.cta-panel .eyebrow {
  color: var(--forest-deep);
}

.cta-panel .button {
  flex: 0 0 auto;
}

/* Footer */
.site-footer {
  padding-block: 62px;
  color: rgba(255, 255, 255, 0.65);
  background: #0b211e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner img {
  width: 190px;
  margin-bottom: 12px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.footer-inner > p {
  text-align: right;
}

.footer-inner span {
  color: var(--orange-bright);
  font-weight: 800;
}

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

  .header-inner {
    min-height: 102px;
    align-items: center;
  }

  .brand img {
    width: 150px;
  }

  nav a {
    padding: 9px 10px;
    font-size: 0.76rem;
  }

  .language-switcher button {
    min-width: 34px;
    padding: 7px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 22px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header {
    position: absolute;
  }

  .header-inner {
    position: relative;
    min-height: 124px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 14px;
  }

  .brand img {
    width: 135px;
  }

  nav {
    width: 100%;
    margin-left: 0;
  }

  nav ul {
    justify-content: space-between;
    padding-right: 80px;
  }

  nav a {
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .language-switcher {
    position: absolute;
    right: 0;
    bottom: 15px;
  }

  .page-hero {
    min-height: 640px;
  }

  .page-hero-inner {
    padding-top: 190px;
    padding-bottom: 76px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

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

  .footer-inner > p {
    text-align: left;
  }
}

@media (max-width: 380px) {
  nav ul {
    gap: 0;
    padding-right: 72px;
  }

  nav a {
    padding-inline: 4px;
    font-size: 0.64rem;
  }

  .language-switcher button {
    min-width: 30px;
    padding: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
