/* ══════════════════════════════════════════════════
   NYCE EVENT — main.css
   MOBILE FIRST: base = mobile, min-width = desktop
   Font: Grandstander | Palette dal mockup Figma
   ══════════════════════════════════════════════════ */

:root {
  --yellow: #F9C00C;
  --green: #5BA832;
  --pink: #E2007A;
  --cyan: #00AEEF;
  --blue: #0067B0;
  --darkblue: #003E73;
  --orange: #F07D00;
  --red: #E63329;
  --white: #FFFFFF;
  --offwhite: #F7F7F7;
  --black: #1A1A1A;
  --text: #222222;

  --font: 'Grandstander', cursive;
  --nav-h: 64px;
  --radius: 10px;
  --inner: 1100px;
  --pad-x: 20px;

  color-scheme: only light;
}

html,
body,
input,
textarea,
select,
button {
  color-scheme: only light;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
strong { font-weight: 800; }

/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--darkblue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
}

.navbar__logo img { height: 54px; width: auto; }

.navbar__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: .3s;
}

.navbar__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.navbar__links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px var(--pad-x);
  gap: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-bottom: 3px solid var(--darkblue);
  z-index: 199;
}

.navbar__links.open { display: flex; }

.nav-link {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--black);
  transition: color .2s;
}

.nav-link.active { color: var(--pink); }

@media (min-width: 600px) {
  :root { --nav-h: 88px; }
  .navbar { padding: 0 48px; }
  .navbar__logo img { height: 68px; }
  .navbar__burger { display: none; }
  .navbar__links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    gap: 32px;
    box-shadow: none;
    border: none;
  }
  .nav-link { font-size: 1.05rem; position: relative; }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 3px;
    background: var(--pink);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .2s;
  }
  .nav-link:hover::after,
  .nav-link.active::after { transform: scaleX(1); }
}

/* ══════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════ */
.btn__star { display: inline-block; }
.btn__star .emoji-icon { width: 1.6em; height: 1.6em; vertical-align: -0.4em; }
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--sm { padding: 9px 20px; font-size: .82rem; }

/* ══════════════════════════════════════════════════
   PILLS
   ══════════════════════════════════════════════════ */
.pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  margin: 4px;
  transform: rotate(-2deg);
  transition: transform .2s;
}
.pill:nth-child(even) { transform: rotate(2deg); }
.pill:hover { transform: rotate(0deg) scale(1.06); }
.pill--blue { background: var(--blue); }
.pill--green { background: var(--green); }
.pill--cyan { background: var(--cyan); }
.pill--red { background: var(--red); }
.pill--darkblue { background: var(--darkblue); }
.pill--pink { background: var(--pink); }
.pill--orange { background: var(--orange); }

/* ══════════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--pink);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track {
  width: max-content;
  display: inline-flex;
  gap: 14px;
  animation: ticker 48s linear infinite;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--white);
}
.ticker-track .sep { opacity: .5; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (min-width: 600px) {
  .ticker-track { font-size: 2.3rem; gap: 24px; }
}

/* ══════════════════════════════════════════════════
   PAGE WRAPPER
   ══════════════════════════════════════════════════ */
.page { display: none; }
.page--home { display: block; }

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
/* ── HERO — sfondo colorato, card centrata ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 18px var(--pad-x);
}

.hero--pink     { background: var(--pink); }
.hero--darkblue { background: var(--darkblue); }
.hero--cyan     { background: var(--cyan); }
.hero--green    { background: var(--green); }
.hero--yellow   { background: var(--yellow); }
.hero--orange  { background: var(--orange); }

.hero__card {
  background: rgba(255,255,255,.93);
  border-radius: 16px;
  padding: 20px 22px;
  width: 88%;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  position: relative;
}

.hero__card h1 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--black); }
.hero__card p  { font-size: .82rem; line-height: 1.7; }

/* Galleria foto sotto la hero */
.hero-gallery {
  width: 100%;
  overflow: hidden;
  height: 260px;
}

.hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero__img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .hero { min-height: 180px; }
  .hero__card { padding: 28px 32px; }
  .hero__card h1 { font-size: 1.7rem; }
  .hero__card p  { font-size: .92rem; }
  .hero-gallery  { height: 360px; }
}

