/* ============================================================
   SESSO AL TELEFONO — Foglio di stile
   Palette scura ed elegante, responsive (mobile + desktop)
   ============================================================ */

:root {
  --bg: #0d0a12;
  --bg-2: #15101e;
  --bg-3: #1d1529;
  --text: #f4eef9;
  --muted: #b3a7c4;
  --pink: #ff2e74;
  --purple: #7b2ff7;
  --gold: #ffb347;
  --online: #2ecc71;
  --busy: #ffb347;
  --offline: #6b6577;
  --grad: linear-gradient(120deg, var(--pink), var(--purple));
  --radius: 18px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 70px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: var(--grad);
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
  box-shadow: 0 10px 26px rgba(255, 46, 116, 0.35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 46, 116, 0.5); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--pink); box-shadow: none; }
.btn--big { font-size: 1.12rem; padding: 18px 30px; width: 100%; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.5px; }
.logo span { color: var(--pink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav .btn { padding: 10px 20px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 26px; height: 2px; background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 80% 10%, rgba(123, 47, 247, 0.35), transparent 60%),
    radial-gradient(500px 360px at 10% 90%, rgba(255, 46, 116, 0.3), transparent 60%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
/* Banner immagine in cima all'hero */
.hero__banner { margin-bottom: 40px; }
.hero__banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 40vw, 460px);
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__text { text-align: center; max-width: 720px; margin: 0 auto; }
.hero__text .lead { margin-left: auto; margin-right: auto; }
.hero__text .hero__actions { justify-content: center; }
.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 46, 116, 0.15);
  color: var(--pink);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero p.lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__number {
  font-size: 1.05rem;
  color: var(--muted);
}
.hero__number strong {
  color: var(--text);
  font-size: 1.6rem;
  letter-spacing: 1px;
  display: block;
  margin-top: 4px;
}
.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero__visual .tile {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  background: var(--grad);
}
.hero__visual .tile:nth-child(1) { background: linear-gradient(140deg, #ff2e74, #7b2ff7); margin-top: 30px; }
.hero__visual .tile:nth-child(2) { background: linear-gradient(140deg, #7b2ff7, #2e9bff); }
.hero__visual .tile:nth-child(3) { background: linear-gradient(140deg, #ffb347, #ff2e74); }
.hero__visual .tile:nth-child(4) { background: linear-gradient(140deg, #845ec2, #ff6f91); margin-top: -30px; }

/* ---------- Strip vantaggi ---------- */

.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 0 10px;
}
.perk {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.perk .ico { font-size: 1.8rem; margin-bottom: 8px; }
.perk h4 { font-size: 1.02rem; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Griglia ragazze / card ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 46, 116, 0.5);
}
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card__media img { transform: scale(1.05); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--offline);
}
.badge.is-online::before { background: var(--online); box-shadow: 0 0 8px var(--online); }
.badge.is-occupato::before { background: #ff4d4d; box-shadow: 0 0 8px #ff4d4d; }
.badge.is-assente::before { background: var(--busy); }
.badge.is-squillo::before { background: #2e9bff; box-shadow: 0 0 8px #2e9bff; animation: blink 1s steps(2, start) infinite; }
.badge.is-offline::before { background: var(--offline); }
@keyframes blink { to { opacity: 0.25; } }

.card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__name { font-size: 1.25rem; }
.card__code, .profile__code {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 700;
  color: var(--pink);
  background: rgba(255, 46, 116, 0.12);
  border: 1px solid rgba(255, 46, 116, 0.35);
  border-radius: 7px;
  padding: 1px 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.card__age { color: var(--muted); font-weight: 400; font-size: 1rem; }
.card__tag { color: var(--muted); font-size: 0.92rem; }
.card__cta { margin-top: auto; color: var(--pink); font-weight: 600; font-size: 0.92rem; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.chips--lg .chip { font-size: 0.85rem; padding: 6px 14px; }

/* ---------- Come funziona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--grad);
  border-radius: 26px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 8px; }
.cta-banner .number { font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 700; letter-spacing: 2px; margin: 14px 0; }
.cta-banner .btn { background: #fff; color: var(--pink); }
.cta-banner .fineprint { color: rgba(255, 255, 255, 0.85); margin-top: 14px; }

/* ---------- Banner ricarica con carta ---------- */

.btn--gold {
  background: linear-gradient(120deg, var(--gold), #ff7a59);
  color: #2a1500;
  box-shadow: 0 10px 26px rgba(255, 179, 71, 0.35);
}
.btn--gold:hover { box-shadow: 0 14px 32px rgba(255, 179, 71, 0.5); }

.recharge {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 179, 71, 0.18), transparent 60%),
    var(--bg-2);
  border: 1px solid rgba(255, 179, 71, 0.45);
  border-radius: 22px;
  padding: 34px 36px;
  box-shadow: var(--shadow);
}
.recharge__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 179, 71, 0.15);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.recharge__left h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.recharge__left p { color: var(--muted); margin-bottom: 6px; }
.recharge__left strong { color: var(--gold); }
.recharge__num { font-size: 1.05rem; }
.recharge__num a { color: var(--text); font-weight: 700; letter-spacing: 0.5px; }
.recharge__num a:hover { color: var(--gold); }
.recharge__right { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.recharge__right .btn { width: 100%; font-size: 1.05rem; }
.recharge__secure { text-align: center; color: var(--muted); font-size: 0.85rem; }

.cards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.card-badge[data-card="visa"] { color: #1a1f71; }
.card-badge[data-card="mastercard"] { color: #eb001b; }
.card-badge[data-card="americanexpress"] { color: #2e77bc; }
.card-badge[data-card="diners"] { color: #0079be; }
.card-badge[data-card="maestro"] { color: #cc2131; }
.card-badge[data-card="postepay"] { color: #002c77; }

/* ---------- Testimonianze ---------- */

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 26px;
}
.quote .stars { color: var(--gold); margin-bottom: 10px; }
.quote p { font-style: italic; color: var(--text); margin-bottom: 12px; }
.quote .who { color: var(--muted); font-size: 0.88rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 14px;
  font-size: 1.4rem;
  color: var(--pink);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* ---------- Pagina profilo ---------- */

.page-head { padding: 50px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-head p { color: var(--muted); margin-top: 10px; }

.profile {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.profile__photo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.back-link { color: var(--muted); font-size: 0.9rem; display: inline-block; margin-bottom: 12px; }
.back-link:hover { color: var(--pink); }
.profile__name { font-size: clamp(2rem, 5vw, 2.8rem); }
.profile__age { color: var(--muted); font-weight: 400; }
.profile__region { color: var(--muted); margin: 6px 0 14px; }
.profile__title { font-size: 1.2rem; color: var(--pink); margin-bottom: 14px; }
.profile__bio { color: var(--muted); margin-bottom: 20px; }
.profile__actions { margin-top: 26px; }
.fineprint { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 10px; }

/* Presentazione + turni dal FreePBX */
#profilo-extra { display: grid; gap: 22px; margin-top: 30px; }
.profile-extra__card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.profile-extra__card h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: inline-block;
}
.profile-extra__card h2::after {
  content: "";
  display: block;
  width: 46px; height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--grad);
}
.profile-extra__text { color: var(--muted); line-height: 1.7; }
.profile-extra__text audio {
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
  display: block;
}

.profile__audio { margin: 8px 0 4px; }
.profile__audio-label { display: block; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.profile__audio audio { width: 100%; max-width: 360px; }

.meters { margin: 24px 0; display: grid; gap: 14px; }
.meter__top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; }
.meter__bar { height: 8px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.meter__bar span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

/* ---------- Verifica età ---------- */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.35s;
}
.age-gate.fade-out { opacity: 0; }
.age-gate__box {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 40px 34px;
  max-width: 460px;
  text-align: center;
  box-shadow: var(--shadow);
}
.age-gate__box .lock { font-size: 2.4rem; margin-bottom: 12px; }
.age-gate__box h2 { font-size: 1.6rem; margin-bottom: 12px; }
.age-gate__box p { color: var(--muted); margin-bottom: 24px; font-size: 0.95rem; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 50px 0 26px;
  margin-top: 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer h4 { margin-bottom: 14px; font-size: 1rem; }
.footer a { color: var(--muted); display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer a:hover { color: var(--text); }
.footer .desc { color: var(--muted); font-size: 0.92rem; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer .warn {
  display: inline-block;
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: 8px;
  padding: 2px 10px;
  font-weight: 700;
}

/* ---------- WhatsApp / Lavora con noi ---------- */

.btn--whatsapp {
  background: linear-gradient(120deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5); }

.job {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}
.job__card {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 30px;
}
.job__card h2 { font-size: 1.3rem; margin-bottom: 14px; }
.job__list { list-style: none; display: grid; gap: 12px; }
.job__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.job__list li::before { content: "✓"; color: var(--pink); font-weight: 700; }

.job__contact {
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(37, 211, 102, 0.18), transparent 60%),
    var(--bg-2);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: sticky;
  top: 90px;
}
.job__contact .who { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.job__contact .num { font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; color: var(--text); margin: 8px 0 4px; }
.job__contact .hint { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.job__contact .btn { width: 100%; }
.job__contact .alt { display: block; margin-top: 12px; color: var(--muted); font-size: 0.9rem; }
.job__contact .alt:hover { color: var(--text); }

/* ---------- Pagine testo (privacy, termini) ---------- */

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 28px 0 12px; font-size: 1.4rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .grid, .steps, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 420px; margin: 0 auto; }
  .job { grid-template-columns: 1fr; }
  .job__contact { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 50px 0; }

  /* Riduci lo spazio vuoto sopra l'immagine nell'hero su telefono */
  .hero { padding: 14px 0 36px; }
  .hero__banner { margin-bottom: 26px; }

  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: min(78vw, 300px);
    height: calc(100vh - 70px);
    background: var(--bg-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
  .nav .btn { width: 100%; margin-top: 8px; }

  .grid, .steps, .testimonials, .perks { grid-template-columns: 1fr; }
  .recharge { grid-template-columns: 1fr; padding: 26px 22px; text-align: center; }
  .recharge__badge { margin-left: auto; margin-right: auto; }
  .recharge .cards { justify-content: center; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .cta-banner { padding: 40px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
