:root {
  --ink: #0b1118;
  --ink-soft: #182431;
  --steel: #566370;
  --muted: #6d7884;
  --line: #dbe2e8;
  --surface: #f4f7f9;
  --white: #ffffff;
  --blue: #087df0;
  --blue-dark: #005ebf;
  --blue-soft: #e8f3ff;
  --success: #0d7a53;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(11, 17, 24, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(8, 125, 240, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow { width: min(calc(100% - 40px), 850px); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(219, 226, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 17, 24, 0.08); }

.header-inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  width: 208px;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img { width: 100%; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-dark); }

.site-nav .nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 9px;
}

.site-nav .nav-cta:hover { color: var(--white); background: var(--blue-dark); }
.site-nav .nav-cta[aria-current="page"] { color: var(--white); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(8, 125, 240, 0.2), transparent 34%),
    linear-gradient(135deg, #071019 0%, #101d29 60%, #071019 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  padding-block: 86px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #75bcff; }

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 { margin-bottom: 24px; font-size: clamp(2.65rem, 5.5vw, 5.15rem); }
.hero h1 { font-size: clamp(2.65rem, 4.8vw, 4.5rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.8vw, 3.45rem); }
h3 { margin-bottom: 10px; font-size: clamp(1.18rem, 2vw, 1.5rem); }

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: #cbd6e0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-copy strong { color: var(--white); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn-primary { color: var(--white); background: var(--blue); }
.btn-primary:hover { background: #2090ff; }
.btn-dark { color: var(--white); background: var(--ink); }
.btn-dark:hover { background: var(--blue-dark); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.09); }
.btn-outline-dark { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--blue-dark); color: var(--blue-dark); background: var(--blue-soft); }
.btn-light { color: var(--ink); background: var(--white); }

.hero-media {
  position: relative;
  min-height: 500px;
}

.hero-media::before {
  position: absolute;
  z-index: 2;
  inset: -12px 24px 24px -12px;
  border: 1px solid rgba(117, 188, 255, 0.46);
  border-radius: 24px;
  content: "";
}

.hero-media img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}

.hero-proof {
  position: absolute;
  z-index: 3;
  right: -22px;
  bottom: 34px;
  width: min(270px, 80%);
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-proof strong { display: block; font-size: 1.18rem; }
.hero-proof span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.9rem; }

.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 1.08rem; }
.trust-item span { color: var(--muted); font-size: 0.88rem; }

