html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }

:root {
  --ink: #1A1A18;
  --ink-soft: #6B6A63;
  --white: #FFFFFF;
  --sand: #B8935E;
  --sand-deep: #8F6B3E;
  --sand-pale: #F3EBDC;
  --line: #E6E2D8;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-voice: 'Lora', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--white); color: var(--ink); font-family: var(--font-body); }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* NAV */
nav { position: sticky; top: 0; background: var(--white); border-bottom: 1px solid var(--line); z-index: 100; }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; text-decoration: none; color: var(--ink); display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; }
.nav-link { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); background: none; border: none; padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 6px; border-radius: 8px; transition: background 0.15s, color 0.15s; text-decoration: none; }
.nav-link-row { display: flex; align-items: center; }
.caret-toggle { background: none; border: none; cursor: pointer; padding: 10px 12px; border-radius: 8px; color: var(--ink); display: flex; align-items: center; transition: background 0.15s, color 0.15s; }
.caret-toggle:hover, .nav-link-row:hover .caret-toggle { background: var(--sand-pale); color: var(--sand-deep); }
.nav-link:hover, .nav-link.active { background: var(--sand-pale); color: var(--sand-deep); }
.caret { font-size: 10px; transition: transform 0.15s; }
.nav-item:hover .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(26,26,24,0.08); padding: 8px; min-width: 260px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--ink-soft); background: none; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; }
.dropdown-item:hover { background: var(--sand-pale); color: var(--ink); }
.ai-tag { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); text-transform: none; letter-spacing: normal; margin-top: 1px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.nav-toggle:focus, .nav-toggle:active, .nav-toggle:focus-visible { outline: none; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* LAYOUT */
.section { max-width: 1120px; margin: 0 auto; padding: 100px 32px; }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.eyebrow-bar { width: 36px; height: 3px; background: var(--sand); border-radius: 2px; }
.eyebrow-text { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand-deep); }

.grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }

.wide-section { width: 100%; padding: 100px 32px; }
.wide-section.alt { background: var(--sand-pale); }
.wide-inner { max-width: 1040px; margin: 0 auto; }
.wide-title { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.15; text-align: left; margin-bottom: 36px; max-width: none; }
.wide-body { font-size: 19px; line-height: 1.75; color: var(--ink-soft); text-align: justify; text-align-last: left; margin-bottom: 24px; }
.wide-body:last-of-type { margin-bottom: 48px; }
.wide-body strong { color: var(--ink); }
.wide-insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 56px; }
.wide-insight { padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.wide-section.alt .wide-insight { background: var(--white); }
.wide-insight-label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 10px; }
.wide-insight-text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-align: justify; text-align-last: left; }
.wide-thesis { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.4; color: var(--ink); text-align: center; max-width: 720px; margin: 0 auto; padding-top: 40px; border-top: 1px solid var(--line); }
.wide-thesis .highlight { color: var(--sand-deep); }
.wide-thesis.smile-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.wide-thesis.smile-row svg { width: 30px; height: 30px; flex-shrink: 0; }
@media (max-width: 640px) {
  .wide-section { padding: 64px 24px; }
  .wide-title { font-size: 30px; }
  .wide-body { font-size: 17px; }
  .wide-thesis { font-size: 21px; }
}
.grid.reverse .copy { order: 1; } .grid.reverse h2 { order: 2; } .grid.reverse { grid-template-columns: 1fr 1.1fr; }

h1, h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; max-width: 460px; }
h2 .accent { color: var(--sand-deep); }

.copy { display: flex; flex-direction: column; gap: 24px; }
.copy p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 620px; text-align: justify; text-align-last: left; }
.copy p strong { color: var(--ink); font-weight: 600; }

.pillars { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.pillar { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pillar:last-child { border-bottom: none; }
.pillar-label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand-deep); min-width: 180px; flex-shrink: 0; }
.pillar-text { font-size: 15px; color: var(--ink-soft); line-height: 1.5; text-align: justify; text-align-last: left; }

.thesis { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 32px; align-items: start; }
.thesis.smile-row { display: flex; align-items: center; gap: 20px; grid-template-columns: unset; }
.thesis-mark { width: 6px; height: 100%; min-height: 64px; border-radius: 3px; background: var(--sand); }
.thesis-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.24; color: var(--ink); max-width: 780px; }
.thesis-text .highlight { color: var(--sand-deep); }