@media (min-width: 600px) {
  .hero { min-height: 180px; padding: 24px 48px; }
  .hero__card { padding: 28px 40px; }
  .hero__card h1 { font-size: 2rem; }
  .hero__card p  { font-size: .95rem; }
  .hero-gallery  { height: 480px; }
}

/* ══════════════════════════════════════════════════
   SPLIT BLUE
   ══════════════════════════════════════════════════ */
.split-blue {
  background: var(--cyan);
  color: var(--white);
  padding: 18px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.split-blue__left h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.split-blue__left p  { font-size: 1.4rem; }
.split-blue__right p { margin-bottom: 20px; line-height: 1.8; font-size: .95rem; }
.split-blue--home {
  background: var(--darkblue);

}

@media (min-width: 600px) {
  .split-blue {
    flex-direction: row;
    align-items: center;
    gap: 160px;
    padding-left: max(80px, calc((100% - 800px) / 2));
    padding-right: max(80px, calc((100% - 800px) / 2));
    padding-bottom: 50px;
        padding-top: 50px;

  }
  
  .split-blue__left,
  .split-blue__right { flex: 1; }
  .split-blue__left h2 { font-size: 2.2rem; }

}

/* ══════════════════════════════════════════════════
   TESTIMONIANZE
   ══════════════════════════════════════════════════ */
.testimonials { padding: 20px 0; background: var(--white); overflow: hidden; }
.testimonials__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 var(--pad-x);
  justify-content: center;
}
.testimonials__heading h2 { font-size: 1.6rem; font-weight: 900; line-height: 1.2; }
.deco-emoji { font-size: 1.6rem; }
/* cuore + stella in coppia, leggermente sovrapposti e ruotati, come nel design originale */
.heading-deco { position: relative; display: inline-block; width: 2.6rem; height: 2.4rem; flex-shrink: 0; }
.heading-deco .emoji-icon { position: absolute; width: 1.7rem; height: 1.7rem; }
.heading-deco__heart { top: 0; left: 0; transform: rotate(-12deg); z-index: 2; }
.heading-deco__star { bottom: 0; right: 0; width: 1.5rem; height: 1.5rem; transform: rotate(18deg); z-index: 1; }
/* stella PNG al posto dell'emoji: 1em cosi eredita la dimensione del font-size del contesto in cui si trova */
.emoji-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; object-fit: contain; }
/* cuore nel titolo "Nyce Event"/"I nostri servizi"/"I nostri partner" a inizio pagina: più grande del testo */
.emoji .emoji-icon { width: 1.6em; height: 1.6em; vertical-align: -0.3em; }
/* stellina sotto il testo dei box hero: era senza dimensione propria (ereditava il font-size piccolo del paragrafo) */
.hero__deco--star .emoji-icon { width: 32px; height: 32px; vertical-align: middle; }
.testimonials__carousel {
  display: flex;
  gap: 28px;
  animation: carousel 42s linear infinite;
  width: max-content;
  padding: 0 var(--pad-x);
}
.testimonials__carousel:hover { animation-play-state: paused; }
@keyframes carousel {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tcard {
  width: 360px;
  flex-shrink: 0;
  border-radius: 12px;
  padding: 20px 20px 20px 24px;
  background: #dbdbdb;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.tcard--yellow { border-top: 8px solid var(--yellow); border-left: 8px solid var(--yellow); }
.tcard--green  { border-top: 8px solid var(--green);  border-left: 8px solid var(--green); }
.tcard--orange { border-top: 8px solid var(--orange); border-left: 8px solid var(--orange); }
.tcard__header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.tcard__header strong { font-size: 1.35rem; font-weight: 900; color: var(--black); }
.tcard p { font-size: .83rem; font-weight: 700; line-height: 1.75; color: var(--text); }

@media (min-width: 600px) {
  .testimonials { padding: 28px 0; }
  .testimonials__heading { margin-bottom: 28px; padding: 0 max(24px, calc((100% - var(--inner)) / 2)); }
  .testimonials__heading h2 { font-size: 2.2rem; }
  .deco-emoji { font-size: 2rem; }
  .testimonials__carousel { gap: 36px; }
  .tcard { width: 420px; padding: 24px 24px 24px 28px; }
  .tcard__header strong { font-size: .95rem; }
  .tcard__header span   { font-size: .78rem; }
  .tcard p { font-size: .88rem; }
}

/* ══════════════════════════════════════════════════
   RUOLI
   ══════════════════════════════════════════════════ */
.roles { padding: 20px var(--pad-x); display: flex; flex-direction: column; gap: 20px; }
.roles__left h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.roles__left p  { margin-bottom: 20px; line-height: 1.7; font-size: .95rem; }
.roles__tags    { display: flex; flex-wrap: wrap; }

@media (min-width: 600px) {
  .roles {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 28px max(40px, calc((100% - var(--inner)) / 2));
  }
  .roles__left  { flex: 1; }
  .roles__tags  { flex: 1.2; }
  .roles__left h2 { font-size: 2.2rem; }
}

/* ══════════════════════════════════════════════════
   EXPERIENCE
   ══════════════════════════════════════════════════ */
.experience {
  background: var(--white);
  color: var(--black);
  padding: 20px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.experience__left { text-align: right; }
.experience__left h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.experience__left p  { line-height: 1.7; font-size: .95rem; }
.experience__right ul {
  list-style: none;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to right, var(--yellow), transparent) border-box;
  border-top: 6px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: none;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .95rem;
  font-weight: 700;
}
.experience__right li { display: flex; align-items: center; gap: 10px; }
.exp-icon { font-size: 1.1rem; flex-shrink: 0; }
.exp-text--blue   { color: var(--black); }
.exp-text--green  { color: var(--black); }
.exp-text--dark   { color: var(--black); }
.exp-text--blue2  { color: var(--black); }

@media (min-width: 600px) {
  .experience {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 28px max(40px, calc((100% - var(--inner)) / 2));
  }
  .experience__left,
  .experience__right { flex: 1; }
  .experience__left h2 { font-size: 2.2rem; }
  .experience__right ul { padding: 28px 32px; font-size: 1rem; gap: 14px; }
}

/* ══════════════════════════════════════════════════
   PARTNER PREVIEW
   ══════════════════════════════════════════════════ */
.partners-preview { padding: 20px 0; }
.partners-preview .section-title { padding: 0 var(--pad-x); }
.section-title { font-size: 1.6rem; font-weight: 900; text-align: center;  line-height: 1.2; }
.partners-preview__grid { display: flex; flex-direction: column; gap: 16px; margin-top: 30px;}
.pcard { min-height: 140px; padding: 24px; display: flex; align-items: center; gap: 18px; border-radius: 0 90px 90px 0; }
/* justify-content:flex-end raggruppa testo+logo insieme, spinti in fondo (lato destro/arrotondato) della card */
.pcard--darkblue { background: var(--darkblue); color: var(--white); margin-right: 20px; justify-content: flex-end; }
.pcard .btn { margin-top: 10px; align-self: flex-start; border-radius: 10px; }
.pcard--yellow { background: var(--yellow); color: var(--black); border-radius: 90px 0 0 90px; margin-left: 20px; }
.pcard__text { display: flex; flex-direction: column; gap: 6px; }
.pcard__name { font-weight: 800; font-size: .95rem; letter-spacing: .03em; }
.pcard__sub  { font-size: .8rem; opacity: .75; }
.pcard__logo { width: 70px; height: 70px; flex-shrink: 0; border-radius: 50%; object-fit: cover; margin: 0 10px; }

@media (min-width: 600px) {
  .partners-preview__grid { flex-direction: row; gap: 106px; }
  .pcard { flex: 1; }
  .pcard--darkblue { margin-right: 0; }
  .pcard--yellow { margin-left: 0; }
}
@media (min-width: 600px) {
  .partners-preview { padding: 28px 0; }
  .partners-preview .section-title { padding: 0 max(40px, calc((100% - var(--inner)) / 2)); }
  .section-title { font-size: 2.2rem;  line-height: 1.2; }
  .pcard { min-height: 170px; padding: 32px; gap: 24px; }
  .pcard__logo { width: 90px; height: 90px; margin: 0 14px; }
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--cyan);
  color: var(--black);
  padding: 40px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}
.footer__brand { font-weight: 800; font-size: 1rem; margin-bottom: 10px; }
.footer p,
.footer address { font-size: .9rem; line-height: 1.9; }
.footer a { color: var(--darkblue); text-decoration: underline; }
.footer__socials { display: flex; gap: 25px; margin-top: 16px; }
.footer__socials a {
  display: flex; align-items: center; justify-content: center;
  color: var(--black); font-size: 1.3rem; text-decoration: none; transition: transform .2s;
}
.footer__socials a:hover { transform: scale(1.15); }

@media (min-width: 600px) {
  .footer {
    flex-direction: row;
    gap: 260px;
    padding: 32px max(40px, calc((100% - var(--inner)) / 2));
    justify-content: center;
  }
  .footer__col { flex: 0 1 340px; }
}

/* ══════════════════════════════════════════════════
   WHATSAPP FAB
   ══════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 999;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.wa-fab > i { font-size: 28px; }

.wa-fab > i::before {
  display: block;
  line-height: 1;
  margin: 0;
  padding: 0;
}
@media (min-width: 600px) {
  .wa-fab { bottom: 28px; right: 28px; width: 60px; height: 60px; }
  .wa-fab > i { font-size: 30px; }
}

/* ══════════════════════════════════════════════════
   LAVORA CON NOI
   ══════════════════════════════════════════════════ */
.ticker-bar--pink     { background: var(--pink); }
.ticker-bar--orange   { background: var(--orange); }
.ticker-bar--green    { background: var(--green); }
.ticker-bar--darkblue { background: var(--darkblue); }

.btn--wa {
  position: relative;
  display: inline-flex;
  gap: 10px;
  background: var(--green);
  color: var(--black);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  height: 54px;
  justify-content: center;
  align-items: center;
}
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(91,168,50,.35); }
.btn--wa i { font-size: 1.5rem; }

