:root {
  --ink: #0b1b2b;
  --ink-2: #33475b;
  --muted: #6b7c8f;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --dew: #12b5a5;
  --dew-deep: #0a8f83;
  --dew-tint: #e3f7f4;
  --night: #071521;
  --radius: 16px;
  --max: 1160px;
  --font-display: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff !important; }
.btn-primary:hover { background: #142c44; }
.btn-dew { background: var(--dew); color: #fff !important; }
.btn-dew:hover { background: var(--dew-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.25); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(18,181,165,.16), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(18,181,165,.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dew-deep);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--dew); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin: 22px 0 24px; }
.hero h1 em { font-style: normal; color: var(--dew); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 440px; justify-self: end; width: 100%; }
.hero-visual svg { width: 100%; height: 100%; }
.orbit { transform-origin: 220px 220px; animation: spin 40s linear infinite; }
.orbit.rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-self: center; max-width: 320px; }
}

/* ---------- Sections ---------- */
section { padding: 110px 0; scroll-margin-top: 72px; }
@media (max-width: 760px) { section { padding: 76px 0; } }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; margin-bottom: 64px; }
.section-num { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .08em; padding-top: 10px; }
.section-num span { color: var(--dew-deep); }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; max-width: 760px; }
.section-head p { margin-top: 18px; color: var(--ink-2); max-width: 640px; font-size: 18px; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
  .section-num { padding-top: 0; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px 34px; display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service:hover { border-color: rgba(18,181,165,.5); box-shadow: 0 18px 40px -24px rgba(11,27,43,.25); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--dew-tint); color: var(--dew-deep); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; }
.service-idx { font-family: var(--font-display); font-size: 13px; color: var(--muted); font-weight: 600; }
.service h3 { font-size: 23px; margin-bottom: 6px; }
.service .tag { font-size: 14px; color: var(--dew-deep); font-weight: 600; margin-bottom: 16px; }
.service p { color: var(--ink-2); font-size: 16px; }
.service ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.service li { font-size: 15px; color: var(--ink-2); padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dew); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-copy p { font-size: 18px; color: var(--ink-2); }
.about-copy p + p { margin-top: 20px; }
.about-copy .big { font-family: var(--font-display); font-size: 26px; line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value { background: #fff; padding: 30px 28px; }
.value .v-k { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.value .v-k small { font-size: 18px; color: var(--dew); margin-left: 6px; }
.value .v-t { font-weight: 600; margin-top: 8px; font-size: 16px; }
.value .v-d { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.55; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--dew-deep);
  display: block; margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--dew); box-shadow: 0 0 0 5px var(--bg-soft); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; row-gap: 24px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.manifesto::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 0%, rgba(18,181,165,.22), transparent 70%);
}
.manifesto .container { position: relative; }
.manifesto .label { font-family: var(--font-display); font-size: 13px; letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.manifesto h2 { font-size: clamp(48px, 10vw, 128px); font-weight: 700; letter-spacing: -0.04em; margin: 40px 0; line-height: 1; }
.manifesto h2 span { color: var(--dew); }
.manifesto p { max-width: 560px; color: rgba(255,255,255,.72); font-size: 18px; }

/* ---------- CTA ---------- */
.cta-box {
  border-radius: 28px; padding: 72px 64px;
  background: linear-gradient(135deg, var(--dew-tint), #ffffff 60%);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
}
.cta-box h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
.cta-box p { color: var(--ink-2); margin-top: 16px; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-actions .mail { font-family: var(--font-display); font-weight: 600; font-size: 20px; border-bottom: 2px solid var(--dew); padding-bottom: 2px; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; padding: 48px 28px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 96px 0 56px; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 320px at 90% 0%, rgba(18,181,165,.14), transparent 70%);
}
.page-hero h1 { font-size: clamp(38px, 5.5vw, 60px); font-weight: 700; margin-top: 18px; }
.page-hero p { font-size: 19px; color: var(--ink-2); margin-top: 18px; max-width: 620px; }
@media (max-width: 760px) { .page-hero { padding: 64px 0 32px; } }

/* ---------- Contact ---------- */
.contact-section { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; background: #fff; }
.contact-card .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--dew-tint); color: var(--dew-deep); display: grid; place-items: center; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 13px; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card .val { font-size: 17px; font-weight: 600; margin-top: 4px; word-break: break-word; }
.contact-card a.val:hover { color: var(--dew-deep); }
.contact-card .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }

.form { border: 1px solid var(--line); border-radius: 20px; padding: 40px; background: var(--bg-soft); }
.form h2 { font-size: 26px; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dew); box-shadow: 0 0 0 4px rgba(18,181,165,.15); }
.form .note { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 28px 20px; } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; padding-top: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--dew-deep); border-bottom: 1px solid currentColor; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 80px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-about { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.site-footer h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-bottom .links { display: flex; gap: 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
