:root {
  --ink: #0b0e13;
  --ink-soft: #121722;
  --panel: #171d29;
  --line: rgba(255, 255, 255, 0.11);
  --muted: #aeb6c6;
  --white: #f7f9fc;
  --red: #ef3340;
  --red-deep: #b91321;
  --cyan: #6ee7f2;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: var(--white);
  color: var(--ink);
  padding: .8rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(3.1rem, 7vw, 6.8rem); max-width: 940px; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.lead { color: #d6dbe4; font-size: clamp(1.08rem, 1.7vw, 1.3rem); max-width: 720px; }
.copy { color: var(--muted); max-width: 68ch; }
.accent { color: var(--red); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled,
.site-header.solid {
  height: 74px;
  background: rgba(11, 14, 19, .9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 900; letter-spacing: -.025em; }
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy small { margin-top: .25rem; color: var(--muted); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { position: relative; color: #d9deea; font-size: .86rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: #fff; }
.nav-cta { padding: .72rem 1.1rem; border: 1px solid rgba(239, 51, 64, .55); border-radius: 999px; }
.nav-cta:hover { background: var(--red); border-color: var(--red); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero {
  min-height: 780px;
  display: flex;
  align-items: end;
  padding: 170px 0 90px;
  background: linear-gradient(90deg, rgba(8,10,15,.98) 0%, rgba(8,10,15,.77) 47%, rgba(8,10,15,.2) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 45%), url("../images/hero.webp") center/cover no-repeat;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero .lead { max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.35rem; border-radius: 999px; border: 1px solid transparent; font-weight: 800; letter-spacing: .02em; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 14px 34px rgba(239, 51, 64, .25); }
.button-primary:hover { background: #ff4652; }
.button-secondary { border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.15); }
.button-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.button-arrow::after { content: "↗"; margin-left: .75rem; font-size: 1.15em; }

.trust-strip { position: relative; z-index: 2; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { padding: 1.4rem 1.6rem; display: flex; align-items: center; gap: 1rem; border-right: 1px solid #dfe3eb; }
.trust-item:last-child { border: 0; }
.trust-no { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; background: #ffe8e9; color: var(--red-deep); border-radius: 50%; font-weight: 900; }
.trust-item strong { display: block; line-height: 1.25; }
.trust-item span { color: #697184; font-size: .9rem; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.stat-line { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.1rem; }
.mini-stat { padding-left: 1rem; border-left: 2px solid var(--red); }
.mini-stat strong { display: block; font-size: 1.05rem; }
.mini-stat span { color: var(--muted); font-size: .88rem; }
.image-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 1.08; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.66)); }
.image-badge { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.4rem; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(11,14,19,.75); backdrop-filter: blur(12px); font-weight: 750; }

.services-shell { background: var(--ink-soft); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-head h2 { max-width: 720px; margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 300px; display: flex; flex-direction: column; padding: 1.6rem; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); border: 1px solid var(--line); border-radius: 18px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(239,51,64,.55); background: linear-gradient(145deg, rgba(239,51,64,.09), rgba(255,255,255,.02)); }
.card-no { color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .15em; margin-bottom: auto; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.service-card .tagline { color: #fff; font-weight: 750; margin: .5rem 0 .7rem; }
.service-card .service-list { color: #c8ceda; font-size: .92rem; margin-top: .7rem; }

.why-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.why-item { display: grid; grid-template-columns: 32px 1fr; gap: 1rem; }
.why-item .check { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(110,231,242,.1); }
.why-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.why-item p { color: var(--muted); margin-bottom: 0; }

.cta { padding: 78px 0; background: linear-gradient(115deg, #8f101b 0%, #d52331 58%, #ef3340 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 730px; margin: 0; }
.cta .button { flex: 0 0 auto; background: #fff; color: var(--ink); }

.page-hero { min-height: 455px; padding: 170px 0 70px; display: flex; align-items: end; background: radial-gradient(circle at 82% 40%, rgba(239,51,64,.22), transparent 29%), linear-gradient(145deg, #101622, #090c11 65%); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.page-hero::after { content: ""; width: 420px; height: 420px; position: absolute; right: 4vw; bottom: -260px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); margin-bottom: .9rem; }
.page-hero .lead { margin-bottom: 0; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.value-card { padding: 1.5rem; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 18px; }
.value-card span { color: var(--red); font-weight: 900; font-size: .8rem; letter-spacing: .14em; }
.value-card h3 { margin-top: 1.4rem; }
.value-card p { color: var(--muted); margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.services-grid .service-card { min-height: 330px; }
.services-grid .service-card:nth-child(1), .services-grid .service-card:nth-child(6) { grid-column: span 2; min-height: 285px; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.contact-panel { padding: 2rem; border-radius: var(--radius); background: var(--ink-soft); border: 1px solid var(--line); }
.contact-panel h2 { font-size: 2rem; }
.contact-links { display: grid; gap: .9rem; margin-top: 2rem; }
.contact-link { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-link span:first-child { width: 38px; height: 38px; display: grid; place-items: center; color: var(--red); border: 1px solid rgba(239,51,64,.4); border-radius: 50%; }
.contact-link small { color: var(--muted); display: block; }
.contact-link strong { word-break: break-word; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 750; color: #dfe4ec; }
.field input, .field textarea { width: 100%; border: 1px solid #333b4d; border-radius: 12px; background: #10151f; color: #fff; padding: .95rem 1rem; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,51,64,.11); }
.field textarea { min-height: 180px; resize: vertical; }
.form-note { color: var(--muted); font-size: .86rem; margin: 1rem 0 1.3rem; }
.form-status { display: none; margin-top: 1rem; padding: 1rem; border-radius: 10px; background: rgba(110,231,242,.1); color: #bdf7fc; }
.form-status.show { display: block; }

.site-footer { padding: 62px 0 30px; background: #080a0e; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .9fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { max-width: 370px; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p, .footer-col a, .footer-col p { color: var(--muted); }
.footer-col h3 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-col { display: grid; align-content: start; gap: .45rem; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: #7f8797; font-size: .83rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav { position: fixed; inset: 0; padding: 120px 28px 45px; flex-direction: column; align-items: flex-start; background: rgba(8,10,14,.98); transform: translateX(100%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav a { font-size: 1.35rem; }
  .nav-cta { margin-top: auto; width: 100%; text-align: center; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 740px; background-position: 62% center; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3) { grid-column: span 2; }
  .value-grid { grid-template-columns: 1fr; }
  .services-grid .service-card, .services-grid .service-card:nth-child(1), .services-grid .service-card:nth-child(6) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 80px 0; }
  .site-header { height: 74px; }
  .brand-copy small { display: none; }
  .hero { min-height: 700px; padding: 140px 0 70px; align-items: center; background: linear-gradient(90deg, rgba(8,10,15,.96), rgba(8,10,15,.57)), linear-gradient(0deg, var(--ink), transparent 48%), url("../images/hero.webp") 64% center/cover no-repeat; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-actions .button { width: 100%; }
  .trust-strip { margin-top: 0; }
  .trust-grid { grid-template-columns: 1fr; border-radius: 0; }
  .trust-item { border-right: 0; border-bottom: 1px solid #dfe3eb; }
  .section-head { display: block; }
  .section-head .button { margin-top: 1.5rem; }
  .cards, .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(3) { grid-column: auto; }
  .cta-inner { display: block; }
  .cta .button { margin-top: 2rem; width: 100%; }
  .page-hero { min-height: 410px; padding-top: 135px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
}

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