.roles-title-wrap { text-align: center; margin-top: 30px;}

@media (min-width: 600px) {
  .roles-title-wrap { padding: 24px max(40px, calc((100% - var(--inner)) / 2)) 0; }
  .btn--wa { margin-left: 54px; width: 300px; top: -30px; }
}

.roles--lavora .roles__left h2 { display: none; }

.roles-quote {
  padding: 6px var(--pad-x) 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.roles-quote p { font-size: 1rem; line-height: 1.8; }

@media (min-width: 600px) {
  .roles-quote { margin-bottom: 25px;;}
  .roles-quote p { font-size: 1.4rem; }
}

.offriamo {
  background: var(--green);
  color: var(--white);
  margin-top: -110px;
  padding: 134px var(--pad-x) 96px;
}
.offriamo .section-title { color: var(--black); margin-bottom: 32px; }
.offriamo__grid { display: flex; flex-direction: column; gap: 16px; }
.offriamo__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.offriamo__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; font-weight: 600; line-height: 1.6; }
.offriamo__list .deco-emoji { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.offriamo__list p { margin: 0; }

@media (min-width: 600px) {
  .offriamo { padding: 120px max(40px, calc((100% - var(--inner)) / 2)) 120px; }
  .offriamo__grid { flex-direction: row; gap: 48px; }
  .offriamo__list { flex: 1; }
}

.tcard-scroll { position: relative; z-index: 2; padding-bottom: 20px; overflow: hidden; }
.tcard-scroll .tcard { width: 260px; }
.tcard-scroll .tcard__header { text-align: center; }

.cosa-chiediamo-wrap {
  position: relative; z-index: 3;
  display: flex; justify-content: center;
  padding: 40px var(--pad-x) 0;
  margin-top: -110px;
}
.cosa-chiediamo {
  background: var(--white);
  border: 14px solid var(--blue);
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 580px; width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.cosa-chiediamo h3 { font-size: 2.3rem; font-weight: 900; margin-bottom: 20px; color: var(--black); }
.cosa-chiediamo ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cosa-chiediamo li { font-size: .88rem; line-height: 1.65; padding-left: 16px; position: relative; }
.cosa-chiediamo li::before { content: '·'; position: absolute; left: 0; font-weight: 900; font-size: 1.3rem; line-height: 1.1; color: var(--blue); }

@media (min-width: 600px) {
  .cosa-chiediamo { padding: 40px 48px; }
  .cosa-chiediamo h3 { font-size: 1.5rem; }
  .cosa-chiediamo li { font-size: .93rem; }
}

.form-candidatura { display: flex; flex-direction: column; gap: 28px; padding: 32px var(--pad-x) 48px; background: var(--white); }
.form-candidatura__text { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.form-candidatura__text p { font-size: 1.2rem; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.form-cta-pink { color: var(--pink); }
.candidatura-form { display: flex; flex-direction: column; }
.cform__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.cform__field { border-bottom: 2px solid rgba(0,0,0,.2); transition: border-color .2s; }
.cform__field:focus-within { border-bottom-color: var(--pink); }
.cform__field input,
.cform__field select,
.cform__field textarea { width: 100%; background: transparent; border: none; outline: none; font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--black); padding: 18px 0 12px; appearance: none; -webkit-appearance: none; }
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: rgba(0,0,0,.4); }
.cform__field textarea { resize: none; min-height: 90px; line-height: 1.5; font-weight: 500; }
.cform__field--file { border-bottom: none; margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cform__filename { font-size: .78rem; color: rgba(0,0,0,.45); font-family: var(--font); }
.cform__check { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; font-family: var(--font); font-size: .8rem; color: rgba(0,0,0,.6); font-weight: 600; }
.cform__check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--pink); cursor: pointer; }
.cform__link { color: var(--pink); text-decoration: underline; }

@media (min-width: 600px) {
  .form-candidatura { flex-direction: row; align-items: flex-start; gap: 64px; padding: 32px max(40px, calc((100% - var(--inner)) / 2)) 64px; }
  .form-candidatura__text { flex: 1; position: sticky; top: 100px; }
  .form-candidatura__text p { font-size: 1.4rem; }
  .candidatura-form { flex: 1.2; }
  .cform__field input { font-size: .95rem; padding: 16px 0; }
}

/* ══════════════════════════════════════════════════
   CHI SIAMO
   ══════════════════════════════════════════════════ */
.cs-hero { background: var(--cyan); padding: 20px var(--pad-x); display: flex; justify-content: center; align-items: center; min-height: 220px; }
.cs-hero__card { position: static; transform: none; max-width: 480px; width: 100%; text-align: center; }

.values { padding: 20px var(--pad-x); }
.values__grid { display: flex; flex-direction: column; gap: 16px; }
.val-card { border-radius: 12px; padding: 28px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--white); }
.val-card__icon { font-size: 3.2rem; }
.val-card p { font-size: .92rem; font-weight: 700; }
.val-card--pink   { border: 20px solid var(--pink); }
.val-card--yellow { border: 20px solid var(--yellow); }
.val-card--cyan   { border: 20px solid var(--cyan); }
.team-pill:nth-child(1) { width: 360px; max-width: 100%; align-self: flex-end; }
.team-pill:nth-child(2) { width: 440px; max-width: 100%; align-self: flex-end; }
.team-pill:nth-child(3) { width: 400px; max-width: 100%; align-self: flex-end; }
@media (min-width: 600px) {
  .values__grid { flex-direction: row; }
  .val-card { flex: 1; }
}
@media (min-width: 600px) {
  .values { padding: 32px max(40px, calc((100% - var(--inner)) / 2)); }
  .val-card { padding: 36px 24px; }
  .val-card p { font-size: 1rem; }
}

