:root {
  --bg: #071a2f;
  --bg-deep: #0b2340;
  --paper: #102a49;
  --paper-strong: #14365d;
  --ink: #f4f7fb;
  --muted: #b6c4d6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #315fad;
  --brand-blue: #315fad;
  --brand-blue-soft: #63c1de;
  --brand-teal: #3ea7ac;
  --accent-soft: rgba(99, 193, 222, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --radius: 0px;
  --wrap: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id="contatti"] {
  scroll-margin-top: 190px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 143, 218, 0.14), transparent 24%),
    radial-gradient(circle at right 18%, rgba(62, 167, 172, 0.11), transparent 20%),
    linear-gradient(180deg, #08182d 0%, #0a203a 52%, #07172a 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin: 0 auto;
}

.section-space {
  padding: 120px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 26, 47, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
}

.topbar-inner a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--brand-blue-soft);
}

.topbar-icon,
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.topbar-icon svg,
.btn-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}

.topbar-icon {
  font-size: 0.95rem;
}

.header-bar {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand img,
.footer-brand img {
  height: 74px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  width: 100%;
  justify-self: stretch;
  justify-content: flex-start;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.site-nav a {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 1rem;
  border-radius: 0;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-icon {
  margin-right: 0.55rem;
  font-size: 1.08em;
  line-height: 1;
}

.header-cta,
.btn-solid {
  background: var(--accent);
  color: #fff;
}

.header-cta:hover,
.btn-solid:hover {
  background: var(--brand-teal);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-soft);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  padding: 42px 0 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 24, 45, 0.92) 0%, rgba(8, 24, 45, 0.84) 42%, rgba(8, 24, 45, 0.72) 100%),
    linear-gradient(180deg, rgba(99, 193, 222, 0.12), rgba(49, 95, 173, 0.08)),
    url("../media/agenzia.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 143, 218, 0.16), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(62, 167, 172, 0.14), transparent 22%);
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.04);
  transition: transform 0.18s linear;
  pointer-events: none;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: start;
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.kicker,
.section-label,
.sector-number,
.point-card span,
.method-row span,
.why-card span,
.hero-stamp span {
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kicker,
.section-label {
  color: var(--brand-blue-soft);
  font-size: 0.8rem;
}

.title-mark {
  color: var(--brand-blue);
}

.hero-copy h1,
.section-head h2,
.sectors-head h2,
.sector-content h3,
.why-head h2,
.closing-box h2 {
  margin: 0;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(3.8rem, 8vw, 8rem);
  margin-top: 20px;
}

.hero-text,
.intro-body p,
.sector-content p,
.method-row p,
.closing-box p,
.footer-block p,
.footer-block a,
.footer-brand p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.08rem;
}

.hero-text {
  max-width: 780px;
  margin-top: 26px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.marquee {
  margin-top: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 18px 0;
  will-change: transform;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.intro-grid,
.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.section-head h2,
.sectors-head h2,
.why-head h2,
.closing-box h2 {
  font-size: clamp(2.9rem, 5vw, 5.8rem);
  margin-top: 14px;
  max-width: 15ch;
}

.why-head h2 {
  max-width: none;
}

.sectors-head h2 {
  max-width: none;
}

.closing-box h2 {
  max-width: none;
}

.sector-content h3 {
  letter-spacing: -0.025em;
}

.intro-points,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
}

.why {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.72), rgba(7, 26, 47, 0.58)),
    url("../media/web2.jpeg") center/cover no-repeat;
}

.why-grid {
  padding: 26px;
  background: rgba(7, 26, 47, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.point-card,
.why-card,
.footer-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.why-card {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.point-card span,
.why-card span,
.method-row span {
  color: var(--accent);
  font-size: 0.82rem;
}

.point-card h3,
.method-row h3,
.why-card h3,
.footer-block h3 {
  margin: 12px 0 10px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.sectors-head {
  margin-top: -48px;
  margin-bottom: 36px;
}

.sector-block {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.sector-block-alt {
  background: transparent;
}

.sector-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.08);
  transition: transform 0.18s linear;
}

.sector-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.93) 0%, rgba(7, 26, 47, 0.84) 34%, rgba(7, 26, 47, 0.64) 100%),
    linear-gradient(180deg, rgba(99, 193, 222, 0.08), rgba(49, 95, 173, 0.08));
}

