
/* ══════════════════════════════════════════════════════════
   COCO — v3 Premium Upgrade
   ══════════════════════════════════════════════════════════ */

/* ── PILL / FLOATING NAVBAR ──────────────────────────────── */
.header {
  position: fixed !important;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 40px));   /* wider pill */
  height: 72px;                             /* premium height */
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(8,8,12,.74) !important;
  backdrop-filter: blur(28px) saturate(1.9) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.9) !important;
  box-shadow:
    0 4px 28px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.05) inset;
  transition:
    top    .4s cubic-bezier(.16,1,.3,1),
    height .4s cubic-bezier(.16,1,.3,1),
    background .4s ease,
    box-shadow .4s ease,
    border-color .4s ease !important;
}

/* Scrolled state — compacted pill */
.header--scrolled {
  top: 18px !important;
  height: 60px !important;                  /* reduced from 72 → 60 */
  background: rgba(4,4,10,.92) !important;
  border-color: rgba(255,255,255,.14) !important;
  backdrop-filter: blur(36px) saturate(2) !important;
  -webkit-backdrop-filter: blur(36px) saturate(2) !important;
  box-shadow:
    0 8px 52px rgba(0,0,0,.65),
    0 0 0 1px rgba(37,99,235,.07) inset !important;
}

/* Inner flex row */
.header__inner {
  padding: 0 18px;                          /* equal horizontal padding */
  max-width: 100%;
  width: 100%;
}

/* Hide the tiny brand tagline in pill mode */
.brand__tag { display: none; }

/* Nav links — larger and better spaced */
.header .nav__link {
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 12px 18px !important;
  color: rgba(255,255,255,.72);
  border-radius: 10px;
  transition: color .18s ease, background .18s ease;
}
.header .nav__link:hover {
  color: #fff;
  background: rgba(37,99,235,.12);
}
.header .nav__link.is-active {
  color: #fff;
}
.header .nav__link::after {
  bottom: 6px;
}

/* Adjust scroll-margin for fixed 72px pill + 28px offset */
[id] { scroll-margin-top: 116px; }

/* ── HERO BOTTOM FADE ────────────────────────────────────── */
.hero__bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, #000000 100%);
  pointer-events: none;
  z-index: 3;
}

/* ── BLUE-DEEP SECTION VARIANT ───────────────────────────── */
.section--blue-deep {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(6,12,36,.98)  0%,
    rgba(3,7,22,.99)   50%,
    rgba(6,12,36,.98) 100%
  ) !important;
  border-top: 1px solid rgba(37,99,235,.16);
  border-bottom: 1px solid rgba(37,99,235,.16);
  overflow: hidden;
}
.section__glow-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.section__glow-bg::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(37,99,235,.20) 0%,
    rgba(37,99,235,.06) 45%,
    transparent 70%
  );
  animation: sectionGlowPulse 8s ease-in-out infinite;
}
.section__glow-bg::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(96,165,250,.09) 0%,
    transparent 65%
  );
  animation: sectionGlowPulse 10s ease-in-out infinite reverse;
}
@keyframes sectionGlowPulse {
  0%, 100% { opacity: .6; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;  transform: translateX(-50%) scale(1.10); }
}
.section--blue-deep .container,
.section--blue-deep .section__head { position: relative; z-index: 1; }

/* Numeri grid on blue bg */
.section--blue-deep .numeri-item__num {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(48px, 6vw, 84px);
}
.section--blue-deep .numeri-grid {
  border-color: rgba(37,99,235,.22);
  background: rgba(37,99,235,.03);
}
.section--blue-deep .numeri-item + .numeri-item {
  border-left-color: rgba(37,99,235,.16);
}
.section--blue-deep .numeri-item:hover { background: rgba(37,99,235,.09); }

/* Quote cards on blue bg */
.section--blue-deep .quote {
  border-color: rgba(37,99,235,.18);
  background: rgba(37,99,235,.05);
}
.section--blue-deep .quote:hover {
  border-color: rgba(37,99,235,.38);
  box-shadow: 0 0 0 1px rgba(37,99,235,.14), 0 18px 52px rgba(37,99,235,.14);
  transform: translateY(-4px);
}

/* ── SECTION SEPARATOR GLOW LINE ─────────────────────────── */
.section--alt { position: relative; }
.section--alt::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37,99,235,.28) 30%,
    rgba(96,165,250,.38) 50%,
    rgba(37,99,235,.28) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── PRE-CONTACT CTA BANNER ───────────────────────────────── */
.pre-contact-cta {
  text-align: center;
  margin-bottom: 72px;
}
.pre-contact-cta__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
}
.pre-contact-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.30);
  color: #93c5fd;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.pre-contact-cta h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0;
}
.pre-contact-cta__inner > p {
  color: var(--muted2);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

/* ── QUOTE hover ─────────────────────────────────────────── */
.quote {
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.quote:hover { transform: translateY(-4px); }

/* ── HEADER SCROLL SCALE — premium shrink ────────────────── */
.header--scrolled {
  transform: translateX(-50%) scale(.97) !important;
}

/* ── HERO VIDEO OVERLAY — cinematic grade ────────────────── */
.hero__video-overlay {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.30)  0%,
    rgba(0,0,0,.60) 70%,
    rgba(0,0,0,.85) 100%
  ) !important;
}

/* ── SECTION AMBIENT GLOW ────────────────────────────────── */
.section { position: relative; }
.section:not(.section--alt):not(.section--blue-deep)::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(700px, 100%); /* cap to viewport width to prevent horizontal overflow on mobile */
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(37,99,235,.12) 0%,
    rgba(37,99,235,.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ── MAGNETIC BUTTON — smooth return transition ───────────── */
.btn {
  transition:
    border-color .2s ease,
    background   .2s ease,
    color        .2s ease,
    box-shadow   .2s ease,
    transform    .4s cubic-bezier(.16,1,.3,1) !important;
}

/* ── HERO VISUAL — parallax transition ───────────────────── */
.hero__visual {
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}

/* ── MARQUEE LOGO HOVER ───────────────────────────────────── */
.marquee-logo {
  transition: color .2s ease, opacity .2s ease, transform .25s cubic-bezier(.16,1,.3,1);
}
.marquee-logo:hover {
  transform: scale(1.15);
  opacity: 1 !important;
}

/* ── QUOTE ENHANCED HOVER ────────────────────────────────── */
.quote:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.18),
    0 20px 60px rgba(0,0,0,.35);
}

/* ── GENTLE GLOBAL TRANSITION ────────────────────────────── */
* {
  transition-property: background-color, color, border-color, opacity;
  transition-duration: .2s;
  transition-timing-function: ease;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .header { width: calc(100% - 40px); }
  .header .nav__link { font-size: 14px !important; padding: 10px 12px !important; }
}
@media (max-width: 720px) {
  .pre-contact-cta { margin-bottom: 44px; }
}
@media (max-width: 640px) {
  .header           { top: 12px; width: calc(100% - 24px); height: 60px; }
  .header--scrolled { top: 8px !important; height: 52px !important; }
  .header__inner    { padding: 0 10px; }
  .brand__name      { font-size: 14px; }
  .pre-contact-cta h2 { font-size: clamp(24px, 6vw, 32px); }
}

/* ══════════════════════════════════════════════════════════
   NUOVI COMPONENTI — Landing Siti Web
   ══════════════════════════════════════════════════════════ */