.team-pills { display: flex; flex-direction: column; gap: 8px; }
.team-pill { display: block; background: var(--cyan); border-radius: 5px 0 0 5px; color: var(--white); font-family: var(--font); font-weight: 300; font-size: 1.4rem; padding: 10px 20px; letter-spacing: .05em; }
.team-list { font-weight: 800; margin-left: 53px; margin-top: -12px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: .99rem; line-height: 1.65; }
.team-pill:nth-child(1) { width: 360px; align-self: flex-end; }
.team-pill:nth-child(2) { width: 440px; align-self: flex-end; }
.team-pill:nth-child(3) { width: 400px; align-self: flex-end; }

.staff-section { padding: 20px var(--pad-x); }
.staff-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.staff-card { position: relative; overflow: hidden; flex: 1 1 200px; min-height: 200px; border-radius: 7px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; color: var(--white); }
.staff-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; pointer-events: none; }
.staff-card__info { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; padding: 12px 4px 4px; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 75%); margin: 0 -20px -20px; padding-left: 20px; padding-right: 20px; padding-bottom: 16px; }
.staff-card__name    { font-weight: 400; font-size: 1rem; letter-spacing: .03em; }
.staff-card__role    { font-size: .75rem; font-weight: 600; line-height: 1.4; opacity: .9; }
.staff-card__contact,
.staff-card__social  { font-size: .72rem; opacity: .8; }
.staff-card--green    { background: var(--green); }
.staff-card--pink     { background: var(--pink); }
.staff-card--orange   { background: var(--orange); }
.staff-card--yellow   { background: var(--yellow); }
.staff-card--darkblue { background: var(--darkblue); }
/* --darkblue è troppo scuro per il mix-blend-mode:multiply della foto (la schiaccia in una silhouette):
   per le card con foto si usa --cyan, più chiaro, che dà lo stesso effetto "ritaglio" restando leggibile. */
