* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-soft);
}

/* SCROLLBAR PERSONALIZZATA (Chrome / Edge / Safari) */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  border-radius: 999px;
  border: 3px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

section {
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* LOADER */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, .18), transparent 28%),
    linear-gradient(180deg, #ffffff, #faf6ee);
  transition: opacity .6s ease, visibility .6s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-content img {
  width: 88px;
  height: auto;
}

.loader-content span {
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 18px 20px;
}

.header-inner {
  max-width: var(--container);
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.desktop-nav a {
  font-size: .88rem;
  color: var(--text-soft);
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--gold-light);
}

.apply-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: #111;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.apply-btn:hover,
.primary-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 160px 20px 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, .14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(212, 175, 55, .07), transparent 36%),
    linear-gradient(180deg, #ffffff, #faf6ee);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold-soft);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 900;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero p {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-main);
  transition: var(--transition);
}

.secondary-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17,17,17,.035), rgba(17,17,17,.01));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 18px;
}

.hero-image {
  height: 520px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)),
    url("../assets/hero/hero.jpg") center/cover;
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(17,17,17,.02);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
  color: var(--gold-light);
}

.stat span {
  color: var(--text-muted);
  font-size: .86rem;
}

/* SECTIONS */

.section {
  padding: 90px 20px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 22px;
}

.section-head p {
  color: var(--text-soft);
  line-height: 1.8;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: start;
}

.text-block p {
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 20px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17,17,17,.035), rgba(17,17,17,.01));
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.card-number {
  display: block;
  margin-bottom: 22px;
  color: rgba(185,120,45,.55);
  font-size: 1.8rem;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.card p {
  color: var(--text-soft);
  line-height: 1.75;
}

/* PROCESS */

.process-list {
  border-top: 1px solid var(--border);
}

.process-row {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.process-row span {
  color: rgba(185,120,45,.6);
  font-size: 2.2rem;
  font-weight: 900;
}

.process-row h3 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: .98;
}

.process-row p {
  color: var(--text-soft);
  line-height: 1.8;
}

/* CAREERS / CTA */

.careers-box,
.cta-box {
  padding: 58px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.12), transparent 34%),
    linear-gradient(145deg, rgba(17,17,17,.03), rgba(17,17,17,.01));
}

.careers-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.careers-tags span {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .88rem;
}

/* FAQ */

.faq-section {
  padding: 90px 20px;
  background: #070707;
}

.faq-section .container {
  max-width: 980px;
}

.faq-section h2 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(17,17,17,.025);
}

.faq-question {
  width: 100%;
  padding: 22px;
  background: transparent;
  border: 0;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--text-soft);
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* FOOTER */

.site-footer {
  padding: 72px 20px 32px;
  border-top: 1px solid var(--border);
  background: #050505;
}

.footer {
  background: #080808;
  color: #fff;
  padding: 64px 0 30px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 38px;
}

.footer-logo,
.footer-brand h3 {
  margin-bottom: 18px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-brand h3 {
  color: var(--gold-light);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-brand p,
.footer-col p,
.footer-bottom {
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-soft);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .88rem;
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-image {
  position: relative;
}

.hero-floating-card {
  position: absolute;
  left: 22px;
  right: 22px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,5,5,.68);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero-floating-card.top {
  top: 22px;
}

.hero-floating-card.bottom {
  bottom: 22px;
}

.hero-floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-floating-card strong {
  color: var(--text-main);
  font-size: .96rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-main);
  font-family: inherit;
  font-size: .95rem;
}

.apply-form textarea {
  resize: vertical;
  margin-bottom: 20px;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-success {
  text-align: center;
  padding: 30px;
}

.form-success h3 {
  margin-bottom: 12px;
  color: var(--gold-light);
}
/* =========================================================
   CLASSI MANCANTI PORTATE DALLA HOME
   (footer.html e modals.html sono condivisi con la home ed
   usano queste classi: qui in origine non erano definite)
   ========================================================= */

.wrap {
  width: min(1180px, calc(100% - 38px));
  margin-inline: auto;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  box-shadow: 0 18px 42px rgba(185,120,45,.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(185,120,45,.30);
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-column a,
.footer-column button {
  color: rgba(255,255,255,.66);
  line-height: 1.85;
  font-size: 14px;
}

.footer-column a:hover,
.footer-column button:hover {
  color: var(--gold);
}

.footer-apply {
  border: 0;
  background: transparent;
  text-align: left;
}

.footer-story-open {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 20px 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2fd66b, #1fae55);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  width: fit-content;
  box-shadow: 0 14px 34px rgba(31,174,85,.30);
  transition: .25s ease;
}

.footer-whatsapp svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(31,174,85,.40);
}

/* NEWSLETTER (footer) */

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-newsletter-copy h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-newsletter-copy p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-newsletter-form input {
  min-width: 240px;
  padding: 13px 18px;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255,255,255,.4);
}

.footer-newsletter-form input:focus {
  border-color: var(--gold);
}

.footer-newsletter-form button {
  border: 0;
  cursor: pointer;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transition: transform .2s ease, opacity .2s ease;
}

.footer-newsletter-form button:hover { transform: translateY(-2px); }
.footer-newsletter-form button:disabled { opacity: .6; cursor: default; transform: none; }

.footer-newsletter-message {
  margin-top: -22px;
  margin-bottom: 26px;
  font-size: 13px;
  min-height: 1px;
  opacity: 0;
  transition: opacity .2s ease;
}

.footer-newsletter-message.show { opacity: 1; }
.footer-newsletter-message.newsletter-ok { color: #8fd19e; }
.footer-newsletter-message.newsletter-error { color: #e28080; }

@media (max-width: 720px) {
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
  .footer-newsletter-form { width: 100%; }
  .footer-newsletter-form input { flex: 1; min-width: 0; }
}


/* =========================================================
   MODALI (candidatura, privacy/cookie, quiz)
   Portate dalla home, variabili adattate al tema chiaro
   ========================================================= */

/* MODALS */

.application-modal,
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(9,8,6,.72);
  backdrop-filter: blur(18px);
}

.application-modal.open,
.legal-modal.open {
  display: flex;
}

.modal-shell,
.legal-shell {
  width: min(980px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(228,174,72,.20), transparent 30%),
    #fff;
  box-shadow: 0 40px 120px rgba(0,0,0,.34);
  border: 1px solid var(--border);
}

.modal-head,
.legal-head {
  padding: 28px 30px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--border);
}

.modal-title h2,
.legal-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 900;
}

.modal-title p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 620px;
}

