@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #070a1c;
  --bg-2: #0d1230;
  --line: #1f2754;
  --text: #f1f3fb;
  --muted: #9ba3c7;
  --blue: #2b2fc7;
  --blue-2: #6f7dff;
  --brand: #14117d;
  --wa: #25d366;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h3 { font-size: 1.6rem; }
em { font-style: normal; color: var(--blue-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--blue); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .85em 1.5em; border: 2px solid var(--blue);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--bg); border-color: #fff; }
.btn-sm { font-size: 1rem; padding: .55em 1.1em; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,10,28,.92); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.top.scrolled { padding-block: 12px; border-color: var(--line); }
.top.scrolled::before { opacity: 1; }
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 84px; width: auto; transition: height .3s; }
.top.scrolled .logo img { height: 64px; }
.foot .logo img { height: 100px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--blue); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--gutter) 0; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: zoom 14s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,10,28,.92) 0%, rgba(7,10,28,.55) 55%, rgba(7,10,28,.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 40%);
}
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-inner { max-width: var(--wrap); width: 100%; margin: 0 auto; padding-bottom: 60px; }
.eyebrow { display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .28em; font-size: .8rem; font-weight: 600; color: var(--muted); margin: 0 0 22px; }
.eyebrow .bar { width: 44px; height: 3px; background: var(--blue); }
.hero h1 { font-size: clamp(3.6rem, 11vw, 9rem); font-weight: 900; line-height: .86; max-width: 11ch; }
.lead { max-width: 520px; font-size: 1.15rem; color: #d3d8ef; margin: 28px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-tags li {
  padding: 22px var(--gutter); font-family: var(--display); font-weight: 800; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: .04em; border-right: 1px solid var(--line);
  background: rgba(7,10,28,.6); backdrop-filter: blur(6px);
}
.hero-tags li:last-child { border-right: 0; }
.hero-tags b { color: var(--blue-2); font-size: .9rem; margin-right: 10px; vertical-align: middle; }

/* Ticker */
/* il contenitore ritaglia la barra inclinata, che sporge ai lati per coprire gli angoli */
.ticker-wrap { overflow: hidden; padding: 12px 0; margin-top: 28px; }
.ticker { background: var(--blue); overflow: hidden; padding: 14px 0; transform: rotate(-1deg); margin: 0 -10px; }
.ticker-track { display: flex; width: max-content; animation: tick var(--tick-dur, 34s) linear infinite; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker span { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; padding: 0 28px; white-space: nowrap; }
.ticker span::after { content: "✦"; margin-left: 56px; font-size: .9rem; vertical-align: middle; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.head { margin-bottom: 56px; max-width: 720px; }
.kicker { color: var(--blue-2); text-transform: uppercase; letter-spacing: .3em; font-weight: 600; font-size: .8rem; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 22px 0 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; background: var(--bg-2); aspect-ratio: 3 / 4; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); filter: saturate(.85); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,10,28,.95) 10%, rgba(7,10,28,0) 60%); }
.card:hover img { transform: scale(1.06); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; z-index: 1; }
.card-body h3 { font-size: 2.2rem; margin: 12px 0 8px; }
.card-body p { margin: 0; color: #ccd2ec; font-size: .98rem; }
.tag { display: inline-block; background: var(--blue); font-weight: 600; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; }

/* About */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-img { margin: 0; position: relative; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-img::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--blue); z-index: -1; }
.about-img { isolation: isolate; }
.about-text h2 { margin-bottom: 28px; }
.about-text .big { font-size: 1.35rem; color: var(--text); font-weight: 500; line-height: 1.45; }
.about-text p { color: var(--muted); }
.link-arrow { display: inline-flex; gap: 10px; margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--blue-2); }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(6px); }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.services li { padding: 32px 26px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; position: relative; }
.services li::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blue); transition: width .3s; }
.services li:hover { background: var(--bg-2); }
.services li:hover::before { width: 100%; }
.n { font-family: var(--display); font-weight: 800; color: var(--blue-2); font-size: 1rem; letter-spacing: .1em; }
.services h3 { margin: 18px 0 10px; font-size: 1.55rem; }
.services p { margin: 0; color: var(--muted); font-size: .95rem; }

.workshop { margin-top: 20px; display: grid; grid-template-columns: 1.3fr 1fr; background: var(--bg-2); min-height: 360px; }
.workshop img { width: 100%; height: 100%; object-fit: cover; }
.workshop-body { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.workshop-body h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 14px 0 14px; }
.workshop-body p { color: var(--muted); margin: 0 0 28px; }