.staff-card--cyan { background: var(--cyan); }

@media (max-width: 599px) {
  .staff-card {
    flex: 0 0 100%;
    min-height: 340px;
    isolation: isolate;
  }
}

@media (min-width: 600px) {
  .staff-section { padding: 32px max(40px, calc((100% - var(--inner)) / 2)); }
  .staff-grid { justify-content: center; }
  .staff-card { flex: 0 1 calc(33.33% - 16px); min-height: 340px; }
}

/* ══════════════════════════════════════════════════
   PARTNERS
   ══════════════════════════════════════════════════ */

/* Griglia strutture */
.strutture {
  padding: 20px var(--pad-x);
  background: var(--white);
  position: relative;
  display: block;
}

.strutture__viewport {
  overflow: hidden;
  width: 100%;
}

.strutture__track {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
}

.struttura-card {
  flex: 0 0 100%;
}

.struttura-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.struttura-card__name {
  font-weight: 800;
  font-size: .9rem;
  text-align: center;
  margin-top: 8px;
}

.strutture__arrow {
  display: flex;
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 700;
  transition: background .2s;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.strutture__arrow--prev { left: 6px; }
.strutture__arrow--next { right: 6px; }

.strutture__arrow:hover { background: var(--pink); color: var(--white); }
.strutture__arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }
.strutture__arrow:disabled:hover { background: rgba(255,255,255,.85); color: inherit; }