.manifesto-band { position: relative; z-index: 2; width: 100%; background: var(--ink); padding: 100px 24px; }
.manifesto-band .section { padding: 0; max-width: 900px; }
.manifesto-band-text { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.35; color: var(--white); text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.manifesto-band-text span.mb-line-1, .manifesto-band-text span.mb-line-2, .manifesto-band-text span.mb-line-3 { display: block; }
.manifesto-band-text span.mb-line-1 { margin-bottom: 6px; }
.manifesto-band-text .highlight { color: var(--sand); }
@media (max-width: 640px) {
  .manifesto-band { padding: 64px 24px; }
  .manifesto-band-text { font-size: 24px; }
}
@media (max-width: 400px) {
  .manifesto-band-text { font-size: 19px; }

}
.smile-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--sand-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.smile-mark svg { width: 22px; height: 22px; }

/* TEAM */
.team-intro { max-width: 100%; margin-bottom: 56px; }
.team-intro p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); font-weight: 400; text-align: justify; text-align-last: left; }
.team-intro p strong { color: var(--sand-deep); font-weight: 700; }
.team-group { margin-bottom: 72px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.team-group-title { margin-bottom: 40px; }
.team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.team-card { display: flex; flex-direction: column; gap: 4px; transition: transform 0.25s ease; min-width: 0; }
.team-card:hover { transform: translateY(-4px); }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: 50%; background: var(--sand-pale); margin-bottom: 14px; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.linkedin-link { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; color: var(--ink-soft); text-decoration: none; }
.linkedin-link svg { width: 12px; height: 12px; }
.team-role { font-size: 12px; color: var(--ink-soft); }
.team-bio { font-size: 11px; color: var(--sand-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2px; }

/* HERO with photo + Ken Burns */
.hero-quotes-block { position: relative; width: 100%; overflow: hidden; background: #B1A998; }
.hq-bg { position: absolute; top: 0; left: 0; width: 100%; height: 105vh; object-fit: cover; object-position: center top; z-index: 0; animation: kenburns 16s ease-in-out infinite alternate; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }
@keyframes kenburns { 0% { transform: scale(1) translate(0,0) translateZ(0); } 100% { transform: scale(1.12) translate(-1.5%, 1%) translateZ(0); } }
@media (prefers-reduced-motion: reduce) { .hq-bg { animation: none; } }
.hq-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.88) 82%, rgba(255,255,255,0.9) 100%); }
.hero-overlay { position: relative; z-index: 2; min-height: calc(100vh - 76px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.quotes-content { position: relative; z-index: 2; }
.hero-overlay .hero-brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 36px; }
.hero-overlay .hero-brand-logo { height: 56px; width: 56px; object-fit: contain; filter: drop-shadow(0 1px 6px rgba(255,255,255,0.9)); }
.hero-overlay .hero-brand-text { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 3.2vw, 36px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); text-shadow: 0 2px 10px rgba(255,255,255,0.9), 0 1px 3px rgba(255,255,255,0.7); }
.hero-overlay .hero-tagline { font-size: 14px; color: var(--ink-soft); letter-spacing: 0.02em; margin-bottom: 28px; text-shadow: 0 1px 6px rgba(255,255,255,0.9); }
.hero-overlay h1 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: 0.05em; line-height: 1.3; color: var(--ink); margin-bottom: 20px; text-shadow: 0 2px 10px #fff, 0 4px 24px #fff, 0 0 40px rgba(255,255,255,0.9), 0 0 60px rgba(255,255,255,0.7); }
.hero-overlay .sub { font-size: 17px; font-weight: 700; color: var(--ink); max-width: 560px; text-shadow: 0 1px 4px rgba(255,255,255,0.95), 0 2px 14px rgba(255,255,255,0.9), 0 0 24px rgba(255,255,255,0.75); margin-bottom: 44px; line-height: 1.65; }
.hero-overlay .hero-explore { font-size: 17px; font-weight: 700; color: var(--ink); max-width: 460px; text-shadow: 0 1px 4px rgba(255,255,255,0.95), 0 2px 14px rgba(255,255,255,0.9), 0 0 24px rgba(255,255,255,0.75); margin-bottom: 28px; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* QUOTES CAROUSEL */

.clients-marquee-section { position: relative; z-index: 2; padding: 8px 0 64px; overflow: hidden; }
.clients-marquee-label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  text-shadow: 0 1px 6px rgba(255,255,255,0.9);
}
.clients-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
}
.clients-marquee:hover .clients-marquee-track { animation-play-state: paused; }
.clients-marquee-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255,255,255);
  border-radius: 10px;
  padding: 12px 20px;
  box-shadow: 0 6px 16px rgba(26,26,24,0.1), 0 2px 4px rgba(26,26,24,0.06);
  flex-shrink: 0;
}
.clients-marquee-track img {
  height: 26px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  flex-shrink: 0;
  display: block;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track { animation: none; }
}
.quote-carousel-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 820px; margin: 0 auto; }
.quote-carousel { position: relative; min-height: 160px; max-width: 720px; flex: 1; }
.quote-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; pointer-events: none; text-align: center; }
.quote-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quote-slide p { font-family: var(--font-voice); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
.quote-author { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-deep); }
.quote-arrow { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.15s, color 0.15s; padding: 0; }
.quote-arrow:hover { border-color: var(--sand); color: var(--sand-deep); }
.quote-arrow svg { width: 11px; height: 11px; }
.quote-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.quote-dots { display: flex; gap: 8px; justify-content: center; }
.quote-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background 0.2s, width 0.2s; padding: 0; }
.quote-dot.active { background: var(--sand-deep); width: 18px; border-radius: 3px; }
.quote-pause { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.15s, color 0.15s; padding: 0; }
.quote-pause:hover { border-color: var(--sand); color: var(--sand-deep); }
.quote-pause svg { width: 11px; height: 11px; }

