/*
Theme Name: Heros Ribigini Broker
Theme URI: https://herosribigini.eu
Author: Dom Ribi
Author URI: https://domribi.eu
Description: Tema professionale per Heros Ribigini, broker assicurativo indipendente in Umbria.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: heros-ribigini
*/

/* =============================================
   VARIABILI E RESET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1a2744;
  --navy-light: #243459;
  --gold:       #c8a96e;
  --gold-light: #dfc28e;
  --ivory:      #f8f7f4;
  --ivory-dark: #ede9e0;
  --text:       #2d3748;
  --text-light: #718096;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(26,39,68,0.10);
  --shadow-lg:  0 12px 48px rgba(26,39,68,0.16);
  --radius:     4px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   TIPOGRAFIA
   ============================================= */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { font-size: 1rem; font-weight: 300; color: var(--text-light); }

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* =============================================
   BOTTONI
   ============================================= */

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   NAVIGAZIONE
   ============================================= */

#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(26,39,68,0.97);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.site-logo span {
  color: var(--gold);
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.site-nav a:hover { color: var(--white); }
.site-nav a:hover::after { width: 100%; }

.nav-tel {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold) !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
}

/* Menu generato da wp_nav_menu */
.site-nav ul,
.site-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.site-nav ul li a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.site-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.site-nav ul li a:hover { color: var(--white); }
.site-nav ul li a:hover::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* =============================================
   SEZIONE HERO
   ============================================= */

#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a4a7f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(200,169,110,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(200,169,110,0.05) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content .section-label { color: var(--gold-light); }

.hero-content h1 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 3rem; right: 0;
  display: flex;
  gap: 2px;
}

.stat-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem 2rem;
  text-align: center;
}

.stat-box .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-box .label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   SEZIONE CHI SONO
   ============================================= */

#chi-sono {
  background: var(--white);
}

.chi-sono-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.chi-sono-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 1rem;
}

.image-placeholder svg {
  width: 64px; height: 64px;
  opacity: 0.2;
}

.image-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.5rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
}

.image-badge .years {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}

.image-badge .years-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
}

.chi-sono-text h2 { margin-bottom: 1.5rem; }
.chi-sono-text p { margin-bottom: 1.2rem; font-size: 1rem; }

.broker-badges {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 2rem 0;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   SEZIONE SERVIZI
   ============================================= */

#servizi {
  background: var(--ivory);
}

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servizio-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servizio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.servizio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.servizio-card:hover::before { transform: scaleX(1); }

.servizio-icon {
  width: 52px; height: 52px;
  background: var(--ivory);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.servizio-card:hover .servizio-icon {
  background: var(--navy);
}

.servizio-icon svg {
  width: 24px; height: 24px;
  stroke: var(--navy);
  transition: var(--transition);
}

.servizio-card:hover .servizio-icon svg { stroke: var(--gold); }

.servizio-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.servizio-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* =============================================
   SEZIONE PERCHÉ SCEGLIERMI
   ============================================= */

#perche {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#perche::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
}

#perche .section-header h2,
#perche .section-header { color: var(--white); }
#perche .section-header p { color: rgba(255,255,255,0.55); }
#perche .section-label { color: var(--gold); }

.perche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.perche-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  transition: var(--transition);
}

.perche-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(200,169,110,0.3);
}

.perche-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.perche-item h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.perche-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* =============================================
   SEZIONE CONTATTI
   ============================================= */

#contatti {
  background: var(--white);
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.contatti-info h2 { margin-bottom: 1.2rem; }
.contatti-info > p { margin-bottom: 2.5rem; }

.contatto-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.contatto-icon {
  width: 44px; height: 44px;
  background: var(--ivory);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contatto-icon svg {
  width: 20px; height: 20px;
  stroke: var(--navy);
}

.contatto-item .detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.contatto-item .detail-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
}