@media (min-width: 600px) {
  .strutture {
    padding: 32px max(40px, calc((100% - var(--inner)) / 2));
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .strutture__viewport { flex: 1; }
  .strutture__arrow {
    display: flex;
    position: static;
    transform: none;
    background: var(--yellow);
    width: 44px;
    height: 44px;
    box-shadow: none;
  }
  .strutture__arrow:disabled:hover { background: var(--yellow); }
}

/* Form Egitto — sottolineatura gialla, data senza bold */
.cform__field--yellow {
  border-bottom-color: var(--yellow);
}

.cform__field--yellow:focus-within {
  border-bottom-color: var(--pink);
}

.candidatura-form--egitto input[type="date"] {
  font-weight: 400;
}
.ticker-bar--cyan { background: var(--cyan); }

/* ── srv-top (Nyce Village e Magic Castle) ── */
.srv-top {
  padding: 12px var(--pad-x);
  background: var(--white);
  display: flex;
  justify-content: flex-end;
}
.srv-top__text { max-width: 520px; text-align: right; }
.srv-top__text--left { text-align: left; margin-right: auto; margin-left: 0; margin-top: 75px; }
.srv-top__text h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.srv-top__text p  { font-size: .92rem; line-height: 1.8; margin-bottom: 28px; }

/* ── Nyce Village block ── */
.srv-village-block { position: relative; }

/* mobile: immagine nel flusso normale */
.srv-img-overlap {
  width: 100%;
  padding: 0 var(--pad-x) 24px;
}

.srv-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 8px solid transparent;
  width: 100%;
}
.srv-frame img { width: 100%; height: 260px; object-fit: cover; display: block; }