.section { padding-block: 94px; }
.section-sm { padding-block: 64px; }
.section-alt { background: var(--surface); }
.section-dark { color: var(--white); background: var(--ink); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading > div { max-width: 760px; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: #b9c5d0; }

.text-link {
  flex: 0 0 auto;
  color: var(--blue-dark);
  font-weight: 780;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  position: relative;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(11, 17, 24, 0.035);
}

.service-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover { transform: translateY(-6px); border-color: #adcff0; box-shadow: var(--shadow); }

.service-card .number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 50%;
  font-weight: 850;
}

.service-card p { margin: 0; color: var(--muted); }
.service-card a::after { position: absolute; inset: 0; content: ""; }
.service-card .card-link { margin-top: auto; padding-top: 28px; color: var(--blue-dark); font-weight: 800; text-decoration: none; }

.feature-grid { display: grid; align-items: center; grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
.feature-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.feature-grid.reverse .feature-media { order: 2; }

.feature-media { position: relative; }
.feature-media img { width: 100%; min-height: 470px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.feature-media.product img { background: #f7f8f9; object-fit: contain; }

.feature-copy > p { color: var(--muted); font-size: 1.06rem; }

.check-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  position: absolute;
  top: 0.23em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--white);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  border-radius: 50%;
  content: "";
  font-size: 0.75rem;
  font-weight: 900;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { padding: 22px; background: var(--surface); border-radius: 12px; }
.stat strong { display: block; color: var(--blue-dark); font-size: 1.55rem; line-height: 1.1; }
.stat span { display: block; margin-top: 7px; color: var(--muted); font-size: 0.9rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; counter-increment: step; }
.step:not(:last-child)::after { position: absolute; top: 20px; right: 16px; width: calc(100% - 64px); height: 1px; background: #3b4a58; content: ""; transform: translateX(100%); }
.step::before { position: relative; z-index: 1; display: grid; width: 42px; height: 42px; margin-bottom: 22px; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; content: counter(step, decimal-leading-zero); font-size: 0.78rem; font-weight: 900; }
.step p { margin: 0; color: #b9c5d0; }

.client-grid { display: grid; align-items: center; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.client-logo { display: grid; min-height: 104px; padding: 20px; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.client-logo img { width: auto; max-height: 58px; object-fit: contain; filter: grayscale(1); opacity: 0.78; transition: filter 160ms ease, opacity 160ms ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 52px;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue-dark), #0a88f7 60%, #38a5ff);
  border-radius: 24px;
}

.cta-panel::after { position: absolute; right: -80px; bottom: -140px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,0.23); border-radius: 50%; content: ""; }
.cta-panel h2 { max-width: 760px; margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 3rem); }
.cta-panel p { max-width: 700px; margin: 0; color: #eaf5ff; }
.cta-panel .actions { position: relative; z-index: 1; margin: 0; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 76px 72px;
  color: var(--white);
  background: linear-gradient(130deg, #08121b, #142434);
}

.page-hero::after { position: absolute; top: -120px; right: -80px; width: 520px; height: 520px; border: 1px solid rgba(117,188,255,0.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(117,188,255,0.035); content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 920px; margin-bottom: 18px; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.page-hero p { max-width: 760px; margin: 0; color: #c7d2dc; font-size: 1.15rem; }

.breadcrumbs { margin-bottom: 24px; color: #aab9c6; font-size: 0.85rem; }
.breadcrumbs a { color: #dbe9f5; text-decoration: none; }
.breadcrumbs span { margin-inline: 8px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; }
.prose h2 { margin-top: 54px; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: #3d4b58; }
.prose ul { padding-left: 1.25rem; }

.side-card { position: sticky; top: 124px; padding: 28px; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.side-card p { color: #bdc9d3; }
.side-card .btn { width: 100%; }
.side-card .mini-contact { padding-top: 20px; border-top: 1px solid #33414e; color: #dbe5ec; font-size: 0.9rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { padding: 7px 11px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.86rem; font-weight: 700; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.portfolio-item { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.portfolio-item img { width: 100%; height: 420px; object-fit: contain; background: #fafafa; }
.portfolio-item div { padding: 22px; }
.portfolio-item p { margin: 6px 0 0; color: var(--muted); }

.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact-card strong { display: block; }
.contact-card a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.form-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 760; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc7d0;
  border-radius: 8px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(8,125,240,0.14); }
.field .hint { color: var(--muted); font-size: 0.8rem; }
.check-field { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.84rem; }
.check-field input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { padding: 14px 16px; margin-bottom: 20px; border-radius: 9px; font-weight: 700; }
.form-status.success { color: #07553a; background: #dcf7ec; border: 1px solid #9ee0c8; }
.form-status.error { color: #842222; background: #fff0f0; border: 1px solid #efb7b7; }

.site-footer { padding-top: 72px; color: #c2ced8; background: #071019; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 46px; }
.footer-brand { width: 230px; padding: 10px; background: var(--white); border-radius: 10px; }
.footer-about { max-width: 380px; margin: 20px 0 0; color: #9eacb8; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; margin: 0; padding: 0; gap: 10px; list-style: none; }
.footer-links a { color: #c2ced8; text-decoration: none; }
.footer-links a:hover { color: #75bcff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 56px; padding-block: 22px; border-top: 1px solid #263440; color: #8999a6; font-size: 0.82rem; }

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  color: var(--white);
  background: #128c57;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  font-weight: 800;
  text-decoration: none;
}
.whatsapp-float:hover { background: #0c7749; }
.whatsapp-float svg { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; }

.notice { padding: 18px 20px; color: #344454; background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 94px 0 auto 0;
    display: none;
    max-height: calc(100vh - 94px);
    align-items: stretch;
    padding: 22px 20px 28px;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11,17,24,0.12);
  }
  .site-nav.is-open { display: grid; gap: 4px; }
  .site-nav a { padding: 11px 10px; font-size: 1rem; }
  .site-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding-block: 70px; }
  .hero-media { min-height: 460px; }
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid.reverse .feature-media { order: initial; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .step:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(calc(100% - 30px), var(--container)); }
  .header-inner { min-height: 82px; }
  .brand { width: 168px; }
  .site-nav { top: 82px; max-height: calc(100vh - 82px); }
  .hero-grid { min-height: auto; padding-block: 58px 66px; }
  .hero-media { min-height: 360px; }
  .hero-proof { right: 14px; bottom: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section, .section-sm { padding-block: 68px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading .text-link { display: inline-block; margin-top: 18px; }
  .cards, .portfolio-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .feature-media img { min-height: 340px; }
  .stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; padding: 34px 26px; }
  .cta-panel .actions { margin-top: 8px; }
  .page-hero { padding-block: 58px; }
  .portfolio-item img { height: 340px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 52px; padding: 0; justify-content: center; }
}

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

@media print {
  .site-header, .site-footer, .whatsapp-float, .actions, .side-card { display: none !important; }
  body { color: #000; }
  .page-hero, .section-dark { color: #000; background: #fff; }
}