/* Reviews */
.reviews { overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; }
.score { display: grid; justify-items: end; gap: 4px; text-align: right; }
.score b { font-family: var(--display); font-weight: 900; font-size: 4.4rem; line-height: .8; }
.score small { color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; }
.stars { color: #ffc531; letter-spacing: .12em; font-size: 1.05rem; }
.review-marquee {
  overflow: hidden; padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-list { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: tick var(--rev-dur, 80s) linear infinite; }
@media (hover: hover) { .review-marquee:hover .review-list { animation-play-state: paused; } }
.review {
  flex: 0 0 min(360px, 82vw); margin-right: 20px; display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 28px;
}
.review blockquote { margin: 0; flex: 1; color: #d3d8ef; font-size: 1.02rem; }
.who { display: flex; align-items: center; gap: 12px; margin: 0; }
.who b { display: block; font-weight: 600; }
.who span:last-child { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }

/* Contact */
.contact { padding-bottom: 0; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); padding-bottom: clamp(60px, 8vw, 100px); }
.info { list-style: none; padding: 0; margin: 40px 0 0; }
.info li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info span { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--muted); padding-top: 4px; }
.info a { text-decoration: none; font-size: 1.2rem; font-weight: 500; }
.info a:hover { color: var(--blue-2); }
.contact-cta { margin-top: 32px; }

.wa-form { background: var(--bg); padding: clamp(28px, 4vw, 44px); border-top: 4px solid var(--blue); align-self: start; }
.wa-form h3 { font-size: 2rem; }
.form-note { color: var(--muted); font-size: .92rem; margin: 8px 0 24px; }
.wa-form label { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.wa-form input, .wa-form select, .wa-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font: 400 1rem var(--body); letter-spacing: 0; text-transform: none; border-radius: 0;
}
.wa-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: 2px solid var(--blue-2); outline-offset: -1px; border-color: var(--blue); }
.wa-form textarea { resize: vertical; }
.wa-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.map {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  height: 320px; padding: 32px var(--gutter); text-decoration: none; overflow: hidden;
  background-color: #0a0e26;
  background-image:
    linear-gradient(115deg, transparent 47%, #1d2452 47%, #1d2452 49%, transparent 49%),
    linear-gradient(20deg, transparent 60%, #161c42 60%, #161c42 61.2%, transparent 61.2%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  border-top: 1px solid var(--line);
}
.map-pin {
  position: absolute; left: 50%; top: 42%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  background: var(--blue); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 0 0 10px rgba(43,47,199,.18), 0 0 0 24px rgba(43,47,199,.08);
}
.map-pin::after { content: ""; position: absolute; inset: 11px; background: var(--bg); border-radius: 50%; }
.map-label { display: flex; flex-direction: column; gap: 4px; position: relative; }
.map-label b { font-family: var(--display); font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.map-label > span { color: var(--blue-2); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.map:hover .map-pin { animation: bounce .6s ease; }
@keyframes bounce { 50% { transform: rotate(-45deg) translate(6px, -6px); } }
.form-note a { color: var(--text); }

/* Footer */
.foot { padding: 50px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot p { margin: 0; color: var(--muted); font-size: .92rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--blue-2); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-legal p { font-size: .82rem; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; }
.foot-links .powered { color: var(--muted); }
.foot-links .powered a { color: var(--text); text-decoration: none; font-weight: 600; }
.foot-links { flex-wrap: wrap; }

/* Policy dialog */
.policy {
  width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0;
  background: var(--bg); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--blue);
  display: none; flex-direction: column;
}
.policy[open] { display: flex; animation: pop .25s ease; }
.policy::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.policy-bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px 8px; }
.policy-bar h2 { font-size: 2rem; }
.policy-close { background: none; border: 1px solid var(--line); color: var(--text); width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.policy-close:hover { border-color: var(--blue); color: var(--blue-2); }
.policy-tabs { display: flex; gap: 8px; padding: 8px 28px 16px; border-bottom: 1px solid var(--line); }
.policy-tabs a { text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); }
.policy-tabs a.active { background: var(--blue); border-color: var(--blue); }
.policy-body { overflow-y: auto; padding: 8px 28px 32px; font-size: .95rem; line-height: 1.65; overscroll-behavior: contain; }
.policy-body section { padding-top: 22px; }
.policy-body section + section { margin-top: 26px; border-top: 1px solid var(--line); }
.policy-body h3 { font-size: 1.7rem; margin-bottom: 6px; }
.policy-body h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; margin: 22px 0 6px; color: var(--text); }
.policy-body p, .policy-body li { color: #c4cae6; }
.policy-body p { margin: 0 0 10px; }
.policy-body ul { margin: 0 0 10px; padding-left: 20px; }
.policy-body li { margin-bottom: 6px; }
.policy-body b { color: var(--text); font-weight: 600; }
.policy-body a { color: var(--blue-2); }
.policy-body .upd { font-size: .8rem; color: var(--muted); }
body.modal-open { overflow: hidden; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 2.4rem; font-weight: 800; }
  .nav .btn { font-size: 1.5rem; padding: .7em 2em; margin-top: 8px; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; }
  .about-grid, .contact-grid, .workshop { grid-template-columns: 1fr; }
  .about-img::before { inset: 14px -14px -14px 14px; }
  .workshop img { aspect-ratio: 16 / 9; height: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .policy { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border: 0; border-top: 4px solid var(--blue); }
  .policy-bar, .policy-tabs, .policy-body { padding-left: 16px; padding-right: 16px; }
  .map { height: 260px; }
  .map-label b { font-size: 1.4rem; }
  .services { grid-template-columns: 1fr; }
  .hero-tags li { font-size: 1.15rem; padding: 16px 12px; text-align: center; }
  .hero-tags b { display: block; margin: 0 0 2px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .info li { grid-template-columns: 1fr; gap: 4px; }
  .logo img { height: 64px; }
  .top.scrolled .logo img { height: 52px; }
  .foot .logo img { height: 84px; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .score { justify-items: start; text-align: left; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