.srv-carousel { position: relative; width: 100%; height: 260px; overflow: hidden; background: var(--white); }
.srv-eventi__img .srv-carousel { height: 300px; }

.srv-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease;
}

.srv-carousel-track img {
  min-width: 100%;
  flex-shrink: 0;
  height: 260px;
  object-fit: cover;
  display: block;
}
.srv-frame--green { border-color: var(--green); }
.srv-frame--pink  { border-color: var(--pink); }
.srv-frame--blue  { border-color: var(--blue); }

.srv-frame__star {
  position: absolute;
  font-size: 2.5rem;
  top: -24px; right: -8px;
  pointer-events: none;
}

@media (max-width: 599px) {
  .srv-img-overlap { position: relative; }
  .srv-frame__star { right: 16px; }
}

/* ── Yellow section ── */
.srv-yellow { background: var(--yellow); padding: 32px var(--pad-x) 40px; }
.srv-yellow__text { max-width: 480px; }
.srv-yellow__text p { font-size: .92rem; line-height: 1.8; margin-bottom: 12px; font-weight: 600; }

/* ── Magic Castle block ── */
.srv-magic-block { position: relative; }
.srv-magic { justify-content: flex-start; }

/* mobile: immagine nel flusso normale */
.srv-img-overlap--magic {
  width: 100%;
  padding: 0 var(--pad-x) 24px;
}

/* ── Animazione eventi ── */
.srv-eventi { flex-direction: column; padding: 0; gap: 0; }
.srv-eventi__img { width: 100%; overflow: hidden; }
.srv-eventi__img img { width: 100%; height: 300px; object-fit: cover; }
.srv-eventi__text { padding: 40px var(--pad-x); }
.srv-eventi__text h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; color: var(--white); line-height: 1.2; }
.srv-eventi__text p  { font-size: .92rem; line-height: 1.8; margin-bottom: 12px; }

/* ── Dr.Why orange ── */
.srv-orange { background: var(--orange); color: var(--white); padding: 40px var(--pad-x); display: flex; flex-direction: column; gap: 28px; }
.srv-orange__left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.srv-drwhy-logo { max-width: 200px; border-radius: 8px; }
.srv-btn-cyan { background: var(--cyan); color: var(--white); border-radius: 8px; font-weight: 700; }
.srv-orange__right h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 16px; line-height: 1.2; }
.srv-orange__right p  { font-size: .92rem; line-height: 1.8; margin-bottom: 12px; }

/* ══════════════════════════════════════════════════
   SERVIZI — desktop
   ══════════════════════════════════════════════════ */
@media (min-width: 600px) {

  /* srv-top */
  .srv-top {
    padding: 32px max(40px, calc((100% - var(--inner)) / 2));
  }
  .srv-top__text h2 { font-size: 2.2rem; }

  .srv-frame img { height: 420px; }

  .srv-carousel { height: 420px; }
  .srv-eventi__img .srv-carousel { height: 420px; }

  .srv-carousel-track img { height: 420px; }

  .srv-yellow {
    padding: 24px max(40px, calc((100% - var(--inner)) / 2)) 36px;
  }

  /* Animazione eventi */
  .srv-eventi { flex-direction: row; }
  .srv-eventi__img { flex: 1; }
  .srv-eventi__img img { height: 100%; min-height: 420px; }
  .srv-eventi__text { flex: 1; padding: 60px max(40px, calc((100% - var(--inner)) / 4)); display: flex; flex-direction: column; justify-content: center; }
  .srv-eventi__text h2 { font-size: 2.2rem; }

  /* Dr.Why */
  .srv-drwhy-logo {max-width: 300px; }
  .srv-orange { flex-direction: row; align-items: center; gap: 184px; padding: 52px max(40px, calc((100% - var(--inner)) / 2)); min-height: 500px; }
  .srv-orange__left  { flex: 1; }
  .srv-orange__right { flex: 1.2; margin-top: 100px; }
  .srv-orange__right h2 { font-size: 2.2rem; }

  .srv-btn-cyan { margin-left: 50px;}
}

