/* ===== Design tokens — trust navy + high-contrast CTA ===== */
:root {
  --bg: #f3f5f8;
  --bg-elevated: #ffffff;
  --bg-muted: #e6edf4;
  --ink: #0a1f33;
  --ink-soft: #3a4f63;
  --ink-muted: #6a7c8e;
  --line: #d3dde8;
  --line-strong: #b4c2d1;
  --brand: #0a3550;
  --brand-hover: #072a40;
  --accent: #067a5a;
  --accent-hover: #055f46;
  --accent-soft: rgba(6, 122, 90, 0.12);
  --ok: #067a5a;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 12px 40px rgba(10, 31, 51, 0.09);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --nav-h: 68px;
  --mobile-cta-h: 72px;
  --max: 1120px;
  --ease: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

body.has-mobile-cta { padding-bottom: var(--mobile-cta-h); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-nav {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.85rem;
  background: var(--brand);
  color: #fff;
}
.btn-nav:hover { background: var(--brand-hover); }
.btn-block { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.96); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
}
.nav-link:hover,
.nav-link.active { color: var(--brand); background: var(--bg-muted); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.lang-btn {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--brand);
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #e7eef5 0%, var(--bg) 55%),
    radial-gradient(ellipse 80% 50% at 85% 10%, rgba(6, 122, 90, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(10, 53, 80, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 22ch;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hero-trust li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-media { position: relative; }
.hero-photo {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.hero-badges {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hero-location,
.hero-exp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(11, 31, 51, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.hero-flag {
  display: inline-flex;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.hero-flag svg { display: block; }
.hero-pin {
  display: inline-flex;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-note {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-note-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 4px;
}
.hero-note-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== Trust bar ===== */
.trust-bar {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.trust-bar-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  min-width: 160px;
}
.trust-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
}
.trust-chip {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-header { margin-bottom: 40px; max-width: 640px; }
.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
}
.section-desc {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.section-desc.left { margin-left: 0; }

/* ===== Value ===== */
.value { background: var(--bg); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-item {
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.value-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.value-item h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.value-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== Process ===== */
.process { background: var(--bg-muted); }
.process-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process-step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 4px;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.process-cta {
  text-align: center;
  margin-top: 32px;
}

/* ===== Cases ===== */
.cases { background: var(--bg); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.case-image {
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  overflow: hidden;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-body { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-sector {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.case-body h3 {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.case-meta {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.case-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.case-meta dd {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.case-result {
  margin-top: auto;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
}
.case-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}
.case-link:hover { text-decoration: underline; }
.case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.case-badge img {
  height: 18px;
  width: auto;
  background: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ===== Contact ===== */
.contact {
  background:
    linear-gradient(180deg, var(--bg-muted) 0%, #dfe8f0 100%);
  padding-bottom: 88px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-intro .section-desc { max-width: 36ch; }
.contact-points {
  margin: 24px 0;
  display: grid;
  gap: 10px;
}
.contact-points li {
  position: relative;
  padding-left: 22px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.contact-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.contact-alt {
  display: grid;
  gap: 10px;
}
.contact-alt-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-alt-link span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.contact-alt-link strong {
  font-size: 0.98rem;
  color: var(--brand);
}
.contact-alt-link:hover { border-color: var(--accent); }
.is-hidden { display: none !important; }

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  min-height: 48px;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(6, 122, 90, 0.35);
  border-color: var(--accent);
}
.form-note {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ok);
  min-height: 1.2em;
}
.form-status.is-error { color: #b42318; }

/* ===== Footer ===== */
.footer {
  padding: 28px 0;
  background: var(--ink);
  color: #c5d0db;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand strong {
  display: block;
  color: #fff;
  margin-bottom: 2px;
}
.footer-brand p,
.footer-copy { font-size: 0.85rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.footer-links a,
.footer-link {
  font-size: 0.88rem;
  font-weight: 650;
  color: #fff;
}
.footer-links a:hover,
.footer-link:hover { text-decoration: underline; }

/* ===== Legal pages ===== */
.legal-page { background: var(--bg); }
.legal-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(244, 246, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.legal-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  flex-wrap: nowrap;
}
.legal-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.legal-main { padding-top: 40px; }
.legal-content { max-width: 760px; }
.legal-updated {
  margin: 12px 0 28px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.legal-body h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--ink);
}
.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-body ul {
  margin: 0 0 16px 1.1rem;
  list-style: disc;
}
.legal-body a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
}
.legal-note {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ===== Cookie notice ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.5;
}
.cookie-banner a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.has-mobile-cta .cookie-banner {
  bottom: calc(var(--mobile-cta-h) + 12px);
}

/* ===== Mobile sticky CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 31, 51, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-container,
  .contact-wrap,
  .cases-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { max-width: none; }
  .hero-media { max-width: 420px; }
  .section { padding: 56px 0; }
}

@media (max-width: 768px) {
  body.has-mobile-cta { padding-bottom: var(--mobile-cta-h); }
  .mobile-cta { display: block; }
  .nav-actions .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 14px 12px; }
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cases-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .footer-container { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
  .legal-top .nav-logo { font-size: 0.95rem; }
  .legal-top-actions .btn-nav {
    padding: 7px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@media (min-width: 769px) {
  .mobile-cta { display: none !important; }
  body.has-mobile-cta { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
