:root {
  --ink: #0e1525;
  --muted: #4a5568;
  --line: #e3e8f0;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --teal: #1f8f72;
  --blue: #2433e6;
  --navy: #0b1220;
  --navy-2: #12205a;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(14, 21, 37, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; border-radius: 4px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: .25rem .8rem; font-size: .9rem; font-weight: 600; }
.nav .lang:hover { border-color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; cursor: pointer; color: var(--ink); font: inherit; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; box-shadow: 0 6px 20px rgba(36, 51, 230, .3); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.btn-light { background: #fff; color: var(--blue); }

/* Hero */
.hero { color: #fff; background: radial-gradient(900px 400px at 85% -10%, rgba(31,143,114,.35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: #7fe0c3; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.1; margin: 0 0 1.2rem; max-width: 18ch; letter-spacing: -.02em; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #d3dcf5; max-width: 52ch; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.page-head { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.page-head h1 { margin: 0 0 .6rem; font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.page-head p { margin: 0; color: #d3dcf5; max-width: 60ch; font-size: 1.1rem; }

/* Sections */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.soft { background: var(--soft); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .6rem; letter-spacing: -.01em; }
.section-sub { color: var(--muted); margin: 0 0 2.2rem; max-width: 60ch; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.card h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,143,114,.14), rgba(36,51,230,.14)); color: var(--blue); }
.icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.steps h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

.offer { background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; text-align: center; }
.offer h2 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.offer p { margin: 0 auto 1.6rem; max-width: 56ch; color: #eaf0ff; font-size: 1.1rem; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service h2 { margin: .8rem 0 .4rem; font-size: 1.6rem; }
.service .tagline { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.ticks li::after { content: ""; position: absolute; left: .38rem; top: .55rem; width: .3rem; height: .55rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.about-grid p { font-size: 1.1rem; color: #263044; }
.person { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.3rem; background: linear-gradient(135deg, var(--teal), var(--blue)); flex: none; }
.person h3 { margin: 0; }
.person .role { margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
form label { display: block; font-weight: 600; margin: 0 0 .3rem; }
form .field { margin-bottom: 1.1rem; }
form .opt { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: inherit; padding: .8rem .9rem; border: 1px solid #c5cedd; border-radius: 10px; background: #fff; }
input:focus, textarea:focus { outline: 3px solid #7aa2ff; border-color: var(--blue); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.cf-turnstile { margin-bottom: 1.1rem; min-height: 65px; }
.notice-inline { color: #8a1c1c; font-weight: 500; }
.notice, #form { scroll-margin-top: 96px; }
.notice { display: none; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-weight: 500; }
.notice:target { display: block; }
.notice.ok { background: #e6f6ef; border: 1px solid #9fd8bf; color: #0d5c3f; }
.notice.err { background: #fdecec; border: 1px solid #f0b0b0; color: #8a1c1c; }
.info dt { font-weight: 700; margin-top: 1.1rem; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: .15rem 0 0; color: #263044; }
.info a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: #c8d1e8; padding: 3rem 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer .logo-white { height: 44px; width: auto; filter: brightness(0) invert(1); }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .9rem; }

/* Mobile */
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.4rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .nav.open { display: flex; }
  .service, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* Utilities (no inline styles, because of the CSP) */
.more { margin-top: 1.8rem; }
.founder-text { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.flush { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
