:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #10233f;
  --muted: #5c6c82;
  --line: #dfe7f1;
  --blue: #0d47a1;
  --blue-2: #1976d2;
  --cyan: #11b6e8;
  --green: #22a66f;
  --shadow: 0 18px 50px rgba(15, 42, 80, .10);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-muted { background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%); }
.small { font-size: .9rem; color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 10000;
  background: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 231, 241, .7);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 184px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 650; }
.nav a:hover { color: var(--blue); }
.nav-cta { color: white !important; background: var(--blue); padding: 10px 15px; border-radius: 12px; }
.lang-toggle {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: 8px 10px; border-radius: 10px; cursor: pointer; font-weight: 700;
}
.lang-toggle .active { color: var(--blue); }
.lang-sep { opacity: .4; padding-inline: 3px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px; }

.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 86px;
  background:
    radial-gradient(circle at 85% 10%, rgba(17,182,232,.14), transparent 30%),
    radial-gradient(circle at 14% 4%, rgba(25,118,210,.12), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #f5f8fc 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -50% auto;
  width: 580px; height: 580px; border-radius: 50%;
  border: 1px solid rgba(25,118,210,.08);
  box-shadow: 0 0 0 70px rgba(25,118,210,.035), 0 0 0 140px rgba(25,118,210,.025);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.eyebrow { color: var(--blue-2); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 5.2rem); margin-bottom: 24px; max-width: 880px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
.hero-lead { color: var(--muted); font-size: 1.14rem; max-width: 720px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 18px; border-radius: 13px; text-decoration: none;
  border: 1px solid transparent; font-weight: 750; cursor: pointer;
}
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 12px 25px rgba(13,71,161,.18); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--text); }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-top: 28px; }

.hero-panel {
  background: rgba(255,255,255,.92); border: 1px solid rgba(214,226,241,.9);
  border-radius: 26px; box-shadow: var(--shadow); overflow: hidden;
}
.panel-top { display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.status-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,166,111,.12); }
.service-stack { padding: 18px; display: grid; gap: 12px; }
.stack-card {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center;
  background: #f8fbff; border: 1px solid var(--line); border-radius: 15px; padding: 13px;
}
.stack-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--blue); font-weight: 900; }
.stack-card strong { display: block; font-size: .98rem; }
.stack-card span:not(.stack-check) { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.stack-check { color: var(--green); font-weight: 900; }
.panel-note { padding: 15px 18px 18px; color: var(--muted); font-size: .87rem; }

.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.tech-list { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; color: #607188; font-size: .86rem; font-weight: 700; }
.tech-list span { white-space: nowrap; }

.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 10px 30px rgba(20,47,86,.05);
}
.service-card.featured { border-color: rgba(25,118,210,.35); box-shadow: 0 18px 42px rgba(25,118,210,.10); }
.card-number { font-size: .85rem; color: var(--blue-2); font-weight: 900; margin-bottom: 35px; }
.badge { position: absolute; right: 18px; top: 18px; background: #e9f2ff; color: var(--blue); padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.service-card p { color: var(--muted); min-height: 76px; }
.service-card ul { padding-left: 19px; color: var(--muted); margin: 24px 0; }
.service-card li { margin: 7px 0; }
.text-link { color: var(--blue); text-decoration: none; font-weight: 800; }

.case-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.case-copy p { color: var(--muted); font-size: 1.06rem; }
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow); }
.case-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.case-row:last-child { border-bottom: 0; }
.case-row span { color: var(--muted); }
.case-row strong { color: var(--green); font-size: .9rem; }

.about-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 60px; align-items: center; }
.about-card {
  min-height: 360px; display: grid; place-items: center; border-radius: 28px;
  background: linear-gradient(145deg, #0d47a1, #1976d2 60%, #11b6e8); box-shadow: var(--shadow);
}
.monogram {
  width: 220px; height: 220px; display: grid; place-items: center; border-radius: 24px; overflow: hidden;
  color: white; border: 2px solid rgba(255,255,255,.75); font-size: 4rem; font-weight: 900;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
}

.monogram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy p { color: var(--muted); }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.about-points > div { border: 1px solid var(--line); border-radius: 15px; padding: 16px; background: #fff; }
.about-points strong, .about-points span { display: block; }
.about-points span { color: var(--muted); font-size: .85rem; margin-top: 5px; }

.contact-section { background: #0f2139; color: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.contact-copy .eyebrow { color: #71c9ff; }
.contact-copy p { color: #b9c7d8; }
.contact-direct { display: grid; gap: 4px; margin-top: 35px; }
.contact-direct span { color: #8fa3bb; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.contact-direct a { color: white; font-size: 1.2rem; text-decoration: none; font-weight: 800; }
.copy-email { margin-top: 8px; width: fit-content; background: transparent; border: 1px solid #39506e; color: #d5e4f4; padding: 7px 10px; border-radius: 9px; cursor: pointer; }

.contact-form { background: #fff; color: var(--text); border-radius: 24px; padding: 28px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 15px; font-weight: 750; font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px;
  background: #fbfdff; color: var(--text); outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(25,118,210,.09); }
textarea { resize: vertical; min-height: 130px; }
.submit-btn { width: 100%; }
.form-note { color: var(--muted); font-size: .8rem; margin: 10px 0 0; }

.footer { background: #0a1728; color: #c5d1df; padding: 56px 0 20px; border-top: 1px solid #1e3149; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 36px; }
.footer-logo {
  width: 190px;
  height: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 14px;
}
.footer p { color: #8fa3bb; max-width: 390px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer a { color: #c5d1df; text-decoration: none; }
.footer a:hover { color: white; }
.footer strong { color: white; margin-bottom: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #71859d; font-size: .78rem; padding-top: 30px; margin-top: 35px; border-top: 1px solid #1e3149; }

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

.privacy-page { min-height: 100vh; }
.privacy-content { max-width: 800px; padding: 80px 0 120px; }
.privacy-content h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); }
.privacy-content h2 { font-size: 1.45rem; margin-top: 38px; }
.privacy-content p, .privacy-content li { color: var(--muted); }
.back-link { display: inline-block; margin-top: 20px; color: var(--blue); font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 5px;
  }
  .nav.open { display: flex; }
  .nav a, .lang-toggle { padding: 10px; }
  .hero-grid, .case-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-panel { max-width: 620px; }
  .cards.three { grid-template-columns: 1fr; }
  .service-card p { min-height: 0; }
  .about-card { min-height: 260px; }
  .about-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, var(--max)); }
  .section { padding: 70px 0; }
  .nav-wrap { height: 68px; }
  .brand img { width: 160px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.25rem; }
  .hero { padding: 58px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 10px 15px; }
  .tech-list { justify-content: flex-start; padding: 18px 0; gap: 12px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .case-row { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