@media (max-width: 640px) {
  .quote-carousel-wrap { gap: 8px; }
  .quote-arrow { width: 24px; height: 24px; }
}

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SERVIZI */
.servizi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servizi-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s ease; min-width: 0; }
.servizi-card:hover { transform: translateY(-4px); border-color: var(--sand); }
.servizi-card .name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
.servizi-card .teaser { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 10px; flex: 1; }
.servizi-card .target { font-size: 11px; color: var(--sand-deep); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 12px; }
.servizi-link { font-size: 12px; font-weight: 700; color: var(--ink); text-decoration: none; font-family: var(--font-display); }
.servizi-link:hover { color: var(--sand-deep); }

/* SERVICE DETAIL */
.service-detail .ratio-bar { display: flex; gap: 4px; margin: 16px 0; }
.service-detail .ratio-seg { height: 8px; border-radius: 4px; }
.service-detail .ratio-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); margin-bottom: 6px; max-width: 480px; }
.service-detail .areas-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.service-detail .area-tag { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; background: var(--sand-pale); color: var(--ink); }
.service-detail .audience-box { margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--sand-pale); max-width: 640px; }
.service-detail .audience-box .label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: 8px; }
.service-detail .audience-box p { font-size: 15px; color: var(--ink); text-align: justify; text-align-last: left; }
.service-detail .audience-box .note { font-size: 12px; color: var(--ink-soft); font-style: italic; margin-top: 8px; }
.back-link { display: inline-block; margin-bottom: 32px; font-size: 13px; font-weight: 600; color: var(--ink-soft); text-decoration: none; font-family: var(--font-display); }
.back-link:hover { color: var(--sand-deep); }

.step-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; max-width: 640px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--sand-deep); min-width: 36px; }
.step-title { font-weight: 700; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.step-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; text-align: justify; text-align-last: left; }

.compare-row { display: flex; flex-direction: column; gap: 16px; max-width: 480px; margin-top: 24px; }
.compare-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.compare-track { height: 12px; border-radius: 6px; background: var(--line); overflow: hidden; }
.compare-fill { height: 100%; border-radius: 6px; }

.type-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; max-width: 700px; }
.type-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.type-card .type-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.type-card .type-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; text-align: justify; text-align-last: left; }

.btn { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 28px; border-radius: 100px; text-decoration: none; display: inline-block; border: none; cursor: pointer; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-secondary { background: rgba(255,255,255,0.45); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(26,26,24,0.18), 0 2px 4px rgba(26,26,24,0.12); }
.btn-secondary:hover { background: rgba(255,255,255,0.7); box-shadow: 0 10px 22px rgba(26,26,24,0.22), 0 3px 6px rgba(26,26,24,0.15); transform: translateY(-3px); }

/* CREDIT */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-box { aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px; transition: border-color 0.2s ease; min-width: 0; }
.logo-box:hover { border-color: var(--sand); }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.7; }
.logo-fallback { display: none; font-family: var(--font-display); font-weight: 600; font-size: 11px; color: var(--ink-soft); text-align: center; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }

/* CONTACT */
.contact-band { background: var(--ink); color: var(--white); padding: 64px 32px; text-align: center; }
.contact-band .label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.contact-band h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 3vw, 32px); }
.contact-band a.btn { margin-top: 24px; }

.contact-info { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink-soft); margin-top: 32px; }
.cities-served { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-soft); white-space: nowrap; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.cities-served::-webkit-scrollbar { display: none; }
.phone-line { display: flex; align-items: center; gap: 10px; }
.whatsapp-link { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; flex-shrink: 0; transition: border-color 0.15s, color 0.15s; }
.whatsapp-link:hover { border-color: var(--sand); color: var(--sand-deep); }
.whatsapp-link svg { width: 14px; height: 14px; }
.linkedin-follow { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.linkedin-follow:hover { color: var(--sand-deep); }
.linkedin-follow-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; transition: border-color 0.15s; }
.linkedin-follow:hover .linkedin-follow-icon { border-color: var(--sand); }
.linkedin-follow-icon svg { width: 15px; height: 15px; }
.contact-info a { color: var(--sand-deep); text-decoration: none; }