.modal-close,
.legal-close {
  min-width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.modal-body {
  padding: 28px 30px 32px;
}

.choice-screen,
.form-screen {
  display: none;
}

.choice-screen.active,
.form-screen.active {
  display: block;
}

.application-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.choice-card {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  background: #fff;
  transition: .3s ease;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.choice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 64px rgba(42,28,9,.12);
}

.choice-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #111;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  margin-bottom: 34px;
}

.choice-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-card h3 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.choice-card p {
  color: var(--text-soft);
  line-height: 1.68;
}

.no-profile-box {
  margin-top: 18px;
  border-radius: 28px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(228,174,72,.20), transparent 34%),
    linear-gradient(135deg, #080808, #19120a);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.no-profile-box h3 {
  font-size: 28px;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.no-profile-box p {
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.no-profile-box .btn {
  background: #fff;
  color: #080808;
}

.form-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.back-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 850;
}

.form-top h3 {
  font-size: 32px;
  letter-spacing: -.04em;
}

.application-form {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 850;
  color: #3f3f4c;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 16px;
  outline: 0;
  background: #fff;
  color: var(--text);
  transition: .22s ease;
  font-size: 15px;
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(185,120,45,.55);
  box-shadow: 0 0 0 4px rgba(228,174,72,.14);
}

.form-message {
  display: none;
  border-radius: 18px;
  padding: 14px 16px;
  line-height: 1.55;
  font-size: 14px;
  background: var(--bg-soft);
  color: #1f2433;
  border: 1px solid var(--border);
}

.form-message.show {
  display: block;
}

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-submit-row small {
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 560px;
}

.legal-content {
  padding: 28px 30px 34px;
}

/* QUIZ "SEI PRONTA?" */

.quiz-shell {
  max-width: 520px;
  padding: 44px 38px 38px;
  position: relative;
  text-align: center;
}

.quiz-shell .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 38px;
  height: 38px;
  font-size: 20px;
}

.quiz-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.quiz-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background .25s ease, transform .25s ease;
}

.quiz-dot.done {
  background: var(--gold);
  transform: scale(1.2);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: quiz-fade .3s ease;
}

@keyframes quiz-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .22s ease;
  text-align: left;
}

.quiz-option:hover {
  border-color: rgba(185,120,45,.45);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quiz-result-text {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 26px;
}

/* TEASER QUIZ (sezione home) */

.quiz-teaser-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  box-shadow: var(--shadow);
}

.quiz-teaser-box p {
  color: var(--text-soft);
  margin: 14px 0 26px;
  font-size: 16px;
  line-height: 1.7;
}

.legal-content h3 {
  font-size: 22px;
  margin-top: 26px;
  margin-bottom: 10px;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 15px;
}

.legal-content ul {
  padding-left: 20px;
}

/* COOKIE */

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(30px);
  width: min(760px, calc(100% - 28px));
  z-index: 400;
  display: none;
  opacity: 0;
  transition: .45s ease;
}

.cookie-consent.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cookie-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 13px 14px;
  background: rgba(8,8,8,.88);
  color: #fff;
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cookie-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cookie-icon {
  min-width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
}

.cookie-icon svg {
  width: 20px;
  height: 20px;
}

.cookie-copy h3 {
  font-size: 14px;
  margin-bottom: 3px;
}

.cookie-copy p {
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.45;
  max-width: 520px;
}

.cookie-copy a {
  color: var(--gold);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 850;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
}

.cookie-btn.reject {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}

/* =========================================================
   WHATSAPP FLOTTANTE
   ========================================================= */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2fd66b, #1fae55);
  color: #fff;
  z-index: 999996;
  box-shadow: 0 16px 40px rgba(31,174,85,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(47,214,107,.35);
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0%   { transform: scale(.9); opacity: .8; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 22px 54px rgba(31,174,85,.45);
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}