/* ── HERO H1 — ridimensionato per headline lunga ─────────── */
.hero__h1 {
  font-size: clamp(36px, 4.8vw, 74px) !important;
  letter-spacing: -1.8px !important;
  line-height: 1.08 !important;
}

/* ── CTA FINALE SECTION ──────────────────────────────────── */
.cta-finale-section {
  text-align: center;
}
.cta-finale-block {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-finale-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.30);
  color: #93c5fd;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.cta-finale-block h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0;
}
.cta-finale-block > p:not(.micro) {
  color: var(--muted2);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}
.cta-finale-block .micro {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 600px) {
  .cta-finale-block h2 { font-size: clamp(22px, 7vw, 32px); }
  .cta-finale-block > p:not(.micro) { font-size: 15px; }
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trustbar {
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
}
.trustbar__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
  padding: 14px 28px;
  letter-spacing: .01em;
}
.trustbar__item svg {
  color: #2563EB;
  flex-shrink: 0;
}
.trustbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.10);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .trustbar__sep { display: none; }
  .trustbar__item { padding: 10px 16px; font-size: 12px; }
}
@media (max-width: 400px) {
  .trustbar__list { flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .trustbar__item { padding: 6px 16px; }
}

/* ── PER CHI È — target grid ─────────────────────────────── */
.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.target-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.target-card:hover {
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 1px rgba(37,99,235,.10), 0 16px 48px rgba(37,99,235,.10);
  transform: translateY(-4px);
}
.target-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.22);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 20px;
}
.target-card h3 {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.target-card p {
  font-size: 14.5px;
  color: var(--muted2);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 620px) {
  .target-grid { grid-template-columns: 1fr; max-width: 480px; }
  .target-card { padding: 26px 24px; }
}

/* ── COSA INCLUDE — include grid ─────────────────────────── */
.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.include-item {
  background: rgba(37,99,235,.05);
  border: 1px solid rgba(37,99,235,.14);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.include-item:hover {
  border-color: rgba(37,99,235,.30);
  box-shadow: 0 0 0 1px rgba(37,99,235,.08), 0 12px 36px rgba(37,99,235,.12);
  transform: translateY(-3px);
}
.include-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,.16);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}
.include-item strong {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.2;
}
.include-item span {
  font-size: 13.5px;
  color: var(--muted2);
  line-height: 1.65;
}
@media (max-width: 900px) {
  .include-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .include-grid { grid-template-columns: 1fr; }
  .include-item { padding: 22px 20px; }
}

/* ── PORTFOLIO ───────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.portfolio-card:hover {
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 1px rgba(37,99,235,.10), 0 20px 56px rgba(37,99,235,.12);
  transform: translateY(-5px);
}
.portfolio-card__visual {
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
}
.portfolio-card__visual--blue {
  background: linear-gradient(135deg,
    rgba(37,99,235,.35) 0%,
    rgba(96,165,250,.12) 60%,
    rgba(37,99,235,.08) 100%
  );
}
.portfolio-card__visual--violet {
  background: linear-gradient(135deg,
    rgba(124,92,255,.35) 0%,
    rgba(37,99,235,.18) 60%,
    rgba(124,92,255,.08) 100%
  );
}
.portfolio-card__visual--dark {
  background: linear-gradient(135deg,
    rgba(12,12,24,.90) 0%,
    rgba(37,99,235,.22) 100%
  );
}
.portfolio-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37,99,235,.22);
  border: 1px solid rgba(37,99,235,.30);
  padding: 5px 12px;
  border-radius: 999px;
}
.portfolio-card:not(.portfolio-card--tag-soft) .portfolio-card__tag {
  color: #eff6ff;
  background: rgba(37,99,235,.82);
  border-color: rgba(191,219,254,.95);
  box-shadow:
    0 10px 28px rgba(37,99,235,.35),
    0 0 0 1px rgba(255,255,255,.08) inset;
}
.portfolio-card__body {
  padding: 26px 24px;
}
.portfolio-card__body h3 {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.3px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.portfolio-card__body p {
  font-size: 13.5px;
  color: var(--muted2);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════════
   LANDING v4 — UX overhaul: componenti mancanti + spaziatura
   ══════════════════════════════════════════════════════════ */

/* ── HERO: badge distante dalla navbar ─────────────────────
   Il header floating è a top:28 + height:72 = 100px.
   Con padding-top:160 il badge inizia ben sotto la navbar.  */
.hero__center {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}
@media (max-width: 900px) {
  .hero__center {
    padding-top: 136px !important;
    padding-bottom: 80px !important;
  }
}
@media (max-width: 640px) {
  .hero__center {
    padding-top: 116px !important;
    padding-bottom: 0px !important;
  }
}

/* ── HERO MICROCOPY — tag sotto i CTA ──────────────────── */
.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(183,196,255,.58);
  letter-spacing: .01em;
}
.hero__microcopy [aria-hidden="true"] {
  color: rgba(183,196,255,.26);
  font-size: 11px;
}
@media (max-width: 900px) {
  .hero__microcopy { justify-content: center; }
}

/* ── SECTION HEAD SPACING — overrides il reset a 980px ─── */
.come-funziona-section .section__head,
#perchi .section__head,
#processo .section__head,
#include .section__head,
#portfolio .section__head,
#team .section__head,
#faq .section__head {
  margin-bottom: 64px !important;
}

/* ── COME FUNZIONA — cfsteps ──────────────────────────── */
.cfsteps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
}
.cfstep {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 28px 36px;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition:
    border-color .3s ease,
    transform .35s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease;
}
.cfstep:hover {
  border-color: rgba(37,99,235,.38);
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.10),
    0 22px 60px rgba(37,99,235,.14);
}
.cfstep__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(37,99,235,.06);
}
.cfstep h3 {
  font-size: 17px !important;
  line-height: 1.3 !important;
  margin-bottom: 12px;
}
.cfstep p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  margin: 0;
}
/* Freccia orizzontale tra step
   margin-top: padding-top(44) + circle(60)/2 - arrow(20)/2 ≈ 64px */
.cfstep__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(37,99,235,.45);
  padding: 0 10px;
  margin-top: 64px;
}
.cfsteps__cta {
  text-align: center;
  margin-top: 52px;
}
@media (max-width: 860px) {
  .cfsteps {
    flex-direction: column;
    align-items: stretch;
    max-width: 460px;
    gap: 0;
  }
  .cfstep { padding: 32px 22px 28px; }
  .cfstep__arrow {
    transform: rotate(90deg);
    margin: 6px auto;
    padding: 4px 0;
  }
  .cfsteps__cta { margin-top: 36px; }
}

/* ── A CHI SI RIVOLGE — target editorial ───────────────── */
.target-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.target-editorial__item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px 28px;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  transition:
    border-color .3s ease,
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease;
}
.target-editorial__item:hover {
  border-color: rgba(37,99,235,.32);
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.10),
    0 14px 44px rgba(37,99,235,.10);
}
.target-editorial__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.target-editorial__item:hover .target-editorial__icon {
  background: rgba(37,99,235,.18);
  border-color: rgba(37,99,235,.40);
}
.target-editorial__item h3 {
  font-size: 17px !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
}
.target-editorial__item p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 720px) {
  .target-editorial { grid-template-columns: 1fr; }
}

