:root {
  --ink: #050505;
  --navy: #171717;
  --blue: #111111;
  --blue-dark: #000000;
  --slate: #64748b;
  --muted: #f1f3f5;
  --soft: #f7f7f8;
  --line: #dedede;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(5, 5, 5, 0.12);
  --shadow-strong: 0 28px 90px rgba(5, 5, 5, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--blue); color: white; }
.shell { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 228, 239, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 20px; font-weight: 900; white-space: nowrap; }
.brand img { width: 170px; height: 50px; border-radius: 14px; object-fit: contain; background: white; box-shadow: 0 14px 34px rgba(5, 5, 5, 0.12); }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #334155; font-size: 14px; font-weight: 800; }
.nav-links a { position: relative; padding: 8px 0; transition: color 0.2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform 0.22s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8f8f8;
}
.lang-btn {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.lang-btn.is-active {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px rgba(5, 5, 5, 0.16);
}
.menu-btn { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 3px 0; border-radius: 999px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, var(--ink), var(--navy)); color: white; box-shadow: 0 16px 36px rgba(6, 18, 38, 0.25); }
.primary:hover { box-shadow: 0 20px 48px rgba(6, 18, 38, 0.34); }
.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.secondary:hover { border-color: rgba(5, 5, 5, 0.28); box-shadow: 0 16px 36px rgba(5, 5, 5, 0.1); }
.light { background: white; color: var(--ink); box-shadow: 0 16px 36px rgba(255, 255, 255, 0.12); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 96px;
  background: radial-gradient(circle at 78% 16%, rgba(5, 5, 5, 0.09), transparent 34%), linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 31, 58, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 31, 58, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 0.95fr; align-items: center; gap: 56px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(5, 5, 5, 0.1); }
h1 { margin: 24px 0 0; max-width: 860px; font-size: clamp(46px, 7vw, 78px); line-height: 1.02; letter-spacing: 0; }
h2 { margin: 18px 0 0; font-size: clamp(34px, 4.8vw, 52px); line-height: 1.08; letter-spacing: 0; }
h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.lead, .section-head p, .section-intro p, .contact-grid > div > p, .dark p { color: var(--slate); font-size: 18px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 620px; }
.hero-stats div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.78); }
.hero-stats strong { display: block; font-size: 22px; }
.hero-stats span { display: block; margin-top: 5px; color: var(--slate); font-size: 13px; font-weight: 750; }

