/*
Theme Name: Polo Italica Tutoring
Theme URI: https://poloitalicatutoring.it
Author: iaFlux Studio
Author URI: https://iaflux.it
Description: Supporto metodologico tesi & project work — block theme FSE.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polo-italica-tutoring
Tags: full-site-editing, block-patterns, education, custom-colors, block-styles
*/

  :root {
    --navy: #0A2540;
    --navy-deep: #061a30;
    --gold: #C9A961;
    --gold-dark: #A88A50;
    --gold-light: #E5D4A1;
    --bordeaux: #8B2635;
    --cream: #FAF7F2;
    --cream-warm: #F5F1EA;
    --green: #2d5a3d;
    --ink: #1A2333;
    --muted: #5C6478;
    --line: #E2DDD2;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .serif { font-family: 'Cormorant Garamond', Georgia, serif; }
  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; }

  /* ========== HEADER ========== */
  header {
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 100;
  }
  .hdr-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px; max-width: 1320px; margin: 0 auto;
  }
  .hdr-logo svg { width: 260px; height: auto; }
  nav ul { list-style: none; display: flex; gap: 36px; align-items: center; }
  nav a {
    font-size: 14px; font-weight: 500; color: var(--ink);
    letter-spacing: 0.3px; transition: color 0.2s;
  }
  nav a:hover { color: var(--bordeaux); }
  .hdr-cta {
    background: var(--gold); color: var(--navy);
    padding: 10px 22px; border-radius: 4px;
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--gold-dark);
    transition: all 0.2s;
  }
  .hdr-cta:hover { background: var(--gold-dark); }

  /* ========== HERO ========== */
  .hero {
    background: var(--cream-warm);
    background-image:
      radial-gradient(ellipse 800px 600px at 80% 20%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
      radial-gradient(ellipse 600px 400px at 20% 80%, rgba(139, 38, 53, 0.04) 0%, transparent 60%);
    padding: 80px 0 100px;
    position: relative; overflow: hidden;
  }
  /* Watermark tipografico hero — "Italica" oversized branded */
  .hero::before {
    content: 'Italica';
    position: absolute;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 380px;
    color: var(--navy);
    opacity: 0.045;
    right: -60px;
    bottom: -120px;
    letter-spacing: -10px;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
  .hero .container { position: relative; z-index: 1; }
  .hero-inner {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 60px; align-items: center;
  }
  .hero-kicker {
    display: inline-block; background: var(--navy); color: var(--cream);
    padding: 6px 14px; font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .hero-kicker .dot { color: var(--gold); }

  /* Mini-CTA inline subito sotto il kicker (above-the-fold sempre) */
  .hero-mini-cta {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
    padding: 9px 18px 9px 11px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 100px;
    border: 1.5px solid var(--gold);
    font-size: 13px; font-weight: 700; letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 12px -4px rgba(10, 37, 64, 0.25);
  }
  .hero-mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(10, 37, 64, 0.4);
    background: #1A3556;
  }
  .hero-mini-orb {
    width: 18px; height: 18px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #E5D4A1 0%, var(--gold) 50%, var(--gold-dark) 100%);
    animation: orbBreathe 4s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(201, 169, 97, 0.5);
  }
  h1.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 64px; font-weight: 700; color: var(--navy);
    line-height: 1.05; letter-spacing: -1.2px;
    margin-bottom: 24px;
  }
  h1.hero-title em {
    font-style: italic; color: var(--bordeaux); font-weight: 500;
  }
  .hero-sub {
    font-size: 18px; color: var(--muted); line-height: 1.55;
    margin-bottom: 36px; max-width: 540px;
  }
  .hero-sub strong { color: var(--ink); font-weight: 600; }
  .hero-trust {
    display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px;
  }
  .trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--ink); font-weight: 500;
  }
  .trust-item .check {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--green); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
  }

  /* ========== AURORA ORB ========== */
  .aurora-card {
    background: var(--navy);
    background-image:
      radial-gradient(circle at 50% 30%, #1A3556 0%, var(--navy) 60%);
    border-radius: 16px;
    padding: 48px 40px 36px;
    position: relative;
    color: var(--cream);
    box-shadow: 0 30px 80px -20px rgba(10, 37, 64, 0.45), 0 8px 24px -8px rgba(10, 37, 64, 0.25);
    border: 1px solid rgba(201, 169, 97, 0.2);
  }
  .aurora-card::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
    border-radius: 16px 16px 0 0;
  }
  .aurora-label {
    text-align: center;
    font-size: 10px; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 32px;
  }
  .orb-wrapper {
    display: flex; justify-content: center; margin-bottom: 32px;
    position: relative; height: 200px; align-items: center;
  }
  .orb {
    width: 160px; height: 160px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #E5D4A1 0%, var(--gold) 50%, var(--gold-dark) 100%);
    box-shadow:
      0 0 60px rgba(201, 169, 97, 0.6),
      0 0 100px rgba(201, 169, 97, 0.3),
      inset -10px -20px 40px rgba(0,0,0,0.2);
    animation: orbBreathe 4s ease-in-out infinite;
    position: relative;
    cursor: pointer;
  }
  .orb::after {
    content: ''; position: absolute;
    top: 25%; left: 25%; width: 25%; height: 18%;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    filter: blur(8px);
  }
  .orb-ring {
    position: absolute; top: 50%; left: 50%;
    width: 200px; height: 200px;
    border: 2px solid rgba(201, 169, 97, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
  }
  .orb-ring-2 {
    position: absolute; top: 50%; left: 50%;
    width: 240px; height: 240px;
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite 1s;
  }
  @keyframes orbBreathe {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(201, 169, 97, 0.6), 0 0 100px rgba(201, 169, 97, 0.3), inset -10px -20px 40px rgba(0,0,0,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 80px rgba(201, 169, 97, 0.8), 0 0 140px rgba(201, 169, 97, 0.45), inset -10px -20px 40px rgba(0,0,0,0.2); }
  }
  @keyframes ringPulse {
    0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.1; transform: translate(-50%, -50%) scale(1.15); }
  }

  .aurora-cta {
    width: 100%;
    background: var(--gold);
    color: var(--navy);
    padding: 18px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px; font-weight: 800; letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    font-family: inherit;
  }
  .aurora-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(201, 169, 97, 0.4); }
  .aurora-cta-mic {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--navy); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
  }
  .aurora-meta {
    text-align: center; margin-top: 14px;
    font-size: 12px; color: var(--gold-light); letter-spacing: 0.5px;
    opacity: 0.85;
  }
  .aurora-disclosure {
    margin-top: 24px; padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    font-size: 12px; line-height: 1.45;
    color: var(--cream); opacity: 0.85;
  }
  .aurora-disclosure strong { color: var(--gold); font-weight: 700; }
  .aurora-alt {
    text-align: center; margin-top: 18px;
    font-size: 13px; color: var(--gold-light); opacity: 0.7;
  }
  .aurora-alt a { color: var(--gold-light); text-decoration: underline; }

  /* ========== SECTION GENERICS ========== */
  section { padding: 90px 0; }
  .sec-kicker {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
    color: var(--bordeaux); text-transform: uppercase;
    margin-bottom: 16px;
    position: relative; padding-left: 24px;
  }
  .sec-kicker::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 16px; height: 1px; background: var(--gold);
  }
  h2.sec-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 44px; font-weight: 700; color: var(--navy);
    line-height: 1.15; letter-spacing: -0.5px;
    margin-bottom: 16px; max-width: 720px;
  }
  h2.sec-title em { font-style: italic; color: var(--bordeaux); font-weight: 500; }
  .sec-lead {
    font-size: 17px; color: var(--muted); max-width: 640px;
    line-height: 1.6; margin-bottom: 48px;
  }

  /* ========== SEZIONE COSA NON FACCIAMO ========== */
  .cosa-non {
    background: var(--cream);
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23C9A961' stroke-width='0.5' opacity='0.16'%3E%3Cpath d='M70,40 L84,44 L84,60 Q84,72 70,80 Q56,72 56,60 L56,44 Z'/%3E%3Cline x1='66' y1='52' x2='74' y2='52'/%3E%3Cline x1='66' y1='56' x2='74' y2='56'/%3E%3Ccircle cx='70' cy='38' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 140px 140px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .cosa-non .container { position: relative; z-index: 1; }
  .cosa-non .sec-kicker { color: var(--bordeaux); }
  .nofac-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px; margin-top: 36px;
  }
  .nofac-item {
    padding: 28px 32px;
    background: var(--cream-warm);
    border-left: 4px solid var(--gold); /* override: sezione ribaltata in positivo, bordeaux=allerta stona col nuovo tono */
    border-radius: 0 6px 6px 0;
  }
  .nofac-item h3 {
    font-size: 18px; font-weight: 700; color: var(--navy);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
  }
  /* marcatore positivo (sezione "Perché Polo Italica") — cerchio verde con check, tono affermativo */
  .fac-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--green); color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    flex-shrink: 0;
  }
  .nofac-item p {
    font-size: 14px; color: var(--ink); line-height: 1.55;
  }
  .nofac-note {
    margin-top: 32px; padding: 18px 24px;
    background: var(--navy); color: var(--cream);
    border-radius: 6px; font-size: 14px;
    border-left: 4px solid var(--gold);
  }
  .nofac-note strong { color: var(--gold); }

  /* ========== PACCHETTI ========== */
  .pkgs { background: var(--cream-warm); }
  .pkg-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-top: 40px;
  }
  .pkg-card {
    background: #fff; padding: 32px 28px; border-radius: 8px;
    border-top: 4px solid var(--gold);
    transition: all 0.2s;
    position: relative;
  }
  .pkg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(10, 37, 64, 0.15); }
  .pkg-card.featured {
    background: var(--navy); color: var(--cream);
    border-top-color: var(--gold);
    transform: scale(1.04);
    z-index: 2;
  }
  .pkg-card.featured:hover { transform: scale(1.04) translateY(-4px); }
  .pkg-card.featured::before {
    content: '⭐ CONSIGLIATO';
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--navy);
    padding: 4px 14px; border-radius: 4px;
    font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  }
  .pkg-name {
    font-size: 14px; font-weight: 800; color: var(--navy);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 6px;
  }
  .pkg-card.featured .pkg-name { color: var(--gold-light); }
  .pkg-when {
    font-size: 12px; color: var(--muted); margin-bottom: 20px;
  }
  .pkg-card.featured .pkg-when { color: var(--gold-light); opacity: 0.8; }
  .pkg-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px; font-weight: 700; color: var(--navy);
    line-height: 1; letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .pkg-card.featured .pkg-price { color: var(--gold); }
  .pkg-price .cur { font-size: 28px; vertical-align: top; margin-right: 2px; }
  .pkg-features {
    list-style: none; font-size: 13px; line-height: 1.6;
    margin-bottom: 24px;
  }
  .pkg-features li {
    padding: 4px 0 4px 22px; position: relative;
  }
  .pkg-features li::before {
    content: '✓'; position: absolute; left: 0; top: 4px;
    color: var(--gold); font-weight: 800;
  }
  .pkg-card.featured .pkg-features { color: var(--cream); }
  .pkg-cta {
    width: 100%; padding: 12px;
    background: transparent; border: 1.5px solid var(--gold);
    color: var(--navy); font-size: 13px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
  }
  .pkg-cta:hover { background: var(--gold); color: var(--navy); }
  .pkg-card.featured .pkg-cta {
    background: var(--gold); color: var(--navy); border-color: var(--gold);
  }
  .pkg-card.featured .pkg-cta:hover { background: var(--gold-light); }

  /* ========== 5 FASI ========== */
  .fasi { background: var(--cream); }
  .fasi-timeline {
    margin-top: 48px; position: relative;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  }
  .fasi-timeline::before {
    content: ''; position: absolute; top: 24px; left: 4%; right: 4%;
    height: 2px; background: var(--gold); opacity: 0.5;
    z-index: 0;
  }
  .fase {
    text-align: center; position: relative; z-index: 1;
    padding: 0 9px; /* 5 colonne: riduco padding per non comprimere il testo */
  }
  .fase-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--cream); border: 2px solid var(--gold);
    color: var(--navy); font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    font-family: 'Cormorant Garamond', Georgia, serif;
  }
  .fase h3 {
    font-size: 16px; font-weight: 700; color: var(--navy);
    margin-bottom: 6px; line-height: 1.25;
  }
  .fase-when {
    font-size: 11px; font-weight: 700; color: var(--bordeaux);
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 10px;
  }
  .fase p {
    font-size: 12.5px; color: var(--muted); line-height: 1.5;
  }

  /* ========== TUTOR VETRINA ========== */
  .tutors { background: var(--cream-warm); }
  .tutor-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; margin-top: 40px;
  }
  .tutor-card {
    background: #fff; padding: 28px; border-radius: 8px;
    border: 1px solid var(--line);
    transition: all 0.2s;
  }
  .tutor-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(10, 37, 64, 0.1); }
  .tutor-head {
    display: flex; gap: 18px; align-items: center; margin-bottom: 18px;
  }
  .tutor-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px; font-weight: 700; color: var(--navy);
    border: 2px solid var(--gold);
  }
  .tutor-info h4 {
    font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
  }
  .tutor-info .role {
    font-size: 12px; color: var(--bordeaux); font-weight: 600;
    letter-spacing: 0.5px;
  }
  .tutor-meta {
    font-size: 13px; color: var(--muted); line-height: 1.55;
    margin-bottom: 16px;
  }
  .tutor-stats {
    display: flex; gap: 16px; padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
  }
  .tutor-stat {
    flex: 1;
  }
  .tutor-stat .num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px; font-weight: 700; color: var(--gold); display: block;
  }
  .tutor-stat .lbl { color: var(--muted); }

  /* ========== ATENEI ========== */
  .atenei {
    background: var(--cream);
    border-top: 1px solid var(--line);
  }
  .atenei-list {
    display: flex; justify-content: space-around; align-items: center;
    gap: 40px; margin-top: 32px; flex-wrap: wrap;
  }
  .ateneo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-size: 24px; color: var(--muted);
    opacity: 0.7;
  }
  .atenei-note {
    text-align: center; font-size: 12px; color: var(--muted);
    margin-top: 28px; font-style: italic;
  }

  /* ========== TESTIMONIAL ========== */
  .testi { background: var(--cream-warm); }
  .testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; margin-top: 40px;
  }
  .testi-card {
    background: #fff; padding: 32px; border-radius: 8px;
    border: 1px solid var(--line);
    position: relative;
  }
  .testi-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 56px; line-height: 1;
    color: var(--gold); position: absolute; top: 10px; left: 20px;
    font-weight: 700; opacity: 0.4;
  }
  .testi-card p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 18px; color: var(--ink); line-height: 1.55;
    margin-bottom: 20px; padding-top: 20px;
  }
  .testi-author {
    font-size: 13px; color: var(--navy); font-weight: 700;
  }
  .testi-meta {
    font-size: 11px; color: var(--muted); margin-top: 2px;
  }

  /* ========== FAQ ========== */
  .faq { background: var(--cream); }
  .faq-list { margin-top: 32px; max-width: 820px; }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .faq-q {
    font-size: 17px; font-weight: 600; color: var(--navy);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    gap: 20px;
  }
  .faq-q::after {
    content: '+'; font-size: 24px; color: var(--gold); font-weight: 300;
  }
  .faq-a {
    margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.6;
    display: block;
  }

  /* ========== ORNAMENT DIVIDER — fregio tipografico premium ========== */
  .ornament-divider {
    text-align: center;
    padding: 24px 0 0;
    background: var(--cream);
  }
  .ornament-divider svg {
    width: 240px; height: 24px;
    opacity: 0.55;
  }

  /* ========== AUDIT TRAIL VISUALIZATION ========== */
  .audit-vis {
    margin-top: 40px;
    background: var(--navy);
    color: var(--cream);
    padding: 32px 36px;
    border-radius: 8px;
    position: relative;
    border-left: 4px solid var(--gold);
  }
  .audit-vis::before {
    content: 'AUDIT TRAIL';
    position: absolute;
    top: -10px; left: 36px;
    background: var(--gold);
    color: var(--navy);
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
  }
  .audit-vis-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--cream);
  }
  .audit-vis-title em { font-style: italic; color: var(--gold); }
  .audit-vis-sub {
    font-size: 13px;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .audit-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .audit-item {
    background: rgba(255, 255, 255, 0.06);
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid rgba(201, 169, 97, 0.2);
  }
  .audit-item .audit-icon {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    margin-bottom: 10px;
    font-weight: 800;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
  }
  .audit-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
  }
  .audit-item p {
    font-size: 11.5px;
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.4;
  }

  /* ========== CTA FINALE ========== */
  .cta-final {
    background: var(--navy);
    background-image:
      radial-gradient(ellipse 600px 400px at 80% 20%, rgba(201, 169, 97, 0.15) 0%, transparent 60%);
    color: var(--cream);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  /* Watermark tipografico CTA finale */
  .cta-final::before {
    content: 'Italica';
    position: absolute;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 320px;
    color: var(--gold);
    opacity: 0.06;
    left: -50px;
    bottom: -100px;
    letter-spacing: -10px;
    line-height: 0.85;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
  .cta-final .container { position: relative; z-index: 1; }
  .cta-final h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 44px; font-weight: 700; color: var(--cream);
    line-height: 1.15; max-width: 700px; margin: 0 auto 16px;
  }
  .cta-final h2 em { color: var(--gold); font-style: italic; }
  .cta-final p {
    font-size: 17px; color: var(--cream); opacity: 0.8;
    max-width: 540px; margin: 0 auto 32px;
  }
  .cta-final-btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  }
  .btn-primary {
    background: var(--gold); color: var(--navy);
    padding: 18px 36px; border-radius: 6px;
    font-size: 14px; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; border: none; cursor: pointer;
    font-family: inherit;
  }
  .btn-secondary {
    background: transparent; color: var(--cream);
    padding: 18px 36px; border-radius: 6px;
    font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid var(--cream); cursor: pointer;
    font-family: inherit;
  }

  /* ========== FOOTER ========== */
  footer {
    background: var(--cream-warm); padding: 60px 0 24px;
    border-top: 4px solid var(--gold);
  }
  .ft-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 48px;
  }
  .ft-brand svg { width: 220px; margin-bottom: 20px; }
  .ft-brand p {
    font-size: 13px; color: var(--muted); line-height: 1.55;
    margin-bottom: 16px;
  }
  .ft-col h5 {
    font-size: 11px; font-weight: 800; color: var(--navy);
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
  }
  .ft-col ul { list-style: none; }
  .ft-col li {
    padding: 5px 0;
    font-size: 13px; color: var(--muted);
  }
  .ft-col a:hover { color: var(--bordeaux); }
  .ft-legal {
    border-top: 1px solid var(--gold);
    padding-top: 24px;
    font-size: 11px; color: var(--muted);
    text-align: center; line-height: 1.5;
  }
  .ft-legal strong { color: var(--navy); }

  /* ========== TRANSPARENCY BANNER ========== */
  .trans-banner {
    background: var(--navy); color: var(--cream);
    padding: 18px 0;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
  }
  .trans-banner-inner {
    display: flex; align-items: center; gap: 16px;
    font-size: 13px; line-height: 1.5;
  }
  .trans-icon {
    flex-shrink: 0; width: 36px; height: 36px;
    border-radius: 50%; background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-weight: 800;
  }
  .trans-banner strong { color: var(--gold); }

  /* ========== FLOATING AURORA BUTTON ========== */
  .float-aurora {
    position: fixed; bottom: 24px; right: 24px;
    background: rgba(10, 37, 64, 0.92);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    color: var(--cream);
    padding: 14px 20px 14px 14px; border-radius: 100px;
    box-shadow: 0 12px 30px -8px rgba(10, 37, 64, 0.4), 0 4px 12px -4px rgba(10, 37, 64, 0.3);
    display: flex; align-items: center; gap: 12px;
    cursor: pointer; z-index: 90;
    border: 2px solid var(--gold);
    font-size: 13px; font-weight: 600;
    /* hidden by default — JS reveals after hero leaves viewport */
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
  }
  .float-aurora.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .float-aurora:hover { box-shadow: 0 16px 40px -10px rgba(10, 37, 64, 0.55), 0 6px 16px -4px rgba(10, 37, 64, 0.35); }
  .float-aurora.visible:hover { transform: translateY(-3px) scale(1); }
  .float-orb {
    width: 36px; height: 36px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #E5D4A1 0%, var(--gold) 50%, var(--gold-dark) 100%);
    animation: orbBreathe 4s ease-in-out infinite;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(201, 169, 97, 0.5);
  }
  .float-aurora-title { font-weight: 700; color: var(--gold); font-size: 13px; }
  .float-aurora-sub { font-size: 11px; opacity: 0.8; }

  /* expanded state on mobile after tap */
  .float-aurora-text { display: flex; flex-direction: column; line-height: 1.2; }

  /* ========== RESPONSIVE ========== */
  @media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    h1.hero-title { font-size: 44px; }
    h2.sec-title { font-size: 32px; }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .pkg-card.featured { transform: none; }
    .tutor-grid, .testi-grid { grid-template-columns: 1fr; }
    .fasi-timeline { grid-template-columns: 1fr; gap: 24px; }
    .fasi-timeline::before { display: none; }
    .ft-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .nofac-grid { grid-template-columns: 1fr; }
    /* Header mobile — logo leggermente più grande */
    .hdr-inner { padding: 14px 20px; gap: 12px; }
    .hdr-logo svg { width: 200px; }
    .container { padding: 0 20px; }
    /* Hero mobile: titolo serif DOMINANTE above-the-fold */
    h1.hero-title { font-size: 52px; line-height: 1.05; letter-spacing: -1px; }
    .hero { padding: 32px 0 48px; }
    .hero-sub { font-size: 16px; }
    /* AURORA CARD: SOTTO il testo (ordine naturale), compact */
    .aurora-card {
      order: 1; /* esplicito: dopo il testo */
      padding: 22px 20px 20px;
      max-width: 360px;
      margin: 0 auto;
      width: 100%;
    }
    .aurora-label { margin-bottom: 12px; font-size: 9px; letter-spacing: 2px; }
    .orb-wrapper { height: 100px; margin-bottom: 14px; }
    .orb { width: 76px; height: 76px; }
    .orb::after { width: 28%; height: 20%; }
    .orb-ring { width: 110px; height: 110px; }
    .orb-ring-2 { width: 135px; height: 135px; }
    .aurora-cta { padding: 13px 18px; font-size: 13px; gap: 10px; }
    .aurora-cta-mic { width: 22px; height: 22px; font-size: 11px; }
    .aurora-meta { font-size: 11px; margin-top: 10px; line-height: 1.4; }
    .aurora-disclosure { font-size: 11px; padding: 10px 12px; margin-top: 14px; line-height: 1.4; }
    .aurora-alt { display: none; }
    /* Mini-CTA inline: VISIBILE su mobile, è il primary CTA above-the-fold */
    .hero-mini-cta {
      display: inline-flex;
      margin-bottom: 22px;
      padding: 10px 18px 10px 12px;
      font-size: 13px;
    }
    .hero-mini-orb { width: 20px; height: 20px; }
    /* Hero sub: nascondi seconda riga su mobile per dare più peso al titolo */
    .hero-sub-extra { display: none; }
    /* Watermark hero MOBILE: visibile nella parte alta della hero, dietro al titolo */
    .hero::before {
      font-size: 180px;
      right: -30px;
      top: 80px;
      bottom: auto;
      opacity: 0.075;
      letter-spacing: -6px;
    }
    /* CTA finale watermark: ridotto */
    .cta-final::before { font-size: 200px; left: -30px; bottom: -50px; opacity: 0.08; }
    /* Audit trail: 2 colonne su mobile, font ridotti */
    .audit-items { grid-template-columns: 1fr 1fr; gap: 12px; }
    .audit-vis { padding: 28px 24px; margin-top: 32px; }
    .audit-vis-title { font-size: 19px; }
    .audit-item { padding: 14px 16px; }
    /* Fregio più piccolo su mobile */
    .ornament-divider svg { width: 180px; }
  }
  @media (max-width: 480px) {
    .hdr-logo svg { width: 170px; }
    .hdr-cta { padding: 8px 14px; font-size: 11px; letter-spacing: 1px; }
    h1.hero-title { font-size: 46px; line-height: 1.04; letter-spacing: -0.8px; }
    h2.sec-title { font-size: 26px; }
    .pkg-grid { grid-template-columns: 1fr; }
    .pkg-card.featured { transform: none; }
    .aurora-card { padding: 32px 24px 28px; }
    section { padding: 56px 0; }
    /* Cosa NON facciamo: forza 1 colonna, padding ridotto, testo più leggibile */
    .nofac-grid { gap: 14px; margin-top: 24px; }
    .nofac-item { padding: 20px 22px; }
    .nofac-item h3 { font-size: 16px; gap: 8px; margin-bottom: 6px; }
    .nofac-item p { font-size: 13.5px; line-height: 1.5; }
    .fac-check { width: 22px; height: 22px; font-size: 13px; flex-shrink: 0; }
    .nofac-note { padding: 16px 18px; font-size: 13px; margin-top: 24px; line-height: 1.5; }
    /* Hero trust strip: 2 colonne su mobile invece di flex wrap caotico */
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-item { font-size: 12px; }
    /* Sub di hero più compatto */
    .hero-sub { font-size: 15px; line-height: 1.5; }
    /* Pricing cards: prezzo più piccolo per non sforare */
    .pkg-price { font-size: 40px; }
    /* Tutor avatar: più piccolo, layout più compatto */
    .tutor-card { padding: 22px; }
    .tutor-avatar { width: 60px; height: 60px; font-size: 22px; }
    .tutor-info h4 { font-size: 16px; }
    /* Testimonial: tipografia più piccola */
    .testi-card p { font-size: 16px; }
    .testi-card { padding: 24px; }
    /* FAQ: question più piccola */
    .faq-q { font-size: 15px; }
    /* CTA finale: bottoni stack vertical */
    .cta-final h2 { font-size: 30px; }
    .cta-final-btns { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; padding: 16px 24px; }
    /* Atenei: stacked vertical */
    .atenei-list { gap: 16px; }
    .ateneo { font-size: 20px; }
  }
  @media (max-width: 768px) {
    /* Floating orb solo: 36px, no label, bordo sottile, meno invasivo */
    .float-aurora {
      padding: 4px;
      gap: 0;
      border-width: 1px;
      bottom: max(16px, env(safe-area-inset-bottom, 16px));
      right: 16px;
    }
    .float-aurora .float-aurora-text { display: none; }
    .float-aurora.expanded {
      padding: 8px 16px 8px 8px;
      gap: 10px;
      border-width: 1.5px;
    }
    .float-aurora.expanded .float-aurora-text { display: flex; }
    .float-orb { width: 36px; height: 36px; }
    /* Safe area sotto al footer per non far overlap del bottone sul disclaimer */
    footer { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px) + 70px); }
  }