/* ── COSA INCLUDE — include list ──────────────────────── */
.include-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 72px;
  max-width: 960px;
  margin: 0 auto;
}
.include-list__col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.include-list__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.include-list__check {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.22);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.include-list__item strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -.2px;
}
.include-list__item p {
  font-size: 13.5px;
  color: var(--muted2);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 720px) {
  .include-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── PROCESSO — timeline ───────────────────────────────── */
.timeline {
  max-width: 660px;
  margin: 0 auto;
}
.timeline__item {
  display: grid;
  grid-template-columns: 72px 1fr;
}
.timeline__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #60a5fa;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(37,99,235,.06);
}
.timeline__line {
  flex: 1;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(37,99,235,.32) 0%,
    rgba(37,99,235,.06) 100%
  );
  margin: 10px 0 0;
  min-height: 32px;
}
.timeline__content {
  padding: 0 0 52px 28px;
}
.timeline__item--last .timeline__content {
  padding-bottom: 0;
}
.timeline__content h3 {
  font-size: 19px !important;
  margin-top: 12px;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.timeline__content p {
  font-size: 14.5px;
  color: var(--muted2);
  line-height: 1.72;
  margin: 0;
}
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 60px 1fr; }
  .timeline__num  { width: 44px; height: 44px; font-size: 13px; }
  .timeline__content { padding: 0 0 36px 18px; }
  .timeline__content h3 { font-size: 16px !important; }
}

/* ── CONTACT — cosa succede dopo l'invio ──────────────── */
.contact-next {
  margin-top: 36px;
  padding: 24px 22px;
  background: rgba(37,99,235,.05);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--radius);
}
.contact-next__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 16px;
}
.contact-next__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  counter-reset: next-step;
}
.contact-next__steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.55;
  counter-increment: next-step;
}
.contact-next__steps li::before {
  content: counter(next-step);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.28);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA FINALE — doppio bottone ─────────────────────── */
.cta-finale-block__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .cta-finale-block__actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-finale-block__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── PORTFOLIO: card più spaziose ─────────────────────── */
.portfolio-card__visual { height: 190px; }
.portfolio-card__body   { padding: 28px 26px 30px; }
.portfolio-card__body h3 { font-size: 18px; margin-bottom: 10px; }

/* ── TEAM: intro text più leggibile ───────────────────── */
#team .section__head p {
  font-size: 16px;
}

/* ── FAQ: summary più grande, più respiro ─────────────── */
.faq__item summary {
  font-size: 15.5px !important;
  padding: 20px 22px !important;
}
.faq__body { padding: 0 22px 20px !important; font-size: 14.5px !important; line-height: 1.75 !important; }

/* ── SECTION: padding top sezioni dopo hero ─────────── */
.come-funziona-section { padding-top: 100px; padding-bottom: 100px; }

/* ── BENEFICI: paragrafo aggiuntivo spacing ─────────── */
.benefici-two-col__text p + p {
  padding-top: 0;
}

/* ── INCLUDE SECTION: container z-index ────────────── */
#include .include-list { position: relative; z-index: 1; }

/* ── CONTACT: form textarea più alta su desktop ──────── */
@media (min-width: 860px) {
  .form-textarea { min-height: 130px; }
}

/* ── MOBILE: hero actions stack verticale ─────────── */
@media (max-width: 420px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════
   v5 — Restructure + Modal + Visual Refinements
   ══════════════════════════════════════════════════════════ */

/* ── SECTION SPACING REFINEMENTS ────────────────────────── */
.section {
  padding: 120px 0;
}
.section__head {
  margin-bottom: 72px;
}
.section__head h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  letter-spacing: -1.4px;
  line-height: 1.1;
}
.section__head p {
  font-size: 16.5px;
  color: rgba(170,170,180,.88);
  line-height: 1.8;
  margin-top: 20px;
}

/* ── DISPONIBILI ORA — availability strip ────────────────── */
.disponibili-section {
  position: relative;
  padding: 0;
  background: linear-gradient(
    180deg,
    rgba(3,5,18,.0)   0%,
    rgba(6,12,36,.72) 30%,
    rgba(6,12,36,.72) 70%,
    rgba(3,5,18,.0)  100%
  );
  border-top: 1px solid rgba(37,99,235,.14);
  border-bottom: 1px solid rgba(37,99,235,.14);
  overflow: hidden;
}
.disponibili-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 800px 200px at 50% 50%,
    rgba(37,99,235,.10) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.disponibili-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 0;
}
.disponibili-left {
  flex: 1 1 0;
  min-width: 0;
}
.disponibili-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.28);
  color: #93c5fd;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 14px;
}
.disponibili-sub {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.7;
  max-width: 460px;
  margin: 0;
}
.disponibili-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  flex-shrink: 0;
}
.disponibili-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 16px 24px;
}
.disponibili-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px;
}
.disponibili-stat strong {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}
.disponibili-stat span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.disponibili-stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.09);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .disponibili-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 44px 0;
  }
  .disponibili-right {
    align-items: flex-start;
    width: 100%;
  }
  .disponibili-stats {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
  }
  .disponibili-stat { padding: 0 12px; }
}
@media (max-width: 520px) {
  .disponibili-sub { font-size: 14px; }
  .disponibili-stat { padding: 0 8px; }
  .disponibili-stat strong { font-size: 15px; }
  .disponibili-stat-div { display: none; }
  .disponibili-stats { justify-content: center; gap: 20px; }
}

/* ── PORTFOLIO CARD ENHANCEMENTS ─────────────────────────── */
.portfolio-card--clickable {
  cursor: pointer;
  outline: none;
}
.portfolio-card--clickable:focus-visible {
  box-shadow:
    0 0 0 2px #000,
    0 0 0 4px #2563EB;
}
.portfolio-card__preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
  z-index: 0;
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .3s;
  opacity: .85;
}
.portfolio-card--clickable:hover .portfolio-card__preview-img {
  transform: scale(1.04);
  opacity: 1;
}
/* If image fails to load, hide it and gradient shows */
.portfolio-card__preview-img[style*="display: none"] ~ .portfolio-card__tag {
  position: relative;
  z-index: 1;
}
.portfolio-card__visual {
  position: relative;
  overflow: hidden;
}
/* Gradient overlay on top of image */
.portfolio-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.portfolio-card__tag {
  position: relative;
  z-index: 2;
}
.portfolio-card__view-hint {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 13px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity .28s ease,
    transform .28s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.portfolio-card--clickable:hover .portfolio-card__view-hint,
.portfolio-card--clickable:focus-visible .portfolio-card__view-hint {
  opacity: 1;
  transform: translateY(0);
}
/* Enhanced card hover */
.portfolio-card--clickable:hover {
  border-color: rgba(37,99,235,.45);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.14),
    0 24px 64px rgba(37,99,235,.16),
    0 8px 24px rgba(0,0,0,.40);
  transform: translateY(-7px);
}

/* ── TEAM MANIFESTO & PILLARS ─────────────────────────────── */
.team-manifesto {
  max-width: 760px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.team-manifesto p {
  font-size: 16px;
  color: var(--muted2);
  line-height: 1.82;
  margin: 0;
}
.team-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.team-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 32px;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  gap: 0;
  transition:
    border-color .3s ease,
    transform .35s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease;
}
.team-pillar:hover {
  border-color: rgba(37,99,235,.32);
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.10),
    0 18px 52px rgba(37,99,235,.12);
}
.team-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 18px;
  box-shadow: 0 0 0 8px rgba(37,99,235,.05);
  transition: background .3s, border-color .3s;
  flex-shrink: 0;
}
.team-pillar:hover .team-pillar__icon {
  background: rgba(37,99,235,.20);
  border-color: rgba(37,99,235,.45);
}
.team-pillar strong {
  display: block;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.team-pillar span {
  font-size: 13.5px;
  color: var(--muted2);
  line-height: 1.65;
}
@media (max-width: 720px) {
  .team-pillars { grid-template-columns: 1fr; max-width: 440px; }
  .team-pillar { padding: 28px 22px; }
  .team-manifesto { text-align: left; }
}

/* ── PORTFOLIO MODAL ─────────────────────────────────────── */
.pmodal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.pmodal[aria-hidden="false"] {
  pointer-events: auto;
}
.pmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  opacity: 0;
  transition: opacity .38s ease;
}
.pmodal[aria-hidden="false"] .pmodal__backdrop {
  opacity: 1;
}
.pmodal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  background: rgba(6,8,18,.97);
  border: 1px solid rgba(37,99,235,.22);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(37,99,235,.10),
    0 32px 80px rgba(0,0,0,.70),
    0 0 80px rgba(37,99,235,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition:
    opacity .38s cubic-bezier(.16,1,.3,1),
    transform .38s cubic-bezier(.16,1,.3,1);
}
.pmodal[aria-hidden="false"] .pmodal__container {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.pmodal__close:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  transform: rotate(90deg);
}
.pmodal__inner {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(37,99,235,.35) transparent;
}
.pmodal__inner::-webkit-scrollbar {
  width: 4px;
}
.pmodal__inner::-webkit-scrollbar-track {
  background: transparent;
}
.pmodal__inner::-webkit-scrollbar-thumb {
  background: rgba(37,99,235,.35);
  border-radius: 4px;
}
.pmodal__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(
    135deg,
    rgba(37,99,235,.25) 0%,
    rgba(96,165,250,.08) 60%,
    rgba(37,99,235,.06) 100%
  );
  overflow: hidden;
  flex-shrink: 0;
}
.pmodal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity .3s;
}
.pmodal__img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.pmodal__img-fallback::after {
  content: '[ Preview non disponibile ]';
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .05em;
}
.pmodal__img.is-error {
  opacity: 0;
}
.pmodal__img.is-error ~ .pmodal__img-fallback {
  opacity: 1;
}
.pmodal__body {
  padding: 32px 36px 40px;
}
.pmodal__tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pmodal__title {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 16px;
}
.pmodal__desc {
  font-size: 15.5px;
  color: var(--muted2);
  line-height: 1.78;
  margin: 0;
  max-width: 680px;
}
@media (max-width: 640px) {
  .pmodal { padding: 12px; }
  .pmodal__container { max-height: 92vh; border-radius: 20px; }
  .pmodal__body { padding: 22px 20px 28px; }
  .pmodal__img-wrap { aspect-ratio: 4 / 3; }
  .pmodal__title { font-size: clamp(18px, 5vw, 26px); }
}

/* ── REFINED SECTION HEAD KICKER ─────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(37,99,235,.25);
  background: rgba(37,99,235,.07);
  border-radius: 999px;
}

/* ── ENHANCED FAQ ─────────────────────────────────────────── */
.faq__item {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.07);
  transition:
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}
.faq__item:hover {
  background: rgba(255,255,255,.035);
  border-color: rgba(37,99,235,.20);
}
.faq__item[open] {
  background: rgba(37,99,235,.04);
  border-color: rgba(37,99,235,.28);
  box-shadow: 0 4px 24px rgba(37,99,235,.08);
}

/* ── ENHANCED CONTACT FORM WRAP ──────────────────────────── */
.contact-form-wrap {
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.contact-info h2 {
  margin-top: 14px;
  margin-bottom: 18px;
}
.contact-info > p {
  font-size: 15.5px;
  line-height: 1.78;
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 24px 18px; }
}

/* ── INCLUDE LIST REFINEMENTS ────────────────────────────── */
.include-list__item {
  padding: 20px 22px;
  background: rgba(37,99,235,.04);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 14px;
  transition:
    border-color .28s,
    background .28s,
    transform .28s cubic-bezier(.16,1,.3,1),
    box-shadow .28s;
}
.include-list__item:hover {
  border-color: rgba(37,99,235,.28);
  background: rgba(37,99,235,.07);
  transform: translateX(4px);
  box-shadow: 4px 0 20px rgba(37,99,235,.10);
}
.include-list__check {
  background: rgba(37,99,235,.16);
  border-color: rgba(37,99,235,.30);
}

/* ── CFSTEP HOVER REFINEMENTS ────────────────────────────── */
.cfstep {
  transition:
    border-color .35s ease,
    transform .4s cubic-bezier(.16,1,.3,1),
    box-shadow .35s ease,
    background .35s ease;
}
.cfstep:hover {
  background: rgba(37,99,235,.04);
}

/* ── GLOBAL SECTION DIVIDERS REFINEMENT ─────────────────── */
.section::after {
  width: 45%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37,99,235,.18),
    rgba(96,165,250,.20),
    rgba(37,99,235,.18),
    transparent
  );
}

/* ── BRAND LOGO IN HEADER ────────────────────────────────── */
.brand__logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── HERO GlOW ORB ───────────────────────────────────────── */
.hero__glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(37,99,235,.22) 0%,
    rgba(37,99,235,.06) 50%,
    transparent 70%
  );
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.12); }
}

/* ── PORTFOLIO GRID spacing ──────────────────────────────── */
#portfolio .section__head { margin-bottom: 64px; }
.portfolio-grid { gap: 22px; }

/* ── TEAM SECTION SPACING ────────────────────────────────── */
#team .section__head { margin-bottom: 0; }

/* ── FAQ SECTION SPACING ─────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }

/* ── SMOOTH SECTION TRANSITIONS ─────────────────────────── */
.section--alt {
  background: rgba(255,255,255,.016);
}
.come-funziona-section {
  padding-bottom: 120px;
}

/* ══════════════════════════════════════════════════════════
   v6 — Visual Excellence Overhaul
   ══════════════════════════════════════════════════════════ */

/* ── PORTFOLIO CARD VISUAL: bigger, more impactful ──────── */
.portfolio-card__visual {
  height: 256px !important;
}

/* ── PORTFOLIO CARD MOCKUP — browser chrome preview ─────── */
.portfolio-card__mockup {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 7px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mockup__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mockup__dot:nth-child(1) { background: rgba(255,95,87,.70); }
.mockup__dot:nth-child(2) { background: rgba(255,189,46,.60); }
.mockup__dot:nth-child(3) { background: rgba(39,201,63,.55); }
.mockup__bar {
  flex: 1;
  height: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
}
.mockup__screen {
  flex: 1;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 0 0 7px 7px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.mockup__nav-strip {
  height: 18px;
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  position: relative;
}
.mockup__nav-strip::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 6px;
  background: rgba(255,255,255,.18);
  border-radius: 3px;
}
.mockup__nav-strip::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 6px;
  background: rgba(255,255,255,.09);
  border-radius: 3px;
}
.mockup__hero-strip {
  flex: 1;
  border-radius: 6px;
  min-height: 72px;
  position: relative;
  overflow: hidden;
}
.portfolio-card__visual--blue   .mockup__hero-strip {
  background: linear-gradient(145deg, rgba(37,99,235,.75) 0%, rgba(96,165,250,.35) 100%);
}
.portfolio-card__visual--violet .mockup__hero-strip {
  background: linear-gradient(145deg, rgba(124,92,255,.75) 0%, rgba(167,139,250,.35) 100%);
}
.portfolio-card__visual--dark   .mockup__hero-strip {
  background: linear-gradient(145deg, rgba(10,10,24,.92) 0%, rgba(37,99,235,.45) 100%);
}
.mockup__hero-strip::before {
  content: "";
  position: absolute;
  bottom: 20px; left: 12px;
  width: 72%;
  height: 9px;
  background: rgba(255,255,255,.55);
  border-radius: 4px;
}
.mockup__hero-strip::after {
  content: "";
  position: absolute;
  bottom: 7px; left: 12px;
  width: 48%;
  height: 6px;
  background: rgba(255,255,255,.28);
  border-radius: 3px;
}
.mockup__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mockup__row span {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.09);
}
.mockup__row span:nth-child(1) { width: 88%; }
.mockup__row span:nth-child(2) { width: 70%; }
.mockup__row span:nth-child(3) { width: 50%; }

/* ── PORTFOLIO CARD BODY — refined ───────────────────────── */
.portfolio-card__body {
  padding: 28px 28px 32px !important;
}
.portfolio-card__body h3 {
  font-size: 18.5px !important;
  margin-bottom: 10px !important;
  letter-spacing: -.4px;
}
.portfolio-card__body p {
  font-size: 14px !important;
  line-height: 1.68 !important;
}
.portfolio-grid {
  gap: 28px !important;
}
@media (max-width: 860px) {
  .portfolio-grid { gap: 18px !important; }
}

/* ── MODAL — CTA button ──────────────────────────────────── */
.pmodal__actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 640px) {
  .pmodal__actions .btn { width: 100%; justify-content: center; }
}
.pmodal__img-wrap { aspect-ratio: 16 / 8 !important; }
.pmodal__img-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(37,99,235,.22) 0%, rgba(96,165,250,.08) 60%, rgba(37,99,235,.06) 100%);
}
.pmodal__img-fallback::after {
  content: "Preview non ancora disponibile" !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.30) !important;
  letter-spacing: .08em !important;
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .pmodal__img-wrap { aspect-ratio: 4 / 3 !important; }
}
.pmodal__container {
  border-color: rgba(37,99,235,.28) !important;
  box-shadow:
    0 0 0 1px rgba(37,99,235,.12),
    0 40px 100px rgba(0,0,0,.75),
    0 0 100px rgba(37,99,235,.10) !important;
}
.pmodal__body { padding: 36px 40px 44px !important; }
@media (max-width: 640px) {
  .pmodal__body { padding: 24px 22px 32px !important; }
}

/* ── SECTION HEAD ────────────────────────────────────────── */
.section__head { margin-bottom: 80px !important; }
.section__head h2 {
  font-size: clamp(30px, 3.4vw, 50px) !important;
  letter-spacing: -1.6px !important;
  line-height: 1.09 !important;
}
.section__head p {
  font-size: 17px !important;
  color: rgba(160,170,190,.90) !important;
  line-height: 1.8 !important;
  margin-top: 22px !important;
  max-width: 540px !important;
}
.kicker {
  font-size: 10.5px !important;
  letter-spacing: 2.8px !important;
  padding: 5px 15px !important;
  background: rgba(37,99,235,.08) !important;
  border-color: rgba(37,99,235,.22) !important;
}

/* ── INCLUDE LIST ITEMS ─────────────────────────────────── */
.include-list { gap: 16px 80px !important; max-width: 1020px !important; }
.include-list__col { gap: 16px !important; }
.include-list__item {
  padding: 22px 24px !important;
  border-radius: 16px !important;
  gap: 20px !important;
}
.include-list__item:hover { transform: translateX(6px) !important; }
.include-list__check {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  flex-shrink: 0 !important;
}
.include-list__item strong { font-size: 15.5px !important; letter-spacing: -.3px !important; }
.include-list__item p { font-size: 13.5px !important; line-height: 1.68 !important; }

/* ── COME FUNZIONA ───────────────────────────────────────── */
.cfstep { padding: 48px 32px 40px !important; }
.cfstep__num {
  width: 64px !important;
  height: 64px !important;
  font-size: 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 0 0 10px rgba(37,99,235,.06) !important;
}
.cfstep h3 { font-size: 18px !important; line-height: 1.28 !important; margin-bottom: 14px !important; }
.cfstep p { font-size: 14.5px !important; }

/* ── TEAM PILLARS ────────────────────────────────────────── */
.team-manifesto { margin-bottom: 72px !important; }
.team-manifesto p {
  font-size: 16.5px !important;
  line-height: 1.85 !important;
  color: rgba(160,170,190,.90) !important;
}
.team-pillars { gap: 22px !important; }
.team-pillar { padding: 40px 30px 36px !important; border-radius: var(--radius-lg) !important; }
.team-pillar__icon {
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 0 0 10px rgba(37,99,235,.06) !important;
}
.team-pillar strong { font-size: 18px !important; margin-bottom: 12px !important; }
.team-pillar span { font-size: 14px !important; line-height: 1.7 !important; }

/* ── DISPONIBILI ─────────────────────────────────────────── */
.disponibili-section {
  border-top: 1px solid rgba(37,99,235,.18) !important;
  border-bottom: 1px solid rgba(37,99,235,.18) !important;
}
.disponibili-badge {
  font-size: 13.5px !important;
  padding: 9px 18px 9px 14px !important;
  border-color: rgba(37,99,235,.35) !important;
  background: rgba(37,99,235,.12) !important;
  margin-bottom: 16px !important;
}
.disponibili-sub {
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  color: rgba(160,170,190,.90) !important;
}
.disponibili-stats {
  border-color: rgba(255,255,255,.09) !important;
  background: rgba(255,255,255,.035) !important;
  border-radius: 18px !important;
  padding: 18px 28px !important;
}
.disponibili-stat strong { font-size: 18px !important; }

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-wrap {
  gap: 72px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin-top: 16px !important;
  margin-bottom: 20px !important;
}
.contact-info > p {
  font-size: 15.5px !important;
  line-height: 1.80 !important;
  color: rgba(160,170,190,.90) !important;
}
.contact-form-wrap {
  padding: 36px 40px 40px !important;
  border-color: rgba(255,255,255,.09) !important;
  background: rgba(255,255,255,.025) !important;
  border-radius: var(--radius-lg) !important;
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 26px 20px 28px !important; }
}
.contact-next {
  margin-top: 40px !important;
  padding: 26px 24px !important;
  border-radius: 16px !important;
  border-color: rgba(37,99,235,.22) !important;
  background: rgba(37,99,235,.06) !important;
}
.contact-next__title {
  font-size: 10.5px !important;
  letter-spacing: 2.5px !important;
  margin-bottom: 18px !important;
}
.contact-next__steps li {
  font-size: 14.5px !important;
  line-height: 1.60 !important;
  gap: 16px !important;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 780px !important; gap: 10px !important; }
.faq__item { border-radius: 16px !important; }
.faq__item summary {
  font-size: 16px !important;
  padding: 22px 24px !important;
  letter-spacing: -.2px;
}
.faq__item[open] summary { color: #fff; }
.faq__body {
  padding: 0 24px 22px !important;
  font-size: 15px !important;
  line-height: 1.78 !important;
  color: rgba(160,170,190,.90) !important;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn--primary {
  background: linear-gradient(135deg, #2563EB 0%, #1a56db 100%) !important;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1a3fc5 100%) !important;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero__h1 {
  font-size: clamp(38px, 5vw, 78px) !important;
  letter-spacing: -2px !important;
  line-height: 1.05 !important;
}
.hero__sub {
  font-size: 18px !important;
  line-height: 1.68 !important;
  color: rgba(160,170,190,.90) !important;
}
.hero__center { padding-top: 115px !important; }
@media (max-width: 900px) {
  /* header: top 28px + height 72px = bottom a 100px → 110px lascia 10px di respiro */
  .hero__center { padding-top: 110px !important; }
  .contact-wrap { gap: 40px !important; }
}
@media (max-width: 640px) {
  /* header mobile: top 12px + height 60px = bottom a 72px → 84px lascia 12px di respiro */
  .hero__center { padding-top: 84px !important; }
}

/* ── TEXT RENDERING ──────────────────────────────────────── */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── SECTION SPACING ─────────────────────────────────────── */
.section { padding: 130px 0 !important; }
.section--alt { background: rgba(255,255,255,.012) !important; }
@media (max-width: 900px) {
  .section { padding: 96px 0 !important; }
  .section__head { margin-bottom: 60px !important; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0 !important; }
  .come-funziona-section { padding-top: 10px !important; }
  .section__head { margin-bottom: 40px !important; }
  .cfstep { padding: 34px 20px 28px !important; }
  .team-pillar { padding: 30px 22px 26px !important; }
}

/* ── PORTFOLIO GRID RESPONSIVE ───────────────────────────── */
@media (min-width: 600px) and (max-width: 860px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr !important; max-width: 100% !important; }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr !important; max-width: 480px !important; margin: 0 auto !important; }
}

/* ── TEAM PILLARS MOBILE ─────────────────────────────────── */
@media (max-width: 720px) {
  .team-pillars { grid-template-columns: 1fr !important; max-width: 460px !important; }
}

/* ── HERO MICROCOPY ──────────────────────────────────────── */
.hero__microcopy {
  font-size: 13px !important;
  color: rgba(155,168,200,.55) !important;
  margin-top: 24px !important;
}

/* ── FOOTER REFINEMENT ───────────────────────────────────── */
.footer {
  padding: 60px 0 64px !important;
  border-top-color: rgba(255,255,255,.07) !important;
}
.footer__brand {
  font-size: 17px !important;
  letter-spacing: -.3px;
}

/* ══════════════════════════════════════════════════════════
   v7 — Disponibili + PDF card previews + modal PDF
   ══════════════════════════════════════════════════════════ */

/* ── DISPONIBILI SECTION — centered blue statement ──────── */

/* Override v5/v6 styles completely */
.disponibili-section {
  position: relative;
  padding: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0)         0%,
    rgba(4,9,38,.96)     12%,
    rgba(3,6,28,.98)     50%,
    rgba(4,9,38,.96)     88%,
    rgba(0,0,0,0)        100%
  ) !important;
  border-top: 1px solid rgba(37,99,235,.22) !important;
  border-bottom: 1px solid rgba(37,99,235,.22) !important;
  overflow: hidden;
}

/* Radial glow blob */
.disponibili-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(37,99,235,.28) 0%,
    rgba(37,99,235,.10) 38%,
    transparent 65%
  );
  pointer-events: none;
  animation: disponGlow 8s ease-in-out infinite;
}
@keyframes disponGlow {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;  transform: translate(-50%, -50%) scale(1.08); }
}

/* Centered inner layout */
.disponibili-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px 0 80px;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  gap: 0;
}

/* Badge */
.disponibili-inner .disponibili-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,99,235,.14) !important;
  border: 1px solid rgba(37,99,235,.38) !important;
  color: #93c5fd !important;
  padding: 9px 18px 9px 14px !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 28px !important;
}

/* Main headline */
.disponibili-headline {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.07;
  color: #fff;
  margin: 0 0 24px;
}

/* Subtitle */
.disponibili-inner .disponibili-sub {
  font-size: 17px !important;
  color: rgba(160,170,190,.88) !important;
  line-height: 1.72 !important;
  max-width: 520px;
  margin: 0 0 44px !important;
}

/* Stats row — centered */
.disponibili-inner .disponibili-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(37,99,235,.18) !important;
  border-radius: 20px !important;
  padding: 20px 36px !important;
  gap: 0;
  margin-bottom: 40px;
}
.disponibili-inner .disponibili-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}
.disponibili-inner .disponibili-stat strong {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-size: 20px !important;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.disponibili-inner .disponibili-stat span {
  font-size: 11px;
  color: rgba(148,163,184,.75);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.disponibili-inner .disponibili-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(37,99,235,.25);
  flex-shrink: 0;
}

/* CTA button in disponibili */
.disponibili-inner .btn--primary {
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* Micro text */
.disponibili-micro {
  font-size: 12.5px;
  color: rgba(148,163,184,.50);
  letter-spacing: .02em;
  margin: 0;
}

/* Mobile */
@media (max-width: 720px) {
  .disponibili-inner {
    padding: 64px 0 60px !important;
    max-width: 100%;
  }
  .disponibili-headline {
    font-size: clamp(28px, 7vw, 42px) !important;
    letter-spacing: -1.4px;
  }
  .disponibili-inner .disponibili-sub {
    font-size: 15.5px !important;
    margin-bottom: 36px !important;
  }
  .disponibili-inner .disponibili-stats {
    padding: 16px 20px !important;
    border-radius: 16px !important;
  }
  .disponibili-inner .disponibili-stat {
    padding: 0 16px;
  }
  .disponibili-inner .disponibili-stat strong { font-size: 17px !important; }
}
@media (max-width: 480px) {
  .disponibili-inner .disponibili-stat-div { display: none; }
  .disponibili-inner .disponibili-stats { gap: 16px; }
  .disponibili-inner .disponibili-stat { padding: 0 10px; }
}

/* ── PORTFOLIO CARD PDF FRAME (card thumbnail) ───────────── */

/* Prioritize the real project preview and hide the template mockup */
.portfolio-card__mockup {
  display: none;
}

.portfolio-card__pdf-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity .7s ease;
}
.portfolio-card__pdf-frame.pdf-loaded {
  opacity: 1;
}
/* Gradient overlay that sits on TOP of the PDF thumbnail */
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.00) 0%,
    rgba(0,0,0,.08) 55%,
    rgba(0,0,0,.30) 100%
  );
  pointer-events: none;
}
/* Tag and hint must be above overlay */
.portfolio-card__tag     { position: relative; z-index: 4 !important; }
.portfolio-card__view-hint { z-index: 4 !important; }

/* Suppress the old ::before overlay (replaced by .portfolio-card__overlay) */
.portfolio-card__visual::before {
  display: none !important;
}

/* ── MODAL — PDF IFRAME ───────────────────────────────────── */
.pmodal__img-wrap {
  aspect-ratio: unset !important;
  height: 62vh;
  min-height: 320px;
  max-height: 72vh;
  background: #08080f;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.pmodal__pdf-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  background: #fff;
}
.pmodal__pdf-iframe.is-active {
  display: block;
}

/* Fallback when no PDF */
.pmodal__img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(37,99,235,.18) 0%, rgba(6,10,30,.95) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.pmodal__img-fallback::after {
  content: "Anteprima non disponibile";
  font-size: 12px;
  color: rgba(255,255,255,.28);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Mobile: shorter modal PDF area */
@media (max-width: 640px) {
  .pmodal__img-wrap {
    height: 52vh !important;
    min-height: 260px !important;
  }
}

/* ══════════════════════════════════════════════════════════
   Phase 3 — Premium Design Refinement
   Visual polish · Typography hierarchy · Micro-interactions
   ══════════════════════════════════════════════════════════ */

/* ── P3.0. TRANSITION TOKENS ────────────────────────────── */
:root {
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:  170ms;
  --t-base:  240ms;
  --t-slow:  380ms;
}

/* ── P3.1. TYPOGRAPHY — STRONGER HIERARCHY ──────────────── */

/* Hero headline — maximum visual power */
.hero__h1 {
  font-size: clamp(44px, 6.2vw, 90px) !important;
  letter-spacing: -3.2px !important;
  line-height: 1.00 !important;
  font-weight: 800 !important;
}

/* Section H2 — authoritative, editorial weight */
.section__head h2 {
  font-size: clamp(32px, 4vw, 56px) !important;
  letter-spacing: -1.9px !important;
  line-height: 1.06 !important;
}

/* Hero sub-headline — more readable, slightly warmer */
.hero__sub {
  font-size: 19px !important;
  line-height: 1.74 !important;
  color: rgba(180, 192, 225, 0.84) !important;
  max-width: 600px !important;
  letter-spacing: 0.01em !important;
}

/* Section body descriptions — warmer tone */
.section__head p {
  font-size: 17px !important;
  line-height: 1.88 !important;
  color: rgba(162, 172, 204, 0.90) !important;
  max-width: 520px !important;
}

/* H3 in cards — consistent letter-spacing */
.cfstep h3,
.team-pillar strong,
.target-editorial__item h3,
.timeline__content h3 {
  letter-spacing: -0.5px !important;
}

/* ── P3.2. HERO — STRONGER VISUAL PRESENCE ──────────────── */

/* Breathing room between hero elements */
.hero__text > .badge   { margin-bottom: 20px !important; }
.hero__h1              { margin-bottom: 32px !important; margin-top: 0 !important; }
.hero__sub             { margin-bottom: 52px !important; }

/* Badge — elevated with dual glow */
.hero .badge {
  background:   rgba(37,99,235,.15) !important;
  border-color: rgba(37,99,235,.44) !important;
  box-shadow:
    0 0 0 5px  rgba(37,99,235,.07),
    0 4px 20px rgba(37,99,235,.13) !important;
  font-size: 12.5px !important;
  letter-spacing: 0.025em !important;
}

/* Primary CTA in hero — more prominent */
.hero__actions .btn--lg {
  padding: 18px 38px !important;
}

/* Video overlay — cinematic depth gradient */
.hero__video-overlay {
  background: linear-gradient(
    185deg,
    rgba(0,0,0,.32)  0%,
    rgba(0,0,0,.50)  50%,
    rgba(0,0,0,.90) 100%
  ) !important;
}

/* Hero: top-aligned su tutti i breakpoint.
   align-items: center aggiunge un offset automatico di (100vh - contenuto) / 2
   che spinge il titolo lontano dalla navbar. Con flex-start il contenuto
   inizia esattamente al padding-top definito. */
.hero { align-items: flex-start !important; }

/* Hero center: tutto above-the-fold su desktop */
@media (min-width: 901px) {
  .hero__center {
    /* navbar fixed termina a 100px (top:28 + height:72), 15px di respiro = 115px */
    padding-top:    115px !important;
    padding-bottom:  60px !important;
  }
  /* Visual da 588px → 380px (quadrato): libera ~208px di altezza */
  .hero__visual  { flex: 0 0 min(380px, 32%) !important; }
  .hero__logo-img { max-width: 380px !important; }
}

/* ── P3.3. NAVBAR — ELEVATED PREMIUM FEEL ──────────────── */

/* Header CTA — persistent subtle glow ring */
.header .btn--primary {
  box-shadow:
    0 0 0 1px rgba(37,99,235,.22),
    0 3px 16px rgba(37,99,235,.20) !important;
}
.header .btn--primary:hover {
  box-shadow:
    0 0 0 3px rgba(37,99,235,.26),
    0 8px 32px rgba(37,99,235,.40) !important;
  transform: translateY(-2px) !important;
}

/* Brand — slightly bigger, crisper */
.brand__name {
  font-size: 17px !important;
  letter-spacing: -0.5px !important;
}

/* Active nav link — blue pill highlight */
.nav__link.is-active {
  color: #fff !important;
  background: rgba(37,99,235,.12) !important;
}
.nav__link.is-active::after { width: 70% !important; }

/* Nav link — snappy hover response */
.nav__link {
  transition:
    color      160ms ease,
    background 160ms ease !important;
}

/* ── P3.4. BUTTONS — UNIFIED PREMIUM INTERACTIONS ────────── */

/* Primary — cleaner, focused glow shadow */
.btn--primary:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 0 0 3px rgba(37,99,235,.20),
    0 10px 38px rgba(37,99,235,.44),
    0 3px 12px rgba(0,0,0,.24) !important;
}
.btn--primary:active {
  transform: translateY(0) scale(0.99) !important;
  transition-duration: 80ms !important;
}

/* Ghost — crisper rest and hover state */
.btn--ghost {
  background:   rgba(255,255,255,.035) !important;
  border-color: rgba(255,255,255,.12)  !important;
}
.btn--ghost:hover {
  background:   rgba(255,255,255,.065) !important;
  border-color: rgba(255,255,255,.20)  !important;
  transform:    translateY(-2px)       !important;
  box-shadow:   0 8px 28px rgba(0,0,0,.25) !important;
}

/* ── P3.5. CARDS — UNIFIED HOVER SYSTEM ─────────────────── */

/* Standardize all card transitions to spring easing */
.cfstep,
.target-editorial__item,
.team-pillar,
.portfolio-card,
.benefici-list__item,
.include-list__item,
.faq__item {
  transition:
    border-color 240ms cubic-bezier(0.16,1,0.3,1),
    transform    320ms cubic-bezier(0.16,1,0.3,1),
    box-shadow   240ms ease,
    background   240ms ease !important;
}

/* Elevated hover state — consistent depth */
.cfstep:hover,
.target-editorial__item:hover,
.team-pillar:hover {
  transform: translateY(-7px) !important;
  box-shadow:
    0 0 0 1px rgba(37,99,235,.16),
    0 24px 68px rgba(37,99,235,.15),
    0 8px 24px rgba(0,0,0,.28) !important;
}

/* Card top-line accent: subtle at rest, blue on hover */
.cfstep,
.target-editorial__item,
.team-pillar {
  position: relative;
}
.cfstep::before,
.target-editorial__item::before,
.team-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  pointer-events: none;
  transition: background 240ms ease;
  z-index: 1;
}
.cfstep:hover::before,
.target-editorial__item:hover::before,
.team-pillar:hover::before {
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.55), rgba(96,165,250,.40), transparent);
}

