@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Manrope-Regular.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Manrope-Medium.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Manrope-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Manrope-Bold.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Manrope-ExtraBold.woff2") format("woff2");
}

:root {
  --sp-blue: #0066ff;
  --sp-blue-soft: #4da3ff;
  --sp-cta-bg: linear-gradient(90deg, #ff0080 0%, #6a00ff 100%);
  --sp-ink: #212529;
  --sp-muted: #6c757d;
  --sp-line: #e6e8eb;
  --sp-bg: #ffffff;
  --sp-bg-soft: #f7f8fa;
  --sp-dark: #111111;
  --sp-radius: 4px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sp-ink);
  background: var(--sp-bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--sp-blue);
  color: #fff;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--sp-line);
}

.header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo img {
  height: 42px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4b5563;
}

.header__nav a:hover {
  color: var(--sp-ink);
}

.header__phone {
  font-weight: 600;
  color: var(--sp-ink) !important;
}

.header__contacts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: var(--sp-radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn--cta {
  color: #fff !important;
  background: var(--sp-cta-bg);
}

.btn--cta .icon-bolt {
  font-size: 1.05em;
  line-height: 1;
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

.btn--ghost {
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.75);
}

.btn--black {
  color: #fff;
  background: #000;
}

.btn--black:hover {
  background: #222;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Arthas è in basso a destra: lo teniamo nel frame */
  object-position: 78% 62%;
  transform: scale(1.04);
  animation: heroZoom 16s ease forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.4) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 4.5rem 0 4rem;
  max-width: 720px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
  opacity: 1;
  transform: none;
  animation: rise 0.8s ease 0.1s both;
}

.hero__eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 38ch;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Uses */
.uses {
  padding: 4.5rem 0 2.5rem;
  background: var(--sp-bg-soft);
}

.uses__title {
  margin: 0 auto 2rem;
  max-width: 18ch;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.uses__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .uses__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.use-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.use-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
}

.use-card h3 {
  margin: 1rem 1.1rem 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.use-card p {
  margin: 0 1.1rem 1.25rem;
  color: var(--sp-muted);
  font-size: 0.96rem;
}

/* Process */
.process {
  padding: 4rem 0 4.5rem;
  background: #fff;
}

.process__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .process__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.process__intro h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.process__intro p {
  margin: 0;
  max-width: 34ch;
  color: var(--sp-muted);
  font-size: 1.02rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--sp-line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--sp-line);
}

.steps__num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--sp-blue-soft);
  line-height: 1.3;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.96rem;
}

/* CTA band */
.cta-band {
  background: var(--sp-blue);
  color: #fff;
  padding: 4.25rem 0;
  text-align: center;
}

.cta-band__inner {
  max-width: 720px;
}

.cta-band h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band__phone {
  margin-top: 1.1rem !important;
  font-size: 0.95rem !important;
}

.cta-band__phone a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer */
.footer {
  background: var(--sp-dark);
  color: #fff;
  padding: 2.75rem 0 3rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 0.9rem;
  background: #fff;
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
}

.footer__brand p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__contacts {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  font-size: 0.98rem;
}

@media (min-width: 800px) {
  .footer__contacts {
    justify-items: end;
    text-align: right;
  }
}

.footer__contacts a {
  font-weight: 600;
}

.footer__contacts p {
  margin: 0.15rem 0 0.4rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  font-weight: 500;
}

.footer__legal {
  margin: 0.75rem 0 0 !important;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Builder gate */
.builder-gate {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  background: var(--sp-bg-soft);
}

.builder-gate__card {
  width: min(100%, 520px);
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 8px;
  text-align: center;
}

.builder-gate__card h1 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
  font-weight: 800;
}

.builder-gate__card p {
  margin: 0 0 1.4rem;
  color: var(--sp-muted);
}

.builder-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.builder-gate .btn--ghost {
  color: var(--sp-ink);
  background: #fff;
  border-color: var(--sp-line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .header__nav a:not(.btn) {
    display: none;
  }

  .header__nav .btn--cta {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .hero {
    min-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media img,
  .hero__inner {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
