/* ==========================================================================
   PALETTE & STILE LIBRO (#d2db55)
   ========================================================================== */
   :root {
    --font-heading: 'Montserrat', sans-serif;
    --font-serif: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
  
    /* Palette colori */
    --bg-primary: #121417;        /* Nero carbone profondo */
    --bg-secondary: #1a1e24;      /* Grigio ardesia scuro */
    --bg-card: #20262f;           /* Card container */
    --color-accent: #d2db55;       /* Giallo copertina libro */
    --color-accent-hover: #b8c13f;
    --color-text: #e6ebed;        /* Testo chiaro */
    --color-text-muted: #9ba6b2;  /* Testo secondario */
    --border-light: rgba(255, 255, 255, 0.08);
  
    --container-width: 1200px;
    --gutter: 24px;
  }
  
  /* Reset base */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  
  /* ==========================================================================
     GRID SYSTEM (12 COLONNE)
     ========================================================================== */
  .container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: calc(var(--gutter) / 2);
    padding-right: calc(var(--gutter) / 2);
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(-1 * var(--gutter) / 2);
    margin-right: calc(-1 * var(--gutter) / 2);
    row-gap: var(--gutter);
  }
  
  [class*="col-"] {
    padding-left: calc(var(--gutter) / 2);
    padding-right: calc(var(--gutter) / 2);
    width: 100%;
  }
  
  .col-12 { width: 100%; }
  .col-auto { width: auto; }
  
  @media (min-width: 768px) {
    .col-md-4 { width: 33.333333%; }
    .col-md-6 { width: 50%; }
  }
  
  @media (min-width: 992px) {
    .col-lg-5 { width: 41.666667%; }
    .col-lg-6 { width: 50%; }
    .col-lg-7 { width: 58.333333%; }
    .col-lg-8 { width: 66.666667%; }
    .col-lg-10 { width: 83.333333%; }
  }
  
  .align-center { align-items: center; }
  .justify-between { justify-content: space-between; }
  .justify-center { justify-content: center; }
  .text-center { text-align: center; }
  
  /* ==========================================================================
     HEADER / TOP BAR
     ========================================================================== */
  .top-header {
    padding: 18px 0;
    background-color: rgba(18, 20, 23, 0.95);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }
  
  .site-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .edition-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: var(--color-accent);
    color: #121417;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .nav-item {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
  }
  
  .nav-item:hover {
    color: var(--color-accent);
  }
  
  /* ==========================================================================
     BUTTONS
     ========================================================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .btn-primary, .btn-accent {
    background-color: var(--color-accent);
    color: #121417;
    border: 1px solid var(--color-accent);
  }
  
  .btn-primary:hover, .btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 219, 85, 0.25);
  }
  
  .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  
  .btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }
  
  .btn-sm { padding: 6px 14px; font-size: 0.82rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .btn-xl { padding: 18px 36px; font-size: 1.15rem; }
  
  /* ==========================================================================
     HERO SECTION
     ========================================================================== */
  .hero-section {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 75% 25%, #252e39 0%, var(--bg-primary) 70%);
  }
  
  .tag-pill {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
  }
  
  .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  
  .hero-title span {
    color: var(--color-accent);
  }
  
  .hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: #d1d9e0;
    margin-bottom: 20px;
    border-left: 3px solid var(--color-accent);
    padding-left: 14px;
  }
  
  .hero-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin-bottom: 30px;
  }
  
  /* Event Info Box */
  .event-info-box {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 35px;
  }
  
  .info-cell {
    display: flex;
    flex-direction: column;
  }
  
  .info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
  }
  
  .info-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
  }
  
  .info-sub {
    font-size: 0.82rem;
    color: var(--color-text-muted);
  }
  
  .text-accent {
    color: var(--color-accent);
  }
  
  .hero-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  /* Copertina Libro */
  .hero-media {
    display: flex;
    justify-content: center;
  }
  
  .book-card {
    max-width: 380px;
    text-align: center;
  }
  
  .book-image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
  }
  
  .book-cover-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
  }
  
  .book-card:hover .book-cover-img {
    transform: scale(1.03);
  }
  
  .book-badge-bottom {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  
  .book-badge-bottom span {
    color: var(--color-accent);
    font-weight: 700;
  }
  
  /* ==========================================================================
     QUOTE SECTION
     ========================================================================== */
  .quote-section {
    padding: 50px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }
  
  .quote-section blockquote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    color: #f1f4f8;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  
  .quote-author {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  
  /* ==========================================================================
     SEZIONI TEMI / CARDS
     ========================================================================== */
  .section-padding {
    padding: 85px 0;
  }
  
  .bg-darker {
    background-color: #101216;
  }
  
  .section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }
  
  .section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
  }
  
  .section-header p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
  }
  
  .feature-card {
    background: var(--bg-card);
    padding: 35px 28px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    height: 100%;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(210, 219, 85, 0.4);
  }
  
  .card-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-accent);
    opacity: 0.9;
    display: block;
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
  }
  
  .feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* ==========================================================================
     AUTORE
     ========================================================================== */
  .author-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-light);
  }
  
  .author-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  .author-bio h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 6px;
  }
  
  .author-role {
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 18px;
    font-size: 1rem;
  }
  
  .author-bio p {
    color: var(--color-text-muted);
    margin-bottom: 14px;
    font-size: 1rem;
  }
  
  .link-btn {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 2px;
    transition: color 0.2s ease;
  }
  
  .link-btn:hover {
    color: var(--color-accent);
  }
  
  /* ==========================================================================
     CALL TO ACTION (PRENOTAZIONE)
     ========================================================================== */
  .booking-cta {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #15181e 100%);
    border-top: 1px solid var(--border-light);
    padding: 80px 0;
  }
  
  .booking-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
  }
  
  .booking-cta p {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 35px;
  }
  
  /* ==========================================================================
     FOOTER (COPYRIGHT & PRIVACY/COOKIE POLICY)
     ========================================================================== */
  .site-footer {
    padding: 30px 0 25px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
    font-size: 0.85rem;
    color: var(--color-text-muted);
  }
  
  .footer-primary-row {
    margin-bottom: 18px;
  }
  
  .site-footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
  }
  
  .site-footer a:hover {
    opacity: 0.85;
    text-decoration: underline;
  }
  
  .credit-link {
    color: var(--color-text-muted);
  }
  
  /* Sezione Link Legali Centrali */
  .footer-legal-links {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
  }
  
  .footer-legal-links a {
    color: var(--color-text-muted);
    font-weight: 500;
  }
  
  .footer-legal-links a:hover {
    color: var(--color-accent);
    text-decoration: none;
  }
  
  .legal-divider {
    color: rgba(255, 255, 255, 0.2);
  }