/* Form */
.contact-form {
  background: var(--ivory);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.contact-form h3 {
  margin-bottom: 1.8rem;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group.full { grid-column: 1 / -1; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* =============================================
   FOOTER
   ============================================= */

#site-footer {
  background: #111827;
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-logo span { color: var(--gold); font-style: italic; }

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

.footer-copy a {
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.footer-copy a:hover { color: var(--gold); }

/* =============================================
   DIVISORE ORNAMENTALE
   ============================================= */

.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--ivory-dark);
}

.ornament-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

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

@media (max-width: 1024px) {
  .perche-grid { grid-template-columns: repeat(2, 1fr); }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .site-nav.open { display: flex; }
  .site-nav a { font-size: 1.1rem; }

  .nav-toggle { display: flex; z-index: 1001; }

  .chi-sono-grid,
  .contatti-grid { grid-template-columns: 1fr; gap: 3rem; }

  .image-badge { bottom: -1rem; right: -0.5rem; }

  .hero-stats { display: none; }

  .servizi-grid { grid-template-columns: 1fr; }

  .perche-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }

  .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .perche-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 1rem; }
}

/* =============================================
   PAGINE LEGALI (Privacy, Reclami)
   ============================================= */

.legal-page { padding-top: 80px; }

.legal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.legal-hero h1 { color: var(--white); margin-bottom: 1rem; }
.legal-hero p  { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 560px; margin: 0 auto 0.5rem; }
.legal-hero .section-label { color: var(--gold); }
.legal-date { font-size: 0.82rem !important; color: rgba(255,255,255,0.4) !important; }

.legal-body { padding: 60px 0 80px; }

.legal-content { max-width: 820px; margin: 0 auto; }

.legal-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--ivory-dark);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.legal-section p { color: var(--text); margin-bottom: 0.8rem; font-size: 0.95rem; }
.legal-section a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.legal-section a:hover { color: var(--gold); }

.legal-list {
  list-style: none;
  margin: 1rem 0;
}

.legal-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--ivory-dark);
}

.legal-list li:last-child { border-bottom: none; }

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
}

.legal-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ivory-dark);
  color: var(--text);
  vertical-align: top;
}

.legal-table tr:nth-child(even) td { background: var(--ivory); }

/* Reclami specifici */
.reclami-intro {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.reclami-intro p { color: var(--text); font-size: 1rem; margin: 0; }

.reclami-contacts { display: flex; flex-direction: column; gap: 1.2rem; margin: 1.5rem 0; }

.reclamo-method {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--ivory);
  border-radius: var(--radius);
}

.reclamo-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; margin-top: 0.2rem; }
.reclamo-method h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.reclamo-method p  { font-size: 0.9rem; margin: 0; }

/* Timeline reclami */
.timeline { display: flex; flex-direction: column; gap: 0; margin: 1.5rem 0; }

.timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px; top: 44px;
  width: 2px;
  bottom: 0;
  background: var(--ivory-dark);
}

.timeline-marker {
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.timeline-content p  { font-size: 0.9rem; margin: 0; }

/* IVASS box */
.ivass-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--ivory);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 1.5rem 0;
}

.ivass-logo-area {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  font-size: 1.2rem;
}

.ivass-logo-area span {
  display: block;
  font-size: 0.72rem;
  font-family: 'Jost', sans-serif;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  line-height: 1.3;
}

.reclami-cta {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

.reclami-cta h3 { color: var(--white); margin-bottom: 0.8rem; }
.reclami-cta p  { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }

/* =============================================
   FORM — consenso privacy
   ============================================= */

.consent-group { margin-top: 1rem; }

.consent-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: var(--text-light) !important;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin-top: 3px;
  accent-color: var(--navy);
  cursor: pointer;
}

.consent-label a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}

/* =============================================
   COOKIE BANNER
   ============================================= */

#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 1.2rem 0;
}

.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.cookie-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin: 0;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions { flex-shrink: 0; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; text-align: center; }
  .ivass-box { grid-template-columns: 1fr; }
  .legal-table { display: block; overflow-x: auto; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }