/* V Technical Studio — stylesheet */

:root {
  --bg: #f7f8fa;
  --bg-soft: #eef0f4;
  --ink: #10131a;
  --ink-soft: #5b6270;
  --line: #e2e5eb;
  --accent: #3654ff;
  --accent-dark: #2540d1;
  --accent-soft: #7c8fff;
  --teal: #06b6d4;
  --rust: #9333ea;
  --surface-dark: #05060a;
  --on-light: #10131a;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 620px at 102% -14%, rgba(54,84,255,0.22), transparent 58%),
    radial-gradient(900px 620px at -8% -4%, rgba(147,51,234,0.16), transparent 55%),
    radial-gradient(900px 620px at 50% 112%, rgba(6,182,212,0.15), transparent 58%),
    radial-gradient(700px 480px at 98% 98%, rgba(54,84,255,0.12), transparent 55%),
    repeating-linear-gradient(0deg, rgba(16,19,26,0.045) 0, rgba(16,19,26,0.045) 1px, transparent 1px, transparent 88px),
    repeating-linear-gradient(90deg, rgba(16,19,26,0.045) 0, rgba(16,19,26,0.045) 1px, transparent 1px, transparent 88px),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Fixed backgrounds force constant repaints on phones and can stall other
   animations (e.g. the testimonials marquee) — use normal scroll attachment
   on touch/small-screen devices where this matters most. */
@media (max-width: 900px), (hover: none) {
  body { background-attachment: scroll; }
}

/* Decorative watermark mark used behind key sections */
.bg-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  user-select: none;
}
.hero, .contact-cta, .section { position: relative; overflow: hidden; }
.hero > .wrap, .contact-cta > .wrap, .section > .wrap { position: relative; z-index: 1; }

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(247,248,250,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand img.logo-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand span { color: var(--ink-soft); font-weight: 400; }

/* Logo nuovo (28/10/2026): V su fondo scuro + "VT STUDIO" con VT azzurro */
.brand { gap: 8px; letter-spacing: 0.04em; }
.brand img.logo-mark { width: 34px; height: 34px; border-radius: 7px; margin-right: 4px; }
.brand span.vt { color: #0aa5c4; font-weight: 700; }
.brand span:not(.vt) { color: var(--ink); }

/* Social links */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.12); }
.social-links svg { width: 18px; height: 18px; }

.contact-details { display: flex; flex-direction: column; }

nav.links {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

nav.links a {
  color: var(--ink-soft);
  transition: color .15s ease;
}

nav.links a:hover,
nav.links a.active {
  color: var(--accent-dark);
}

nav.links a.nav-gallery {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  nav.links.open { display: flex; }
  nav.links a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }
  nav.links a.nav-gallery {
    margin-left: 0;
  }
  .menu-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(100deg, rgba(5,6,10,0.62) 0%, rgba(5,6,10,0.44) 40%, rgba(5,6,10,0.26) 65%, rgba(11,13,18,0.4) 100%),
    linear-gradient(180deg, rgba(11,13,18,0.05), rgba(11,13,18,0.45) 85%, var(--bg) 100%),
    url('https://static.wixstatic.com/media/nsplsh_3c1af60c9eec47a6853e46ca7c63efd3~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/nsplsh_3c1af60c9eec47a6853e46ca7c63efd3~mv2.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
  color: #fff;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: background .15s ease, color .15s ease;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(54,84,255,0.28);
}
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn { border-radius: 6px; }

.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Section headings */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: none; }

/* Subtle background photo per section — textured, not competing with content */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
#servizi::before {
  background-image:
    linear-gradient(180deg, rgba(247,248,250,0.94) 0%, rgba(247,248,250,0.90) 55%, rgba(247,248,250,0.97) 100%),
    url('https://static.wixstatic.com/media/22d307_4611bb63ceb54670b4b969ef5d5cf77e~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_4611bb63ceb54670b4b969ef5d5cf77e~mv2.jpg');
}
#chi-siamo::before {
  background-image:
    linear-gradient(180deg, rgba(247,248,250,0.95) 0%, rgba(247,248,250,0.91) 50%, rgba(247,248,250,0.97) 100%),
    url('https://static.wixstatic.com/media/nsplsh_ea79c8e48d9440968fbb7ffe57eaeed2~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/nsplsh_ea79c8e48d9440968fbb7ffe57eaeed2~mv2.jpg');
}
#recensioni::before {
  background-image:
    linear-gradient(180deg, rgba(247,248,250,0.94) 0%, rgba(247,248,250,0.90) 55%, rgba(247,248,250,0.97) 100%),
    url('https://static.wixstatic.com/media/22d307_80b7766ecdce4723889938121949e7b2~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_80b7766ecdce4723889938121949e7b2~mv2.jpg');
}
#faq::before {
  background-image:
    linear-gradient(180deg, rgba(247,248,250,0.94) 0%, rgba(247,248,250,0.90) 55%, rgba(247,248,250,0.97) 100%),
    url('https://static.wixstatic.com/media/22d307_323eeb46d763467aab219d77b2a675ea~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_323eeb46d763467aab219d77b2a675ea~mv2.jpg');
}
#dove-siamo::before {
  background-image:
    linear-gradient(180deg, rgba(247,248,250,0.94) 0%, rgba(247,248,250,0.90) 55%, rgba(247,248,250,0.97) 100%),
    url('https://static.wixstatic.com/media/22d307_02754bcdc08d467eb24953d172213b3d~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_02754bcdc08d467eb24953d172213b3d~mv2.jpg');
}

.section-head {
  margin-bottom: 48px;
  max-width: 620px;
}
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-soft);
  padding: 32px 28px;
  border-top: 3px solid var(--accent);
}
.service-card:nth-child(3n+2) { border-top-color: var(--teal); }
.service-card:nth-child(3n+3) { border-top-color: var(--rust); }
.service-card .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.service-card:nth-child(3n+2) .num { color: var(--teal); }
.service-card:nth-child(3n+3) .num { color: var(--rust); }
.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.service-card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  transition: color .15s ease;
}
.service-card:nth-child(3n+2) .card-link { color: var(--teal); }
.service-card:nth-child(3n+3) .card-link { color: var(--rust); }
.service-card .card-link:hover { color: var(--accent-dark); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-grid img {
  width: 100%;
  border-radius: 3px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.about-text h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  margin: 0 0 20px;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 16px;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
/* ogni numero in un riquadro: da telefono le tre scritte restano separate */
.about-facts div {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.about-facts div strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}
.about-facts div span {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .about-facts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .about-facts div { padding: 12px 8px; text-align: center; }
  .about-facts div strong { font-size: 22px; margin-bottom: 4px; }
  .about-facts div span { font-size: 11.5px; }
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 16px;
  background: var(--bg-soft);
}
.gallery-item .thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 13px;
  border: 1px solid var(--line);
  text-align: center;
  padding: 20px;
}
.gallery-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}
.gallery-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Contact / footer */
.contact-cta {
  background: var(--surface-dark);
  color: #fff;
  padding: 80px 0;
}
.contact-cta .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .contact-cta .wrap { grid-template-columns: 1fr; }
}
.contact-cta h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  margin: 0 0 16px;
}
.contact-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0 0 28px;
  max-width: 460px;
}
.contact-cta .btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.contact-cta .btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.contact-details dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 15px;
  margin: 0;
}
.contact-details dt {
  color: rgba(255,255,255,0.5);
}
.contact-details dd {
  margin: 0;
}
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }

footer.site-footer {
  padding: 28px 0;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

/* Form (mailto based, no backend) */
form.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
form.contact-form textarea { resize: vertical; min-height: 110px; }

/* Fiscal benefits banner */
.benefit-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 32px;
  margin-top: 40px;
}
.benefit-banner .icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-banner .icon svg { width: 24px; height: 24px; }
.benefit-banner h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}
.benefit-banner p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 640px) {
  .benefit-banner { flex-direction: column; align-items: flex-start; }
}

/* Team sub-cards inside chi-siamo */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 720px) {
  .founders-grid { grid-template-columns: 1fr; }
}
.founder-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  background: var(--bg-soft);
}
.founder-card .role {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: block;
}
.founder-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.founder-card p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* Testimonials carousel — auto-scrolling infinite loop */
.testimonials-carousel {
  position: relative;
  margin: 0 -4px;
  padding: 0 4px;
  overflow: hidden;
}
.testimonials-carousel::before,
.testimonials-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(247,248,250,0) 100%);
}
.testimonials-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(247,248,250,0) 100%);
}
.testimonials-track {
  display: flex;
  width: max-content;
}
.testimonials-group {
  display: flex;
  /* flex:0 0 auto è essenziale: senza, i due gruppi possono essere compressi
     dal contenitore su mobile e translateX(-100%) non corrisponderebbe più
     alla larghezza reale del contenuto -> loop rotto e scorrimento veloce. */
  flex: 0 0 auto;
  padding: 4px 0 16px;
  animation: testimonials-scroll 170s linear infinite;
}
@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-group { animation: none; }
}

