:root {
  --bg: #f5f3ed;
  --surface: #fbfaf6;
  --surface-2: #e9e7df;
  --text: #171a19;
  --muted: #626762;
  --line: #d8d8d0;
  --accent: #176b62;
  --accent-2: #dcebe6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 30, 28, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
}

body.dark {
  --bg: #151817;
  --surface: #1d2220;
  --surface-2: #29302d;
  --text: #f2f2ed;
  --muted: #aeb5b0;
  --line: #39413d;
  --accent: #70b8aa;
  --accent-2: #263c37;
  --white: #111513;
  --shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  color: var(--accent);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -2px;
}

.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-family: Manrope, sans-serif; font-size: 14px; }
.brand small { color: var(--muted); font-size: 9px; margin-top: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
}

.nav-links > a { color: var(--muted); }
.nav-links > a:hover,
.nav-links > a.active { color: var(--text); }

.nav-links > a.active::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  margin: 5px auto 0;
}

.nav-cta {
  border: 1px solid var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text) !important;
}

.theme-toggle {
  width: 48px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  font-size: 13px;
}

.theme-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent);
}

.menu-toggle { display: none; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  padding-block: 75px 95px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 18px;
}

h1, h2, h3 {
  font-family: Manrope, sans-serif;
  letter-spacing: -.045em;
  line-height: 1.05;
}

h1 {
  max-width: 700px;
  font-size: clamp(48px, 7vw, 78px);
  margin: 0 0 22px;
}

h1 span { color: var(--accent); }

.hero-text {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 25px rgba(23,107,98,.20);
}

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

.text-link {
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 42px;
}

.trust-row i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
  position: relative;
}

.browser-card {
  width: min(480px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.browser-top {
  height: 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  color: var(--muted);
  font-size: 10px;
}

.window-dots { display: flex; gap: 5px; }
.window-dots i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line);
}

.browser-screen {
  min-height: 315px;
  padding: 48px;
  background: linear-gradient(135deg, var(--surface), var(--accent-2));
}

.screen-line {
  width: 90px;
  height: 7px;
  background: var(--accent);
  opacity: .6;
  border-radius: 99px;
  margin-bottom: 18px;
}

.screen-line.short { width: 45px; opacity: .35; }

.screen-title {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.06em;
  line-height: .98;
  margin-bottom: 25px;
}

.screen-button {
  width: 75px;
  height: 28px;
  border-radius: 99px;
  background: var(--accent);
  margin: 26px 0 35px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.screen-grid div {
  height: 55px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 13%, var(--surface));
}

.floating-note {
  position: absolute;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 700 10px Manrope, sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.note-one { top: 35px; right: 8%; transform: rotate(-8deg); }
.note-two { bottom: 55px; left: 5%; transform: rotate(7deg); }
.note-three { top: 45%; right: -2%; transform: rotate(5deg); }

.intro-strip {
  background: var(--accent);
  color: #fff;
}

.intro-grid {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.intro-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.intro-grid strong { font-size: 21px; }

.intro-number {
  font: 700 54px Manrope, sans-serif;
  opacity: .18;
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 55px;
}

h2 {
  font-size: clamp(38px, 5vw, 58px);
  margin: 0;
}

.section-lead {
  color: var(--muted);
  max-width: 450px;
  margin: 0;
  font-size: 15px;
}

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

.service-card {
  min-height: 310px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.service-card.featured {
  background: var(--accent-2);
  border-color: transparent;
}

.service-icon {
  color: var(--accent);
  font: 700 12px Manrope, sans-serif;
  margin-bottom: 60px;
}

.service-card h3 {
  font-size: 25px;
  margin: 0 0 14px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 25px;
}

.service-tag {
  margin-top: auto;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.about-section {
  background: var(--surface-2);
  padding-block: 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 80px;
}

.about-number {
  font: 700 72px Manrope, sans-serif;
  color: var(--accent);
  opacity: .7;
}

.about-copy {
  color: var(--muted);
  max-width: 670px;
  margin: 30px 0 40px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 700px;
}

.principles div {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principles strong { color: var(--accent); font-size: 11px; }
.principles span { font-size: 13px; }

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

.process-list { border-top: 1px solid var(--line); }

.process-list article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 35px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-list article > span {
  color: var(--accent);
  font: 700 13px Manrope, sans-serif;
}

.process-list h3 { font-size: 25px; margin: 0 0 8px; }
.process-list p { color: var(--muted); max-width: 650px; margin: 0; font-size: 14px; }

.contact-section {
  padding: 0 0 100px;
}

.contact-card {
  background: var(--accent);
  color: #fff;
  border-radius: 28px;
  padding: 70px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.contact-card .eyebrow { color: #d8eee8; }
.contact-card h2 { margin-bottom: 20px; }
.contact-card p:not(.eyebrow) { color: #dcebe7; max-width: 510px; margin: 0; }

.contact-button {
  background: #fff;
  color: #17201d;
  padding: 17px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  gap: 25px;
  align-items: center;
}

.footer {
  min-height: 90px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.footer a { color: var(--text); }

@media (max-width: 850px) {
  .container { width: min(100% - 32px, 680px); }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px; }
  .nav-links > a.active::after { display: none; }
  .nav-cta { text-align: center; margin: 5px 0; }
  .theme-toggle { margin: 8px auto 4px; }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 65px 70px;
  }

  .hero-visual { min-height: 320px; }
  .browser-screen { min-height: 260px; padding: 35px; }

  .section-heading,
  .services-grid,
  .about-grid { grid-template-columns: 1fr; }

  .section-heading { gap: 25px; }
  .services-grid { gap: 12px; }
  .service-card { min-height: 260px; }
  .service-icon { margin-bottom: 35px; }

  .about-grid { gap: 20px; }
  .about-number { font-size: 48px; }
  .about-section, .section { padding-block: 80px; }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 42px 28px;
  }

  .footer {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 25px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 45px; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-row { flex-wrap: wrap; margin-top: 30px; }
  .hero-visual { min-height: 270px; }
  .browser-card { width: 94%; }
  .browser-screen { min-height: 220px; padding: 25px; }
  .screen-title { font-size: 31px; }
  .note-three { right: -1%; }
  .principles { grid-template-columns: 1fr; }
  .process-list article { grid-template-columns: 55px 1fr; gap: 15px; }
  .contact-button { width: 100%; justify-content: space-between; }
}



/* =========================================================
 * LANGUAGE SELECTOR
 * ========================================================= */

.language-selector {
  display: flex;
  align-items: center;
  gap: 7px;
}


.language-option {
  border: 0;
  background: transparent;

  padding: 4px 0;

  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;

  color: inherit;

  cursor: pointer;

  opacity: 0.55;

  transition:
  opacity 0.2s ease,
  transform 0.2s ease;
}


.language-option:hover {
  opacity: 1;
}


.language-option.active {
  opacity: 1;
}


.language-separator {
  opacity: 0.35;
  user-select: none;
}