.hs-form-wrapper { max-width: 560px; margin-top: 40px; }
.hs-form-placeholder { font-size: 14px; color: var(--ink-soft); line-height: 1.6; padding: 20px; border: 1px dashed var(--line); border-radius: 12px; }
.hs-form-placeholder a { color: var(--sand-deep); text-decoration: none; }

footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.5); text-align: center; padding: 32px; font-size: 12px; }
footer.site-footer a { color: rgba(255,255,255,0.7); }
.made-with-love { margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }
.made-with-love .heart { color: #E0455F; }
.footer-link-btn { background: none; border: none; padding: 0; margin: 0; font: inherit; color: rgba(255,255,255,0.7); text-decoration: underline; cursor: pointer; }

/* Cookie banner */
.cookie-banner[hidden], .cookie-overlay[hidden] { display: none !important; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(26,26,24,0.08); }
.cookie-banner-inner { max-width: 1120px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; max-width: 640px; margin: 0; }
.cookie-text a { color: var(--sand-deep); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 18px; font-size: 12px; }

.cookie-overlay { position: fixed; inset: 0; z-index: 310; background: rgba(26,26,24,0.4); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cookie-modal { background: var(--white); border-radius: 16px; padding: 32px; max-width: 480px; width: 100%; max-height: 85vh; overflow-y: auto; }
.cookie-modal h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 20px; color: var(--ink); margin-bottom: 24px; }
.cookie-category { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); }
.cookie-category p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.cookie-toggle-label { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; }
.cookie-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch-slider { position: absolute; cursor: pointer; inset: 0; background: var(--line); border-radius: 22px; transition: background 0.2s; }
.cookie-switch-slider::before { content: ""; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: var(--white); border-radius: 50%; transition: transform 0.2s; }
.cookie-switch input:checked + .cookie-switch-slider { background: var(--sand-deep); }
.cookie-switch input:checked + .cookie-switch-slider::before { transform: translateX(18px); }
.cookie-modal .cookie-actions { margin-top: 24px; justify-content: flex-end; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; }
  .nav-link-row { width: 100%; justify-content: space-between; }
  .nav-link-row .nav-link { flex: 1; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; }
  .nav-item.open .dropdown { display: block; }

  .hero-quotes-block { min-height: 620px; }
  .hq-bg { object-position: 22% center; }
  .hero-overlay { padding: 48px 24px; }
  .hero-overlay .hero-brand { flex-wrap: wrap; }

  .section { padding: 72px 24px; }
  .grid, .grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .grid.reverse .copy { order: 2; } .grid.reverse h2 { order: 1; }
  h2 { max-width: 100%; }
  .pillar { flex-direction: column; gap: 4px; } .pillar-label { min-width: unset; }
  .team-cards { grid-template-columns: repeat(2, 1fr); }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes-grid { grid-template-columns: 1fr; gap: 32px; }
  .type-cards { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }

  .cookie-banner-inner { padding: 16px 20px; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; text-align: center; }
  .cookie-modal { padding: 24px; }
}

/* THRESHOLD SCREEN — rituale d'ingresso */
.threshold-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.threshold-screen.threshold-hidden { opacity: 0; pointer-events: none; }
.threshold-content { text-align: center; padding: 32px; }
.threshold-logo {
  width: 84px; height: 84px; margin-bottom: 40px;
  opacity: 0; transform: scale(0.9);
  animation: threshold-fade-in 1.1s ease forwards 0.2s;
}
.threshold-phrase {
  font-family: var(--font-display); font-weight: 600; font-size: 26px;
  color: var(--white); letter-spacing: 0.02em;
  opacity: 0; transform: translateY(8px);
  animation: threshold-fade-in 1.1s ease forwards 0.6s;
}
.threshold-dots { color: var(--sand); }
.threshold-hint {
  margin-top: 56px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand);
  opacity: 0;
  animation: threshold-fade-in 1.1s ease forwards 1.4s, threshold-pulse 2.4s ease-in-out infinite 2.5s;
}
@keyframes threshold-fade-in { to { opacity: 1; transform: none; } }
@keyframes threshold-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .threshold-logo, .threshold-phrase, .threshold-hint { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .threshold-phrase { font-size: 20px; }
  .threshold-logo { width: 64px; height: 64px; margin-bottom: 32px; }
}