.testimonial-card {
  /* larghezza esplicita (come sul sito Victoria) invece di flex-basis:
     il calcolo max-content del track è molto più affidabile su mobile. */
  flex: 0 0 auto;
  width: 300px;
  margin-right: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}
@media (max-width: 560px) {
  .testimonial-card { width: 82vw; }
}
.testimonial-card .stars {
  color: var(--accent-soft);
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-card p.quote {
  font-size: 14.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.testimonial-card .author {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.testimonial-card .author strong { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-category {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 4px 24px;
}
.faq-category summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-category summary::-webkit-details-marker { display: none; }
.faq-category summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .15s ease;
}
.faq-category[open] summary::after { transform: rotate(45deg); }
.faq-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  padding: 4px 24px;
}
.faq-item summary {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Map */
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(91,124,255,0.15), 0 20px 50px rgba(0,0,0,0.4);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
  background: var(--bg-soft);
}
@media (max-width: 720px) {
  .map-frame { aspect-ratio: 4/5; }
}

.map-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 16px 9px 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  text-decoration: none;
  color: var(--on-light);
}
.map-badge svg { width: 16px; height: 16px; flex: none; }

.map-open-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.map-open-link:hover { background: var(--accent-dark); }

/* Generic eyebrow (used on service landing pages where no more specific
   .hero/.section-head/.about-text scope applies) — more specific rules
   above keep winning by specificity, this is just the shared base. */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 12px;
  display: block;
}

/* Breadcrumb (service landing pages) */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* Service landing page hero — lighter than the homepage hero, no photo */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--teal) 50%, var(--rust) 100%);
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .bg-mark { top: -120px; right: -140px; }
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 18px;
  max-width: 760px;
}
.page-hero .title-accent {
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  margin: 6px 0 24px;
}
.page-hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 28px;
}
.page-hero .hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.page-hero .trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}
.page-hero .trust-row strong { color: var(--ink); font-size: 15px; }

/* Related-services link strip */
.related-services {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.related-services a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 14px;
  background: var(--bg-soft);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.related-services a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Services grid — 2-column variant for a short list of items (e.g. 4 steps),
   so it fills a clean 2x2 instead of leaving an empty cell in a 3-column row. */
.services-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .services-grid.cols-2 { grid-template-columns: 1fr; }
}

/* Scroll reveal — fade + slight rise as content enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Staggered cascade for grids (services-grid, founders-grid) */
.stagger { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1) { transition-delay: .04s; }
.stagger.visible > *:nth-child(2) { transition-delay: .10s; }
.stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.stagger.visible > *:nth-child(4) { transition-delay: .22s; }
.stagger.visible > *:nth-child(5) { transition-delay: .28s; }
.stagger.visible > *:nth-child(6) { transition-delay: .34s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* Card hover lift — service-card and founder-card feel clickable/alive */
.service-card, .founder-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover, .founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(16,19,26,0.10);
}

/* Circular numbered badge — used on short step-by-step lists (cols-2 grids)
   instead of the plain small-caps number, for a stronger visual anchor. */
.service-card .num.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.service-card:nth-child(3n+2) .num.badge { background: var(--teal); }
.service-card:nth-child(3n+3) .num.badge { background: var(--rust); }

/* Alternating section background for service landing pages — a soft tint
   with a fine blueprint-style grid, instead of the homepage's photo panels
   (no photography needed for these pages, but still gives each section its
   own identity and a nod to the technical/architecture theme). */
.section-tint {
  background:
    repeating-linear-gradient(0deg, rgba(16,19,26,0.04) 0, rgba(16,19,26,0.04) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(16,19,26,0.04) 0, rgba(16,19,26,0.04) 1px, transparent 1px, transparent 64px),
    var(--bg-soft);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  z-index: 60;
  transition: transform .15s ease, background .15s ease;
}
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}


/* ============================================================
   TEMA SCURO (prova 28/10/2026): i colori della pagina aste
   fondo #10131a, schede #171c27, bordi #262d3d, testo bianco,
   testo secondario #a9b0c3, azzurro #06b6d4, blu #3654ff
   ============================================================ */