.hero-showcase { position: relative; }
.browser-card { overflow: hidden; border: 1px solid white; border-radius: 30px; background: white; box-shadow: var(--shadow-strong); transform: perspective(1100px) rotateY(-7deg) rotateX(4deg); }
.browser-top { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.browser-top span { width: 11px; height: 11px; border-radius: 50%; background: #cbd5e1; }
.browser-top span:nth-child(1) { background: #ff6b6b; }
.browser-top span:nth-child(2) { background: #fbbf24; }
.browser-top span:nth-child(3) { background: #22c55e; }
.browser-top em { margin-left: 12px; color: #64748b; font-size: 13px; font-style: normal; font-weight: 800; }
.mock-page { display: grid; grid-template-columns: 118px 1fr; min-height: 430px; background: linear-gradient(135deg, #ffffff, #eef4fb); }
.mock-sidebar { padding: 26px 18px; border-right: 1px solid var(--line); background: white; }
.mock-sidebar img { width: 62px; height: 62px; border-radius: 18px; object-fit: cover; margin-bottom: 30px; }
.mock-sidebar span { display: block; height: 10px; margin: 14px 0; border-radius: 999px; background: #e5e7eb; }
.mock-content { padding: 30px; }
.mock-hero { height: 150px; border-radius: 24px; background: linear-gradient(135deg, #050505, #2b2b2b); box-shadow: 0 18px 42px rgba(5, 5, 5, 0.2); }
.mock-lines { margin: 28px 0; }
.mock-lines span { display: block; height: 12px; margin: 13px 0; border-radius: 999px; background: #cbd9eb; }
.mock-lines span:nth-child(1) { width: 78%; }
.mock-lines span:nth-child(2) { width: 54%; }
.mock-lines span:nth-child(3) { width: 66%; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mock-grid i { height: 92px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 30px rgba(6, 18, 38, 0.07); }
.floating-panel { position: absolute; left: 26px; right: 26px; bottom: -30px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.floating-panel span { display: block; margin-top: 5px; color: var(--slate); font-size: 14px; }

.trust { margin-top: -38px; padding-bottom: 66px; position: relative; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mini-card, .service-card, .price-card, .project-card, .person-card, .process-card, .contact-form, details {
  border: 1px solid rgba(217, 228, 239, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 45px rgba(6, 18, 38, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.mini-card:hover, .service-card:hover, .price-card:hover, .project-card:hover, .person-card:hover, .process-card:hover { transform: translateY(-6px); border-color: rgba(5, 5, 5, 0.24); box-shadow: var(--shadow); }
.mini-card { padding: 24px; }
.mini-card span { display: inline-flex; margin-bottom: 18px; color: var(--blue); font-weight: 950; }
.mini-card p, .service-card p, .price-card p, .project-card p, .person-card p, .process-card p { color: var(--slate); line-height: 1.65; }

.proof-strip { padding: 0 0 72px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
  box-shadow: var(--shadow);
}
.proof-grid div { padding: 26px; background: white; }
.proof-grid strong { display: block; font-size: 20px; }
.proof-grid span { display: block; margin-top: 8px; color: var(--slate); line-height: 1.5; }

.section { padding: 88px 0; }
.white { background: white; }
.section-head { max-width: 780px; margin: 0 auto 50px; text-align: center; }
.section-intro { max-width: 620px; }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 54px; align-items: center; }
.people { display: grid; gap: 18px; }
.person-card { padding: 30px; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 22px; background: linear-gradient(135deg, #050505, #2b2b2b); color: white; font-size: 26px; font-weight: 950; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 28px; }
.service-card span { display: inline-flex; margin-bottom: 24px; padding: 8px 11px; border-radius: 999px; background: #eeeeee; color: var(--blue-dark); font-size: 12px; font-weight: 950; }
.service-card.wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 26px; }
.service-card.wide span { margin: 0; }
.service-card.wide p { margin: 8px 0 0; }

.delivery-section { border-top: 1px solid var(--line); }
.delivery-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.delivery-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.delivery-list article {
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, white, #f8fbff);
  box-shadow: 0 14px 40px rgba(6, 18, 38, 0.07);
}
.delivery-list b { display: block; font-size: 18px; }
.delivery-list span { display: block; margin-top: 10px; color: var(--slate); line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { padding: 30px; display: flex; flex-direction: column; }
.price-card strong { display: block; margin: 26px 0; font-size: 40px; line-height: 1; }
.price-card ul { margin: 0 0 28px; padding: 0; list-style: none; color: #334155; }
.price-card li { margin: 13px 0; }
.price-card li::before, .why-list li::before { content: "✓"; margin-right: 10px; color: var(--blue); font-weight: 950; }
.price-card .btn { margin-top: auto; }
.featured { background: linear-gradient(145deg, var(--ink), var(--navy)); color: white; transform: translateY(-10px); }
.featured p, .featured li { color: #e5e7eb; }
.featured li::before { color: #ffffff; }
.featured em { display: inline-flex; width: fit-content; margin-bottom: 20px; padding: 8px 14px; border-radius: 999px; background: white; color: var(--ink); font-style: normal; font-size: 14px; font-weight: 950; }

.compare-card {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}
.compare-card h3 { margin-bottom: 20px; }
.compare-table { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.compare-table div {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  min-width: 680px;
}
.compare-table div + div { border-top: 1px solid var(--line); }
.compare-table b, .compare-table span { padding: 16px; }
.compare-table b { background: #f2f6fb; color: var(--ink); }
.compare-table span { color: #334155; background: white; }
.compare-table span + span, .compare-table b + b { border-left: 1px solid var(--line); }

.projects-section { background: linear-gradient(180deg, var(--soft), #ffffff); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { overflow: hidden; }
.project-card img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.55s ease; }
.project-card:hover img { transform: scale(1.045); }
.project-card div { padding: 28px; }
.project-card span { display: inline-flex; margin-bottom: 12px; color: var(--blue); font-size: 13px; font-weight: 950; }
.project-card a { display: inline-flex; margin-top: 10px; color: var(--ink); font-weight: 950; }

.dark { background: radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.12), transparent 34%), var(--navy); color: white; }
.split { display: grid; grid-template-columns: 0.95fr 1fr; gap: 58px; align-items: center; }
.dark p { color: #e5e7eb; }
.dark-kicker { display: inline-flex; margin: 0; padding: 9px 14px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: #e2e8f0; font-weight: 900; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.why-list li { padding: 24px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; background: rgba(255, 255, 255, 0.08); font-weight: 850; backdrop-filter: blur(12px); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { padding: 28px; }
.process-card span { display: block; margin-bottom: 26px; color: #c7d7ea; font-size: 50px; line-height: 1; font-weight: 950; }

.faq-section { background: #f9fbfe; }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
details { padding: 22px 24px; }
summary { cursor: pointer; font-size: 18px; font-weight: 900; }
details p { margin-bottom: 0; color: var(--slate); line-height: 1.7; }

.cta-band { padding: 64px 0; background: linear-gradient(135deg, var(--ink), var(--blue-dark)); color: white; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-grid .kicker { color: #e5e7eb; border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); }
.cta-grid h2 { max-width: 760px; }

.contact-section { background: linear-gradient(180deg, #ffffff, var(--soft)); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: start; }
.contact-box { margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.contact-box a { color: var(--blue-dark); font-weight: 900; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 30px; }
.contact-form label { color: var(--ink); font-size: 14px; font-weight: 900; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 8px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; outline: none; color: var(--ink); background: white; transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form select { cursor: pointer; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(5, 5, 5, 0.11); }
.full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--blue-dark); font-weight: 900; line-height: 1.6; }
.privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
  color: #334155;
  line-height: 1.5;
}
.privacy input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); box-shadow: none; }
.privacy span { font-weight: 750; }
.privacy a { color: var(--blue-dark); font-weight: 950; text-decoration: underline; text-underline-offset: 3px; }

.sticky-mobile-cta { display: none; }

.legal-page {
  min-height: 100vh;
  padding: 128px 0 78px;
  background: linear-gradient(180deg, #ffffff, var(--soft));
}
.legal-card {
  max-width: 920px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
}
.legal-card h1 { margin-top: 22px; font-size: clamp(42px, 6vw, 64px); }
.legal-card h2 { margin-top: 34px; font-size: 24px; }
.legal-card p { color: #475569; line-height: 1.75; }
.legal-card ul { margin: 12px 0 22px; padding-left: 22px; color: #475569; line-height: 1.75; }
.legal-card li { margin: 7px 0; }
.legal-card address { margin-top: 12px; color: #475569; font-style: normal; line-height: 1.75; }
.legal-card a { color: var(--blue-dark); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-top: 12px; font-weight: 850; }
.legal-note {
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}
.legal-nav { justify-content: flex-end; }
.legal-nav .lang-switch { margin-top: 0; }

.footer { background: var(--ink); color: white; padding: 52px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 34px; align-items: center; }
.footer img { width: 82px; height: 60px; border-radius: 18px; object-fit: contain; margin-bottom: 16px; background: white; }
.footer h2 { margin: 0; font-size: 25px; }
.footer p, .footer small { color: #cbd5e1; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; color: #e5e7eb; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }

@media (max-width: 1020px) {
  .hero-grid, .about-grid, .split, .faq-grid, .contact-grid, .delivery-grid { grid-template-columns: 1fr; }
  .trust-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 2; }
  .nav-cta { display: none; }
  .nav-links { gap: 16px; }
  .browser-card { transform: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1140px); }
  .nav { min-height: 70px; }
  .brand img { width: 142px; height: 42px; }
  .menu-btn { display: grid; }
  .nav-links {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-strong);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; border-radius: 16px; }
  .nav-links a:hover { background: #f8fafc; }
  .nav-links a::after { display: none; }
  .lang-switch { margin-top: 8px; width: 100%; justify-content: center; }
  .lang-btn { flex: 1; }
  .hero { padding: 112px 0 70px; }
  .hero-grid { gap: 38px; }
  .actions .btn, .contact-form .btn { width: 100%; }
  .hero-stats, .trust-grid, .proof-grid, .service-grid, .delivery-list, .pricing-grid, .project-grid, .process-grid, .why-list, .contact-form, .cta-grid { grid-template-columns: 1fr; }
  .mock-page { grid-template-columns: 86px 1fr; min-height: 340px; }
  .mock-sidebar { padding: 20px 12px; }
  .mock-content { padding: 20px; }
  .mock-grid { grid-template-columns: 1fr; }
  .mock-grid i { height: 58px; }
  .floating-panel { position: static; margin: -18px 14px 0; }
  .section { padding: 68px 0; }
  .service-card.wide { grid-column: auto; display: block; }
  .service-card.wide span { margin-bottom: 24px; }
  .featured { transform: none; }
  .project-card img { height: 220px; }
  .compare-card { overflow-x: auto; padding: 18px; }
  .cta-grid .btn { width: 100%; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .legal-page { padding-top: 104px; }
  .legal-card { padding: 26px; border-radius: 24px; }
  .legal-nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; border: 0; box-shadow: none; padding: 0; background: transparent; }
  .legal-nav .lang-switch { width: auto; }
  .legal-nav .lang-btn { flex: 0 0 auto; }
  .sticky-mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #050505, #2b2b2b);
    color: white;
    font-weight: 950;
    box-shadow: 0 18px 48px rgba(6, 18, 38, 0.28);
  }
  .footer { padding-bottom: 92px; }
}

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