.sector-radio::before {
  background-image: url("../media/radio.jpg");
}

.sector-tv::before {
  background-image: url("../media/radio2.jpg");
}

.sector-web::before {
  background-image: url("../media/web.jpeg");
}

.sector-social::before {
  background-image: url("../media/social2.jpeg");
}

.sector-brand::before {
  background-image: url("../media/instore.jpeg");
}

.sector-affissioni::before {
  background-image: url("../media/affissioni.jpg");
}

.sector-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 56px 0;
}

.sector-meta {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sector-number {
  font-size: 2.2rem;
  color: var(--accent);
}

.sector-line {
  width: 1px;
  height: 96px;
  background: var(--line);
}

.sector-meta p {
  margin: 0;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.sector-content h3 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  max-width: 15ch;
}

.sector-content p {
  max-width: none;
  margin: 22px 0 0;
}

.intro-body p,
.closing-box p,
.method-row p,
.footer-block p,
.footer-block a,
.footer-brand p {
  max-width: none;
}

.sector-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 26px;
}

.sector-logos a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 118px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sector-logos a:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 193, 222, 0.42);
}

.sector-logos img {
  max-height: 72px;
  width: auto;
}

.sector-logos span {
  display: block;
  font-size: 0.76rem;
  line-height: 1;
  color: var(--brand-blue-soft);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.offer-focus {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(99, 193, 222, 0.28);
  background:
    linear-gradient(135deg, rgba(99, 193, 222, 0.16), rgba(62, 167, 172, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.offer-focus span {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue-soft);
  margin-bottom: 0.5rem;
}

.offer-focus strong {
  display: block;
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.8rem;
}

.offer-focus p {
  margin: 0;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}

.cta-link::after {
  content: "\2192";
  transition: transform 0.25s ease;
}

.cta-link:hover::after {
  transform: translateX(4px);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.method-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  align-items: start;
}

.method-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  line-height: 1.05;
}

.method-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(99, 193, 222, 0.28);
  background: rgba(99, 193, 222, 0.08);
  color: var(--brand-blue-soft);
}

.method-row p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.closing-box {
  padding: 56px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(99, 193, 222, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(62, 167, 172, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.site-footer {
  padding: 0 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 28px;
  padding-top: 30px;
}

.footer-brand {
  padding-top: 0;
}

.footer-block {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.footer-block p {
  margin: 0.45rem 0 0;
}

.footer-block p + p {
  margin-top: 0.35rem;
}

.footer-group {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.footer-group img {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: none;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 26, 47, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner__content {
  max-width: 860px;
}

.cookie-banner__title {
  margin: 0 0 0.4rem;
  font-family: "Anton", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--brand-blue-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-btn {
  min-width: 140px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-title {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
}

.reveal-title.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sector-block.is-inview::before,
.hero.is-inview::before {
  will-change: transform;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

@media (max-width: 1100px) {
  .hero-top,
  .intro-grid,
  .method-layout,
  .sector-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sector-grid {
    gap: 26px;
  }

  .sector-meta {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .sector-line {
    width: 100%;
    height: 1px;
  }

  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .sector-meta p {
    writing-mode: initial;
    transform: none;
  }

  .intro-points,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .topbar-inner {
    gap: 0.65rem 1rem;
    padding: 0.3rem 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(19, 17, 15, 0.08);
    background: rgba(9, 27, 49, 0.96);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .section-space {
    padding: 84px 0;
  }

  .topbar-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.45rem;
    min-height: 30px;
    overflow-x: auto;
  }

  .topbar-inner a {
    font-size: 0.74rem;
    gap: 0.3rem;
    white-space: nowrap;
  }

  .topbar-icon {
    font-size: 0.8rem;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px;
  }

  .intro-points,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .closing-box {
    padding: 20px;
  }

  .collage-primary {
    inset: 0;
  }

  .collage-secondary {
    width: 44%;
    height: 38%;
    right: 8px;
    bottom: 8px;
  }

  .method-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .offer-focus strong {
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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