:root {
  --bg: #ffffff;
  --surface: #f6fafc;
  --surface-strong: #eef7f9;
  --text: #102033;
  --muted: #5f7185;
  --line: #dceaf0;
  --primary: #007f8c;
  --primary-dark: #005d69;
  --navy: #0a3a68;
  --accent: #a7d817;
  --shadow: 0 24px 80px rgba(11, 58, 104, 0.12);
  --shadow-soft: 0 16px 48px rgba(16, 32, 51, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,234,240,.75);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-text { font-size: 1.04rem; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a:not(.btn) { color: var(--muted); font-weight: 650; font-size: .95rem; }
.nav-menu a:hover, .nav-menu a:focus { color: var(--primary-dark); }
.language-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lang-btn { border: 0; background: transparent; color: var(--muted); padding: 7px 10px; border-radius: 999px; font-weight: 800; cursor: pointer; }
.lang-btn.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 99px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--primary); background: linear-gradient(135deg, var(--primary), var(--navy)); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 800; box-shadow: 0 14px 28px rgba(0,127,140,.18); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(0,127,140,.24); }
.btn-small { padding: 10px 15px; font-size: .92rem; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }

.section { padding: 96px 0; }
.hero { position: relative; overflow: hidden; padding: 92px 0 80px; background: radial-gradient(circle at 80% 10%, rgba(167,216,23,.16), transparent 28%), radial-gradient(circle at 10% 20%, rgba(0,127,140,.11), transparent 30%), #fff; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 360px; background: linear-gradient(90deg, rgba(0,127,140,.08), rgba(10,58,104,.08)); transform: rotate(-2deg); pointer-events: none; }
.hero-grid, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; min-width: 0; }
.hero-copy, .section-copy, .hero-visual, .visual-card { min-width: 0; max-width: 100%; }
.hero-copy h1, .section-copy h2, .section-heading h2, .cta-box h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -0.055em; margin: 0 0 22px; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; max-width: 100%; }
.section-copy h2, .section-heading h2, .cta-box h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.eyebrow { color: var(--primary); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.hero-text, .section-copy p, .section-heading p, .cta-box p { color: var(--muted); font-size: 1.08rem; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust-row div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.75); }
.trust-row strong { display: block; color: var(--navy); font-size: 1.05rem; }
.trust-row span { color: var(--muted); font-size: .86rem; }
.hero-visual { position: relative; }
.hero-visual img, .visual-card img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(220,234,240,.72); background: #fff; }
.floating-card { position: absolute; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); }
.floating-card span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }
.floating-card strong { color: var(--navy); }
.card-one { left: -24px; bottom: 48px; }
.card-two { right: -10px; top: 34px; }

.intro-band { padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats-grid article, .service-card, .case-card, .job-card, .legal-card, .timeline-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; box-shadow: var(--shadow-soft); }
.stats-grid article span, .timeline-step span { color: var(--accent); font-weight: 900; }
.stats-grid h2, .service-card h3, .case-card h3, .job-card h3, .timeline-step h3 { font-size: 1.12rem; letter-spacing: -0.02em; margin: 8px 0 8px; }
.stats-grid p, .service-card p, .case-card p, .job-card p, .timeline-step p { color: var(--muted); margin: 0; }

.muted { background: linear-gradient(180deg, var(--surface), #fff); }
.reverse { grid-template-columns: 1fr 1fr; }
.visual-card { position: relative; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.centered { margin-left: auto; margin-right: auto; text-align: center; }
.service-grid, .case-grid, .jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.service-card { min-height: 270px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: var(--navy); background: linear-gradient(135deg, rgba(0,127,140,.12), rgba(167,216,23,.18)); font-weight: 900; margin-bottom: 20px; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag { background: var(--surface-strong); color: var(--primary-dark); border-radius: 999px; padding: 6px 10px; font-size: .78rem; font-weight: 800; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-list { display: grid; gap: 12px; margin-top: 22px; }
.about-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border-radius: 16px; color: var(--muted); }
.about-item::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; margin-top: 8px; box-shadow: 0 0 0 5px rgba(167,216,23,.14); }
.case-card { position: relative; overflow: hidden; }
.case-card::before { content: ""; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px; border-radius: 50%; background: rgba(0,127,140,.08); }
.case-meta { color: var(--primary); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.job-card { display: flex; flex-direction: column; min-height: 360px; }
.job-card .job-type { color: var(--primary-dark); font-weight: 900; margin-bottom: 8px; }
.job-card ul { margin: 18px 0; padding-left: 20px; color: var(--muted); }
.job-card li { margin-bottom: 8px; }
.job-card .btn { margin-top: auto; align-self: flex-start; }
.cta-section { padding-top: 42px; }
.cta-box { background: linear-gradient(135deg, var(--primary), var(--navy)); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(34px, 7vw, 76px); text-align: center; box-shadow: var(--shadow); }
.cta-box .eyebrow, .cta-box p { color: rgba(255,255,255,.82); }
.cta-box h2 { color: #fff; }

.legal-section { padding-top: 40px; }
.legal-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.legal-content p { color: var(--muted); }
.legal-content a { color: var(--primary-dark); font-weight: 800; }
.legal-content h3 { margin: 24px 0 8px; font-size: 1rem; }

.footer { background: #f8fbfd; border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 34px; }
.footer p { color: var(--muted); max-width: 410px; }
.footer h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); }
.footer a, .link-button { display: block; color: var(--muted); margin: 8px 0; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer a:hover, .link-button:hover { color: var(--primary-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 34px; padding-top: 20px; font-size: .88rem; }

.cookie-banner { position: fixed; inset: auto 18px 18px 18px; z-index: 100; }
.cookie-inner { width: min(1080px, 100%); margin: 0 auto; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cookie-inner h2 { margin: 0 0 8px; }
.cookie-inner p { margin: 0 0 16px; color: var(--muted); }
.cookie-options { display: flex; gap: 18px; flex-wrap: wrap; }
.cookie-options label { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 750; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; left: 20px; right: 20px; top: 82px; display: none; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 8px 4px; }
  .language-switch { align-self: flex-start; }
  .hero-grid, .split, .reverse, .legal-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-grid, .case-grid, .jobs-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .card-one { left: 10px; bottom: 18px; }
  .card-two { right: 10px; top: 18px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 68px 0; }
  .hero { padding: 62px 0; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .trust-row, .stats-grid, .service-grid, .case-grid, .jobs-grid, .timeline, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(1.95rem, 9vw, 2.45rem); letter-spacing: -0.06em; }
  .floating-card { position: static; margin-top: 12px; }
  .cookie-inner { grid-template-columns: 1fr; padding: 18px; }
  .cookie-options { flex-direction: column; gap: 10px; }
  .cookie-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-text { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
