/* PTA public landing — modern dark theme in the brand palette:
   black/graphite base, PTA blue accents, silver text, gold reserved for the
   payout/certificate moments. Red is banned as decoration (reads as loss). */

:root {
  --bg: #05080f;
  --bg-soft: #0a0f18;
  --panel: #0e141f;
  --panel-hi: #131b28;
  --border: #1f2937;
  --border-hi: #2c3a4e;
  --text: #e8edf4;
  --silver: #aab6c6;
  --muted: #7c8a9d;
  --blue: #2f81f7;
  --blue-hi: #6fb2ff;
  --gold: #ffd700;
  --gold-soft: #d4af37;
  --radius: 16px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-hi); text-decoration: none; }

/* --- language switching: only the active language's spans render ----------- */
.l-en, .l-it { display: none; }
html.lang-en .l-en { display: inline; }
html.lang-it .l-it { display: inline; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* --- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-cta {
  background: linear-gradient(135deg, var(--blue), #1863dc);
  color: #fff;
  box-shadow: 0 8px 28px rgba(47, 129, 247, .35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(47, 129, 247, .5); }
.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--border-hi);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--blue); }
.btn .arrow { font-weight: 400; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* --- header ------------------------------------------------------------------ */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 15, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-head.scrolled { border-bottom-color: var(--border); }
.head-inner {
  display: flex; align-items: center; gap: 1.4rem;
  height: 66px;
}
.head-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.head-brand img { width: 118px; height: auto; display: block; }
.head-nav { display: flex; gap: 1.3rem; margin-left: .6rem; flex: 1 1 auto; }
.head-nav a {
  color: var(--silver); font-size: .92rem; font-weight: 500;
  transition: color .15s ease;
}
.head-nav a:hover { color: var(--text); }
.head-actions { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.btn-signin { padding: 8px 16px; font-size: .85rem; }
.head-lock {
  font-size: .85rem; opacity: .35; transition: opacity .15s ease;
  filter: grayscale(1);
}
.head-lock:hover { opacity: .9; filter: none; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--border-hi); border-radius: 999px;
  overflow: hidden; background: rgba(255, 255, 255, .03);
}
.lang-btn {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  font: 600 .78rem/1 "Inter", sans-serif; padding: 8px 12px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-btn.active { background: var(--blue); color: #fff; }

/* --- hero --------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(64px, 10vw, 130px) 0 clamp(40px, 6vw, 80px); }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(47, 129, 247, .16), transparent 60%),
    radial-gradient(700px 420px at 12% 8%, rgba(212, 175, 55, .07), transparent 60%);
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero-kicker {
  color: var(--muted); font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 1.1rem;
}
.hero-title {
  margin: 0 0 1.2rem;
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue-hi), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  color: var(--silver); font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 620px; margin: 0 auto 1.9rem;
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap;
}
.hero-chips li {
  display: flex; align-items: baseline; gap: .45rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 999px;
  font-size: .85rem; color: var(--muted);
}
.hero-chips b { color: var(--gold); font-size: 1rem; font-weight: 700; }

/* --- generic bands / section headings ------------------------------------------ */
.band { padding: clamp(52px, 8vw, 96px) 0; }
.band-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-h {
  margin: 0 0 .7rem; text-align: center;
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}
.section-h em {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue-hi), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub {
  text-align: center; color: var(--muted); max-width: 640px;
  margin: 0 auto 2.4rem; font-size: 1rem;
}

/* --- certificates (focal) --------------------------------------------------------- */
.certs { padding-bottom: clamp(40px, 6vw, 70px); }
.certs-total { text-align: center; margin: 0 0 2rem; }
.ct-value {
  font-family: "Oswald", "Inter", sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 700; line-height: 1.05;
  background: linear-gradient(180deg, #fff2b8, var(--gold) 55%, var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-label { color: var(--muted); font-size: .95rem; margin-top: .35rem; }

.marq {
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marq-track {
  display: flex;
  width: max-content;
  animation: marq var(--dur, 90s) linear infinite;
  will-change: transform;
}
.marq-rev .marq-track { animation-direction: reverse; }
.marq:hover .marq-track,
.marq.paused .marq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

.cert-slide {
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 330px);
  margin-right: 22px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: zoom-in;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cert-slide:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.cert-slide svg { display: block; width: 100%; height: auto; }
.certs-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.6rem; }

/* Reduced motion: freeze the drift, let users scroll the rows by hand. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marq-track { animation: none; }
}

/* --- lightbox --------------------------------------------------------------------- */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3, 5, 10, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin;
}
.lb-body { width: min(86vmin, 680px); }
.lb-body svg { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.lb-close {
  position: absolute; top: 14px; right: 18px;
  appearance: none; border: 1px solid var(--border-hi); background: rgba(255, 255, 255, .05);
  color: var(--text); font-size: 1.5rem; line-height: 1;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
}
.lb-close:hover { border-color: var(--blue); }

/* --- programs (one full-width row per program) --------------------------------------- */
.prog-rows { display: flex; flex-direction: column; gap: 1.2rem; }
.prog {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr .72fr;
  grid-template-areas: "head facts foot";
  gap: 0 2.2rem;
  align-items: center;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.9rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.prog-head { grid-area: head; }
.prog-facts { grid-area: facts; }
.prog-foot { grid-area: foot; }
.prog:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.prog-gold { border-color: rgba(212, 175, 55, .45); }
.prog-gold:hover { border-color: var(--gold-soft); }
.prog-badge {
  display: inline-block; align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-hi);
  background: rgba(47, 129, 247, .12);
  border: 1px solid rgba(47, 129, 247, .35);
  border-radius: 999px; padding: 4px 12px; margin-bottom: .9rem;
}
.prog-gold .prog-badge {
  color: var(--gold);
  background: rgba(255, 215, 0, .08);
  border-color: rgba(212, 175, 55, .4);
}
.prog h3 {
  margin: 0; font-family: "Oswald", "Inter", sans-serif;
  font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase;
}
.prog-tag { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.prog-desc { color: var(--silver); font-size: .93rem; margin: .9rem 0 .6rem; }
.prog-facts { list-style: none; margin: 0; padding: 0; }
.prog-facts li {
  position: relative; padding: .38rem 0 .38rem 1.4rem;
  color: var(--silver); font-size: .9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, .05);
}
.prog-facts li:last-child { border-bottom: 0; }
.prog-facts li::before {
  content: "✓"; position: absolute; left: 0; top: .38rem;
  color: var(--blue); font-weight: 700;
}
.prog-gold .prog-facts li::before { color: var(--gold-soft); }
.prog-facts b { color: var(--text); }
.prog-foot {
  display: flex; flex-direction: column; align-items: stretch; gap: .9rem;
  border-left: 1px solid var(--border);
  padding-left: 1.9rem; text-align: center;
}
.prog-gold .prog-foot { border-left-color: rgba(212, 175, 55, .35); }
.prog-price { color: var(--muted); font-size: .82rem; }
.prog-price b { color: var(--text); font-size: 1.45rem; margin: 0 .15rem; }
.prog-price i { font-style: normal; display: block; }
.prog-foot .btn { padding: 11px 18px; font-size: .92rem; justify-content: center; }
.prog-more {
  display: inline-block; margin-top: .3rem; font-size: .85rem; color: var(--muted);
  transition: color .15s ease;
}
.prog-more:hover { color: var(--blue-hi); }
@media (max-width: 900px) {
  .prog {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "facts" "foot";
    gap: 1rem 0;
    padding: 1.4rem;
  }
  .prog-foot { border-left: 0; border-top: 1px solid var(--border); padding: 1.1rem 0 0; }
  .prog-gold .prog-foot { border-top-color: rgba(212, 175, 55, .35); }
}

/* --- steps ---------------------------------------------------------------------------- */
.steps {
  list-style: none; margin: 2.2rem 0 0; padding: 0; counter-reset: step;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #1863dc);
  color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-bottom: .9rem;
}
.step h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }

/* --- why grid ---------------------------------------------------------------------------- */
.why-grid {
  margin-top: 2.2rem;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.why {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.why-ic { font-size: 1.6rem; display: block; margin-bottom: .7rem; }
.why h3 { margin: 0 0 .35rem; font-size: 1.02rem; }
.why p { margin: 0; color: var(--muted); font-size: .89rem; }

/* --- final CTA ------------------------------------------------------------------------------ */
.cta-band {
  position: relative; text-align: center;
  padding: clamp(64px, 9vw, 110px) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 380px at 50% 115%, rgba(47, 129, 247, .2), transparent 65%),
    radial-gradient(500px 260px at 50% -20%, rgba(212, 175, 55, .08), transparent 60%);
}
.cta-inner { position: relative; }
.cta-title {
  margin: 0 0 .8rem;
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
}
.cta-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-lead { color: var(--silver); margin: 0 0 1.8rem; }

/* --- footer ------------------------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--border); background: #04060c; padding: 3rem 0 2rem; }
.foot-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  margin-bottom: 2.2rem;
}
.foot-brand img:first-child { width: 128px; }
.foot-co { color: var(--muted); font-size: .85rem; margin: .8rem 0 1rem; }
.foot-pay { width: 220px; opacity: .8; }
.foot-col h4 {
  margin: 0 0 .8rem; font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--silver);
}
.foot-col a { display: block; color: var(--muted); font-size: .9rem; padding: .22rem 0; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; }
.disclaimer { color: #5d6a7d; font-size: .78rem; max-width: 860px; margin: 0 0 .8rem; }
.copyright { color: var(--muted); font-size: .82rem; margin: 0; }
.foot-lock { color: var(--muted); opacity: .7; }
.foot-lock:hover { opacity: 1; color: var(--text); }

/* --- scroll reveal -------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- inner pages (faq, about, legal, products…) ------------------------------------------------------- */
.wrap-narrow { max-width: 880px; }
.page-hero {
  padding: clamp(44px, 7vw, 80px) 0 clamp(10px, 2vw, 20px);
  text-align: center;
  background: radial-gradient(700px 360px at 50% -30%, rgba(47, 129, 247, .14), transparent 65%);
}
.page-title {
  margin: 0;
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.9rem, 5vw, 3rem);
}
.page-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue-hi), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-sub { color: var(--silver); max-width: 720px; margin: .9rem auto 0; font-size: 1rem; }
.page-hero .hero-kicker { margin-bottom: .8rem; }
.page-hero .hero-actions { margin: 1.5rem 0 0; }
.page-band { padding-top: clamp(28px, 4vw, 48px); }
.page-band p { color: var(--silver); font-size: .95rem; }
.doc-lead { font-size: 1.06rem; color: var(--text); }
.doc-h2 {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  font-size: 1.35rem; margin: 2.6rem 0 .9rem;
  border-left: 3px solid var(--blue); padding-left: .75rem;
}
.doc-h3 { font-size: 1.02rem; margin: 1.7rem 0 .45rem; color: var(--text); }
.doc-list { color: var(--silver); font-size: .95rem; padding-left: 1.25rem; margin: .8rem 0 1.2rem; }
.doc-list li { margin: .4rem 0; }
.doc-list b { color: var(--text); }
.doc-quote {
  font-family: "Oswald", "Inter", sans-serif; text-transform: uppercase;
  letter-spacing: .05em; text-align: center;
  color: var(--gold); font-size: 1.2rem; margin: 1.8rem 0;
}
.doc-chip {
  display: inline-block; border: 1px solid var(--border-hi); border-radius: 999px;
  padding: 6px 14px; color: var(--muted); font-size: .85rem; margin: .3rem 0 .5rem;
}
.doc-callout {
  background: var(--panel); border: 1px solid rgba(212, 175, 55, .4);
  border-radius: var(--radius); padding: 1.3rem 1.6rem; margin: 1.8rem 0;
}
.doc-callout h3 { margin: 0 0 .5rem; color: var(--gold); font-size: 1.05rem; }
.doc-note { color: var(--muted); font-size: .85rem; }
.reasons { color: var(--silver); font-size: .95rem; padding-left: 1.35rem; margin: 1rem 0 1.4rem; }
.reasons li { margin: .55rem 0; }
.reasons b { color: var(--text); }
.page-cta { text-align: center; margin: 2.8rem 0 .8rem; }
.page-cta p { max-width: 640px; margin: 0 auto 1.3rem; }
.section-more { text-align: center; margin: 2rem 0 0; }

/* --- Trustpilot reviews (self-hosted — see the comment in template.html) ---------- */
.tp-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 8px 18px; flex-wrap: wrap;
  margin: 0 0 2.2rem; color: var(--text);
}
.tp-logo {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.01em;
}
.tp-stars { display: inline-flex; gap: 4px; }
.tp-stars i { width: 30px; height: 30px; position: relative; background: #00b67a; }
.tp-stars i.part { background: linear-gradient(90deg, #00b67a 20%, #39424e 20%); }
.tp-stars i::before {
  content: ""; position: absolute; inset: 3px; background: #fff;
  clip-path: polygon(50% 4%, 63% 38%, 98% 38%, 70% 60%, 79% 93%, 50% 72%, 21% 93%, 30% 60%, 2% 38%, 37% 38%);
}
.tp-stars.sm i { width: 17px; height: 17px; }
.tp-stars.sm i::before { inset: 2px; }
.tp-score { color: var(--silver); font-size: 1rem; }
.tp-score b { color: var(--text); }
.tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tp-card {
  flex-direction: column; gap: .65rem;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; color: var(--text);
  transition: transform .2s ease, border-color .2s ease;
}
/* Whole cards are language-alternates: the generic .l-en/.l-it rule would
   restore `inline`, these keep them flex (same pattern as .btn above). */
html.lang-en .tp-card.l-en, html.lang-it .tp-card.l-it { display: flex; }
.tp-card:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.tp-title { font-size: .98rem; }
.tp-text { margin: 0; color: var(--silver); font-size: .9rem; line-height: 1.55; flex: 1; }
.tp-who { color: var(--muted); font-size: .82rem; }
.tp-note { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 1.1rem; }
@media (max-width: 860px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-stars i { width: 26px; height: 26px; }
}

.table-scroll { overflow-x: auto; margin: 1.1rem 0; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.doc-table th, .doc-table td {
  padding: .6rem .85rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
.doc-table th {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.doc-table td { color: var(--silver); }
.doc-table td:first-child { color: var(--text); }
.doc-table .hl { color: var(--blue-hi); background: rgba(47, 129, 247, .06); }

.faq-list { display: flex; flex-direction: column; gap: .6rem; margin: 1rem 0 1.6rem; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; }
.faq-item summary {
  cursor: pointer; padding: .95rem 2.4rem .95rem 1.15rem;
  font-weight: 600; color: var(--text); font-size: .95rem;
  list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.05rem; top: .85rem;
  color: var(--blue-hi); font-size: 1.2rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { border-color: var(--border-hi); }
.faq-a { padding: 0 1.15rem 1.05rem; }
.faq-a p { margin: .45rem 0; font-size: .92rem; }

.contact-grid {
  display: grid; gap: 1.2rem; margin-bottom: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.contact-card {
  display: block; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; color: var(--text);
  transition: transform .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.contact-card h3 { margin: .6rem 0 .3rem; font-size: 1.05rem; }
.contact-card p { color: var(--muted); font-size: .9rem; margin: 0 0 .8rem; word-break: break-word; }
.contact-go { color: var(--blue-hi); font-size: .9rem; }

.video-grid {
  display: grid; gap: 1.2rem; margin: 1.2rem 0 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.video-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.video-card {
  margin: 0; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption { padding: .75rem 1rem; color: var(--silver); font-size: .85rem; }

.pdf-embed {
  width: 100%; height: min(82vh, 950px);
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
/* Language-gated block/flex elements need their real display back when active
   (the generic .l-en/.l-it rule restores `inline`). */
html.lang-en .pdf-embed.l-en, html.lang-it .pdf-embed.l-it { display: block; }
html.lang-en .btn.l-en, html.lang-it .btn.l-it { display: inline-flex; }
/* …and the inactive language's gated blocks must stay hidden even though the
   base .btn/.pdf-embed rules set a display of their own. */
html.lang-en .btn.l-it, html.lang-it .btn.l-en,
html.lang-en .pdf-embed.l-it, html.lang-it .pdf-embed.l-en { display: none; }

/* --- hamburger nav ------------------------------------------------------------------------------------- */
.nav-burger {
  display: none; appearance: none; background: none; border: 0; cursor: pointer;
  padding: 10px 6px; flex-direction: column; gap: 4px;
}
.nav-burger span { width: 20px; height: 2px; background: var(--text); display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- mobile ------------------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .head-nav { display: none; }
  .nav-burger { display: flex; }
  .head-nav.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: .2rem; margin: 0; padding: .8rem 20px 1.1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
  }
  .head-nav.open a { padding: .55rem 0; font-size: 1rem; }
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .head-inner { gap: .7rem; }
  .head-brand img { width: 96px; }
  .btn-signin { padding: 7px 12px; font-size: .78rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-chips li { padding: 7px 12px; font-size: .78rem; }
  .cert-slide { width: min(74vw, 300px); margin-right: 14px; }
  .prog-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .prog-foot .btn { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; }
}