/* ── Overlap immagini: solo da 1100px in su ── */
@media (min-width: 1100px) {

  /* Nyce Village */
  .srv-top { padding-bottom: 160px; }

  .srv-img-overlap {
    position: absolute;
    transform: translateY(-190px);
    right: max(40px, calc((100% - var(--inner)) / 2));
    width: 500px;
    padding: 0;
    z-index: 2;
    pointer-events: none;
  }
  .srv-img-overlap .srv-frame { pointer-events: all; }

  /* Magic Castle */
  .srv-magic { padding-bottom: 160px; }

  .srv-img-overlap--magic {
    position: absolute;
    transform: translateY(-290px);
    right: max(40px, calc((100% - var(--inner)) / 2));
    width: 500px;
    padding: 0;
    z-index: 2;
    pointer-events: none;
  }
  .srv-img-overlap--magic .srv-frame { pointer-events: all; }
}

/* ══════════════════════════════════════════════════
   CONTATTI
   ══════════════════════════════════════════════════ */
.contatti-split {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h));
}

.contatti-split__left {
  background: var(--darkblue);
  color: var(--white);
  padding: 20px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contatti-logo {
  width: 120px;
}

.contatti-brand {
  font-size: 1.8rem;
  font-weight: 600;
}

.contatti-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .9rem;
  line-height: 1.6;
}

.contatti-split__right {
  background: var(--white);
  padding: 20px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contatti-cta {
  color: var(--pink);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.4;
  text-transform: uppercase;
}
.contatti-split__right input::placeholder {
  color: var(--darkblue) !important;
  opacity: 1 !important;
}
@media (min-width: 600px) {
  .contatti-split {
    flex-direction: row;
  }

  .contatti-split__left {
    flex: 1;
    padding: 32px max(40px, calc((100% - var(--inner)) / 4));
    justify-content: center;
  }

  .contatti-split__right {
    flex: 1;
    padding: 32px max(40px, calc((100% - var(--inner)) / 4));
    justify-content: center;
  }

  .contatti-brand {
    font-size: 2.6rem;
  
  }

  .contatti-cta {
    font-size: 1.5rem;
  }


}
/* Label data di nascita */
.cform__date-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: rgba(0,0,0,.4);
  padding-top: 14px;
  padding-bottom: 2px;
}
input[type="date"] {
  font-weight: 600;
  color: rgba(0,0,0,.4);
}

.cform__field input {
  padding-bottom: 6px;
}


@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.fade-in {
  animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* ══════════════════════════════════════════════════
   PRIVACY POLICY
   ══════════════════════════════════════════════════ */
.privacy-page { padding: 32px var(--pad-x) 60px; max-width: var(--inner); margin: 0 auto; }
.privacy-back { display: inline-block; margin-bottom: 20px; font-weight: 700; color: var(--pink); }
.privacy-page h1 { font-size: 1.5rem; font-weight: 900; margin-bottom: 6px; }
.privacy-page > p.privacy-subtitle { font-size: .85rem; opacity: .75; margin-bottom: 32px; line-height: 1.5; }
.privacy-page h2 { font-size: 1.1rem; font-weight: 800; color: var(--darkblue); margin: 28px 0 10px; }
.privacy-page p { font-size: .9rem; line-height: 1.7; margin-bottom: 10px; }
.privacy-page ul { margin: 6px 0 14px; }
.privacy-page li { font-size: .9rem; line-height: 1.7; padding-left: 16px; position: relative; }
.privacy-page li::before { content: '·'; position: absolute; left: 0; font-weight: 900; color: var(--blue); }
.privacy-page address { font-size: .9rem; line-height: 1.7; }
@media (min-width: 600px) {
  .privacy-page { padding: 48px var(--pad-x) 80px; }
  .privacy-page h1 { font-size: 2rem; }
  .privacy-page h2 { font-size: 1.3rem; }
}
