:root {
  --ink: #0c1222;
  --muted: #5a6578;
  --line: #e4e9f2;
  --soft: #f4f7fb;
  --white: #ffffff;
  --blue: #1f6fff;
  --blue-deep: #0a1a3a;
  --hero: #050a1a;
  --radius: 14px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

.nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 111, 255, 0.35);
}

.btn--blue:hover {
  filter: brightness(1.06);
}

.btn--ghost-light {
  background: #fff;
  color: var(--blue-deep);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(31, 111, 255, 0.45);
}

/* —— Hero: only animated zone —— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #021533;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 78% 12%, rgba(40, 110, 255, 0.35), transparent 60%),
    url("assets/hero-particles.gif") center center / cover no-repeat;
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 35, 94, 0.15) 0%,
    rgba(2, 21, 51, 0.28) 55%,
    rgba(2, 21, 51, 0.42) 100%
  );
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    background-image:
      radial-gradient(ellipse 55% 45% at 78% 12%, rgba(40, 110, 255, 0.35), transparent 60%),
      linear-gradient(165deg, #071028 0%, #050a1a 55%, #08122a 100%);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 0.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero > .wrap > p,
.hero__content > p {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  font-size: 1.08rem;
  color: rgba(230, 238, 255, 0.88);
}

.hero-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.hero-cols article {
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 180, 255, 0.28);
  background: rgba(12, 28, 58, 0.45);
  backdrop-filter: blur(8px);
}

.hero-cols h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero-cols p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(210, 222, 245, 0.82);
  line-height: 1.45;
}

/* —— Static white / soft sections —— */
.section {
  padding: 4.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--soft {
  background: var(--soft);
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.feature--flip .feature__text {
  order: 2;
}

.feature--flip .feature__visual {
  order: 1;
}

.feature__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.feature__list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.feature__visual {
  min-height: 280px;
  border-radius: 20px;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--line);
}

.feature__visual--auto {
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 111, 255, 0.25), transparent 45%),
    linear-gradient(145deg, #e8f0ff, #f8fafc);
}

.feature__visual--sec {
  background:
    radial-gradient(circle at 20% 80%, rgba(20, 80, 160, 0.2), transparent 50%),
    linear-gradient(145deg, #edf2f8, #f7f9fc);
}

.feature__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(15, 40, 90, 0.06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 40, 90, 0.08);
}

.case__shot {
  aspect-ratio: 16 / 10;
  background: #0b1c33;
  overflow: hidden;
}

.case__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.case:hover .case__shot img {
  transform: scale(1.04);
}

.case__body {
  padding: 1rem 1.1rem 1.2rem;
}

.case__body span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.case__body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.05rem;
}

.case__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-stats div {
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.about-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.lead-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  text-align: center;
  box-sizing: border-box;
  height: 100%;
  min-height: 100%;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 75% 65% at 50% 20%, rgba(31, 111, 255, 0.12), transparent 62%),
    linear-gradient(160deg, #fff 0%, var(--soft) 100%);
}

.lead-intro__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead-intro h2 {
  margin: 0 0 1rem;
  text-align: center;
}

.lead-phone {
  margin: 0 0 0.55rem;
}

.lead-phone a {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}

.lead-phone a:hover {
  text-decoration: underline;
}

.lead-intro__mail {
  margin: 0 0 0.75rem;
}

.lead-intro__mail a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.lead-intro__mail a:hover {
  color: var(--blue);
}

.lead-intro__hint {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(15, 40, 90, 0.05);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fafbfd;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(31, 111, 255, 0.35);
  border-color: var(--blue);
}

.consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  color: var(--muted);
}

.consent input {
  width: 1.1rem !important;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue);
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-note a {
  color: var(--blue);
}

.form-msg {
  margin: 0;
  font-size: 0.92rem;
  color: var(--blue);
}

.footer {
  padding: 2.5rem 0;
  background: var(--blue-deep);
  color: rgba(230, 238, 255, 0.85);
  font-size: 0.92rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer p {
  margin: 0 0 0.35rem;
}

.footer-legal {
  margin-top: 0.75rem !important;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-cols,
  .grid,
  .cases-grid,
  .about-stats,
  .feature,
  .lead-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .feature--flip .feature__text,
  .feature--flip .feature__visual {
    order: unset;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .case {
    transition: none;
  }
}

/* Legal pages */
.legal-page {
  width: min(760px, calc(100% - 2rem));
  margin: 2.5rem auto 4rem;
  line-height: 1.55;
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.legal-page h2 {
  margin: 1.6rem 0 0.6rem;
  font-size: 1.15rem;
}
.legal-page p,
.legal-page li {
  color: inherit;
  opacity: 0.9;
}
.legal-page ul {
  padding-left: 1.2rem;
  margin: 0 0 0.75rem;
}
.legal-page .back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.legal-page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Consent checkbox */
.consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  line-height: 1.4;
}
.consent input[type="checkbox"] {
  width: 1.1rem !important;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === MOBILE HARDENING === */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: clip;
}
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}
iframe {
  max-width: 100%;
}
.wrap {
  width: min(1180px, calc(100% - 1.5rem));
}
input,
textarea,
select,
button {
  max-width: 100%;
  font-size: 16px; /* avoid iOS zoom */
}
.form input,
.form textarea,
.form select {
  width: 100%;
  box-sizing: border-box;
}
.cookie-bar {
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
}

@media (max-width: 720px) {
  .nav {
    display: none !important;
  }
  h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem) !important;
    max-width: none !important;
  }
  h2 {
    font-size: clamp(1.35rem, 6vw, 1.85rem) !important;
  }
  .section,
  section.section {
    padding-left: 0;
    padding-right: 0;
  }
  .hero,
  .section {
    padding-top: clamp(2rem, 6vw, 3rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 720px) {
  .header__in {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero-cols,
  .feature,
  .grid,
  .cases-grid,
  .about-stats,
  .lead-grid,
  .footer__grid {
    grid-template-columns: 1fr !important;
  }
  .hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }
  .hero-cols {
    margin-top: 1.75rem;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn,
  .hero .btn {
    width: 100%;
    text-align: center;
  }
  .feature__visual {
    min-height: 200px;
  }
  .btn {
    width: auto;
  }
  .cases-grid a,
  .case {
    min-width: 0;
  }
}