:root {
  --bg: #10131a;
  --bg-soft: #171c27;
  --ink: #ffffff;
  --ink-soft: #a9b0c3;
  --line: #262d3d;
}
body {
  background:
    radial-gradient(1000px 620px at 102% -14%, rgba(54,84,255,0.20), transparent 58%),
    radial-gradient(900px 620px at -8% -4%, rgba(6,182,212,0.12), transparent 55%),
    radial-gradient(900px 620px at 50% 112%, rgba(6,182,212,0.10), transparent 58%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 88px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 88px),
    var(--bg);
}
header.site-header { background: rgba(16,19,26,0.92); }
.brand span.vt { color: var(--teal); }
.brand img.logo-mark { border: 1px solid rgba(255,255,255,0.22); }
nav.links a:hover, nav.links a.active { color: #fff; }
.menu-toggle { color: #fff; }

/* titoletti in azzurro, come "ASTA SOTTO PREZZO" */
.eyebrow, .section-head .eyebrow, .about-text .eyebrow, .faq-category summary { color: var(--teal); }
.breadcrumb a:hover, .service-card .card-link:hover { color: #fff; }

/* foto di sfondo delle sezioni: velo scuro invece che chiaro */
#servizi::before, #recensioni::before, #faq::before, #dove-siamo::before, #chi-siamo::before {
  background-image: none;
}
#servizi::before {
  background-image:
    linear-gradient(180deg, rgba(16,19,26,0.93) 0%, rgba(16,19,26,0.88) 55%, rgba(16,19,26,0.96) 100%),
    url('https://static.wixstatic.com/media/22d307_4611bb63ceb54670b4b969ef5d5cf77e~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_4611bb63ceb54670b4b969ef5d5cf77e~mv2.jpg');
}
#chi-siamo::before {
  background-image:
    linear-gradient(180deg, rgba(16,19,26,0.94) 0%, rgba(16,19,26,0.89) 50%, rgba(16,19,26,0.96) 100%),
    url('https://static.wixstatic.com/media/nsplsh_ea79c8e48d9440968fbb7ffe57eaeed2~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/nsplsh_ea79c8e48d9440968fbb7ffe57eaeed2~mv2.jpg');
}
#recensioni::before {
  background-image:
    linear-gradient(180deg, rgba(16,19,26,0.93) 0%, rgba(16,19,26,0.88) 55%, rgba(16,19,26,0.96) 100%),
    url('https://static.wixstatic.com/media/22d307_80b7766ecdce4723889938121949e7b2~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_80b7766ecdce4723889938121949e7b2~mv2.jpg');
}
#faq::before {
  background-image:
    linear-gradient(180deg, rgba(16,19,26,0.93) 0%, rgba(16,19,26,0.88) 55%, rgba(16,19,26,0.96) 100%),
    url('https://static.wixstatic.com/media/22d307_323eeb46d763467aab219d77b2a675ea~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_323eeb46d763467aab219d77b2a675ea~mv2.jpg');
}
#dove-siamo::before {
  background-image:
    linear-gradient(180deg, rgba(16,19,26,0.93) 0%, rgba(16,19,26,0.88) 55%, rgba(16,19,26,0.96) 100%),
    url('https://static.wixstatic.com/media/22d307_02754bcdc08d467eb24953d172213b3d~mv2.jpg/v1/fill/w_1600,h_1000,al_c,q_85/22d307_02754bcdc08d467eb24953d172213b3d~mv2.jpg');
}

/* schede e riquadri */
.service-card, .founder-card, .testimonial-card, .faq-item, .benefit-banner, .related-services a { background: var(--bg-soft); }
.faq-category { background: #141925; }
.service-card:hover, .founder-card:hover { box-shadow: 0 14px 28px rgba(0,0,0,0.45); }
.testimonials-carousel::before { background: linear-gradient(90deg, var(--bg) 0%, rgba(16,19,26,0) 100%); }
.testimonials-carousel::after { background: linear-gradient(270deg, var(--bg) 0%, rgba(16,19,26,0) 100%); }
.section-tint {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 64px),
    var(--bg-soft);
}
.bg-mark path { stroke: #ffffff; }
.contact-cta { background: #0b0d13; border-top: 1px solid var(--line); }
/* foto di Chi siamo in un riquadro (sfondo trasparente: senza riquadro "sparisce nel vuoto") */
.about-grid img.foto-ritratto {
  padding: 28px 28px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 75% 15%, rgba(6,182,212,0.28), transparent 60%),
    radial-gradient(circle at 15% 100%, rgba(54,84,255,0.22), transparent 55%),
    linear-gradient(180deg, #1b2231 0%, #141925 100%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
/* mappa scura come il sito: filtro sull'iframe (il link della mappa resta quello ?q=...&output=embed) */
.map-frame { border-color: var(--line); background: #10131a; }
.map-frame iframe { filter: invert(90%) hue-rotate(180deg) saturate(0.7) brightness(0.95) contrast(0.9); background: #10131a; }
.map-badge { background: #171c27; color: #fff; border-color: var(--line); }
.map-badge svg { color: var(--teal); }