:root {
  --ink: #172326;
  --muted: #627174;
  --line: #d9e3e1;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #123d42;
  --teal-2: #0f6970;
  --sage: #dfe8df;
  --gold: #b68b4f;
  --shadow: 0 18px 55px rgba(18, 61, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(247, 248, 245, 0.88);
  border-bottom: 1px solid rgba(217, 227, 225, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand strong {
  color: var(--teal);
  font-size: 1.12rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: #314246;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal-2);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(18, 61, 66, 0.28);
  border-radius: 8px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 780;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--teal);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 30, 34, 0.88) 0%, rgba(9, 30, 34, 0.66) 44%, rgba(9, 30, 34, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 61, 66, 0.18), rgba(18, 61, 66, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 80px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.lead {
  width: min(680px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

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

.section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  background: var(--white);
}

.intro-text {
  color: var(--muted);
  font-size: 1.1rem;
}

.intro-text p {
  margin-top: 2.35rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.service-card {
  min-height: 340px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper);
}

.service-card:nth-child(2) {
  background: var(--sage);
}

.card-number {
  color: var(--teal-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-card p,
.feature-copy p,
.cta p {
  color: var(--muted);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  background: #eef3ef;
}

.feature-copy p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 1.05rem;
}

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

.feature-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(44px, 7vw, 78px) clamp(18px, 6vw, 80px);
  color: var(--white);
  background: var(--teal);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.cta p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 80px);
  color: #46575b;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links a {
  color: #314246;
}

.legal-page {
  padding-top: 78px;
  background: var(--white);
}

.legal-hero {
  padding: clamp(90px, 13vw, 150px) clamp(18px, 6vw, 80px) clamp(44px, 7vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #315d57);
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.legal-content {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) 0;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--teal-2);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-inline: 18px;
    padding-top: 120px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(9, 30, 34, 0.9), rgba(9, 30, 34, 0.46));
  }

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

  .intro-text p {
    margin-top: 0;
  }

  .service-card {
    min-height: 0;
  }

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

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.8rem, 17vw, 4.4rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