/* Portfolio cards — deeper hover */
.portfolio-card--clickable:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    0 0 0 1px rgba(37,99,235,.20),
    0 30px 80px rgba(37,99,235,.20),
    0 12px 32px rgba(0,0,0,.38) !important;
}

/* Include list items — consistent slide */
.include-list__item:hover {
  transform: translateX(6px) !important;
  box-shadow: 6px 0 28px rgba(37,99,235,.10) !important;
}

/* Benefici items — consistent slide */
.benefici-list__item:hover {
  transform: translateX(6px) !important;
  box-shadow: 6px 0 24px rgba(37,99,235,.09) !important;
}

/* ── P3.6. VISUAL DEPTH — SECTION TREATMENTS ─────────────── */

/* Section dividers — more luminous gradient */
.section::after {
  width: 52% !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(37,99,235,.18) 20%,
    rgba(96,165,250,.32) 50%,
    rgba(37,99,235,.18) 80%,
    transparent 100%
  ) !important;
}

/* Alt sections — subtle tonal shift */
.section--alt {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.010) 0%,
    rgba(255,255,255,.017) 50%,
    rgba(255,255,255,.010) 100%
  ) !important;
}

/* Blue-deep section — prominent top glow line */
.section--blue-deep {
  position: relative;
}
.section--blue-deep::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37,99,235,.45),
    rgba(96,165,250,.58),
    rgba(37,99,235,.45),
    transparent
  );
  pointer-events: none;
  z-index: 2;
}

/* ── P3.7. DISPONIBILI SECTION — STRONGER IMPACT ─────────── */

/* Headline — larger scale */
.disponibili-headline {
  font-size: clamp(36px, 4.6vw, 68px) !important;
  letter-spacing: -2.2px !important;
}

/* Stats numbers — gradient for premium high-tech feel */
.disponibili-inner .disponibili-stat strong {
  font-size: 22px !important;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ── P3.8. FAQ — RICHER ACCORDION ────────────────────────── */

/* Open state — stronger blue tint */
.faq__item[open] {
  background: rgba(37,99,235,.058) !important;
  border-color: rgba(37,99,235,.34) !important;
  box-shadow:
    0 0 0 1px rgba(37,99,235,.09),
    0 8px 36px rgba(37,99,235,.07) !important;
}

/* ── P3.9. CONTACT FORM — REFINED INPUTS ─────────────────── */

.form-input,
.form-textarea {
  border-radius: 12px !important;
  padding: 13px 16px !important;
  background:   rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.09) !important;
  transition:
    border-color 220ms ease,
    background   220ms ease,
    box-shadow   220ms ease !important;
}
.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus) {
  border-color: rgba(255,255,255,.17) !important;
  background:   rgba(255,255,255,.055) !important;
}
.form-input:focus,
.form-textarea:focus {
  border-color: rgba(37,99,235,.55) !important;
  background:   rgba(37,99,235,.05)  !important;
  box-shadow:   0 0 0 4px rgba(37,99,235,.10) !important;
}
.form-label {
  font-size:    11px !important;
  letter-spacing: 0.6px !important;
  color:        rgba(148,163,184,.80) !important;
  font-weight:  600 !important;
  text-transform: uppercase !important;
}

/* ── P3.10. FOOTER — PREMIUM TREATMENT ──────────────────── */

.footer {
  padding: 64px 0 70px !important;
  border-top-color: rgba(255,255,255,.06) !important;
  background: rgba(0,0,0,.20) !important;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37,99,235,.28),
    rgba(96,165,250,.36),
    rgba(37,99,235,.28),
    transparent
  );
}

/* ── P3.11. SECTION SPACING — MAXIMUM BREATHING ROOM ─────── */

@media (min-width: 901px) {
  .section           { padding: 148px 0 !important; }
  .section__head     { margin-bottom: 92px !important; }
  .come-funziona-section { padding: 132px 0 !important; }
}

/* ── P3.12. RESPONSIVE POLISH ───────────────────────────── */

/* Tablet (640–900px) */
@media (min-width: 640px) and (max-width: 900px) {
  .hero__h1 {
    font-size: clamp(36px, 8vw, 58px) !important;
    letter-spacing: -2px !important;
  }
  .hero__sub  { font-size: 17px !important; }
  .section    { padding: 104px 0 !important; }
  .section__head { margin-bottom: 68px !important; }
}

/* Mobile (< 640px) */
@media (max-width: 639px) {
  .hero__h1 {
    font-size: clamp(32px, 9.5vw, 46px) !important;
    letter-spacing: -1.6px !important;
  }
  .hero__sub            { font-size: 16px !important; max-width: 100% !important; }
  .section              { padding: 80px 0 !important; }
  .section__head        { margin-bottom: 52px !important; }
  .hero__text > .badge  { margin-bottom: 28px !important; }
  .hero__actions .btn--lg {
    padding: 15px 28px !important;
    font-size: 15px !important;
  }
  .disponibili-headline {
    font-size: clamp(28px, 8vw, 42px) !important;
    letter-spacing: -1.5px !important;
  }
  .section__head h2 {
    font-size: clamp(26px, 7.5vw, 42px) !important;
    letter-spacing: -1.4px !important;
  }
}

/* Extra small (< 420px) */
@media (max-width: 420px) {
  .section   { padding: 68px 0 !important; }
  .hero__h1  { font-size: clamp(28px, 10vw, 38px) !important; }
}

/* ══════════════════════════════════════════════════════════
   PRICING GRID — sezione "Cosa include"
   ══════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pricing-card:hover {
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 1px rgba(37,99,235,.10), 0 16px 48px rgba(37,99,235,.13);
  transform: translateY(-5px);
}

.pricing-card--featured {
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.28);
}
.pricing-card--featured:hover {
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 1px rgba(37,99,235,.15), 0 20px 60px rgba(37,99,235,.20);
}

.pricing-card__top-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.35);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  width: fit-content;
}

.pricing-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-card__price-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  line-height: 1;
}

.pricing-card__price-main {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}

.pricing-card__price-range {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted2);
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
}

.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}

.pricing-card__list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  background: #2563EB;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ── PRICING MARKET COMPARISON ───────────────────────────── */
.pricing-market-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(37,99,235,.07);
  border: 1px solid rgba(37,99,235,.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.pricing-market-banner strong {
  color: #fff;
  font-weight: 700;
}

.pricing-card__vs {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  padding: 6px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.07);
  line-height: 1.4;
}
.pricing-card__vs s {
  color: rgba(255,100,100,.55);
  text-decoration-color: rgba(255,100,100,.5);
}

@media (max-width: 640px) {
  /* Make cards visually distinct as cards on small screens */
  .pricing-card {
    padding: 24px 20px 28px;
    border-color: rgba(255,255,255,.14); /* more visible border on dark bg */
  }
  .pricing-card--featured {
    border-color: rgba(37,99,235,.45);
  }
  .pricing-card__price-main {
    font-size: 36px; /* scale down from 48px so price fits comfortably */
  }
  .pricing-card__top-badge {
    margin-bottom: 16px;
  }
}

/* ── MOBILE: hero → come-funziona gap (override finale) ─── */
@media (max-width: 640px) {
  .hero__center         { padding-bottom: 0 !important; }
  .come-funziona-section { padding-top:    0 !important; margin-top: 0 !important; }
}
