/* =============================================================
   Professor Giuseppe Allegro — styles.css
   Cleaned & reorganized: CSS variables, logical sections,
   no duplicate rules. Visual output preserved.
   ============================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* =============================================================
   1. THEME TOKENS (CSS Variables)
   ============================================================= */
:root {
  /* Brand palette */
  --color-navy: #16324F;
  --color-blue: #2C6BAA;
  --color-gold: #D8B36A;
  --color-gold-dark: #c9a55a;
  --color-warm-white: #FAFAF8;
  --color-light-grey: #F4F6F8;
  --color-charcoal: #2B2B2B;
  --color-text: #4a4a4a;
  --color-text-soft: #666666;
  --color-green: #6AAE75;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-button: var(--font-body);

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 7rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Motion */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-reveal: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

/* Utility text colors */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-blue { color: var(--color-blue); }
.text-navy { color: var(--color-navy); }

/* =============================================================
   3. LAYOUT PRIMITIVES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-9) 0;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--ease-reveal);
}

.section.scroll-visible {
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.section-header h2 {
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-blue));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0.5rem 1rem;
  background: rgba(216, 179, 106, 0.08);
  border-radius: var(--radius-pill);
}

/* =============================================================
   4. GRID SYSTEM
   ============================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }

@media (max-width: 968px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: var(--space-4); }
}

@media (min-width: 969px) and (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   5. NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(22, 50, 79, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  transition: all var(--transition-base);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav.scrolled .nav-logo {
  color: var(--color-navy);
  text-shadow: none;
}

.nav.scrolled .nav-logo img {
  filter: brightness(0);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav.scrolled .nav-links a {
  color: var(--color-charcoal);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  padding: 0.9rem 3rem;
  background: var(--color-gold);
  color: var(--color-navy) !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-spring);
  box-shadow: 0 4px 15px rgba(216, 179, 106, 0.3);
}

.nav-cta:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(216, 179, 106, 0.4);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

.nav.scrolled .nav-toggle span { background: var(--color-navy); }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Section sub-navigation (inner pages) */
.section-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 40;
}

.section-nav .container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.section-nav a:hover {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
}

@media (max-width: 768px) {
  .section-nav { top: 60px; padding: 0.5rem 0; }
  .section-nav .container { gap: 1rem; }
  .section-nav a { font-size: 0.8125rem; }
}

/* Mobile off-canvas menu */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-5);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-xl);
  }
  .nav-links.active { right: 0; }
  .nav-links a { color: var(--color-charcoal) !important; font-size: 1.25rem; }
  .nav-toggle { display: flex; }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active { display: block; opacity: 1; }

@media (min-width: 969px) {
  .nav-overlay { display: none !important; }
}

/* =============================================================
   6. LANGUAGE SWITCHER
   ============================================================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.nav.scrolled .lang-switcher { border-left-color: var(--color-border); }

.lang-btn {
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  min-height: 44px; /* Touch target */
  min-width: 44px;
}

.lang-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
  color: var(--color-gold);
  background: rgba(216, 179, 106, 0.15);
}

.nav.scrolled .lang-btn { color: rgba(43, 43, 43, 0.6); }
.nav.scrolled .lang-btn:hover { color: var(--color-navy); background: rgba(22, 50, 79, 0.08); }
.nav.scrolled .lang-btn.active { color: var(--color-gold); background: rgba(216, 179, 106, 0.15); }

@media (max-width: 968px) {
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: var(--space-3);
  }
  .nav-links .lang-btn { color: var(--color-charcoal) !important; }
  .lang-btn.active { color: var(--color-gold) !important; }
}

/* =============================================================
   7. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-bg-back.png') center/cover no-repeat;
  overflow: hidden;
  will-change: background-position;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-front {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  max-width: 250px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

.hero-content {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 var(--space-5);
}

.hero-badge {
  display: inline-block;
  padding: 1.25rem 2.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: clamp(0.9rem, 2.2vw, 1.125rem);
  font-weight: 500;
  letter-spacing: clamp(0.1em, 2vw, 0.15em);
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  line-height: 1.6;
  width: 90%;
  max-width: 900px;
}

.hero-badge .hero-badge-main {
  display: block;
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: clamp(0.18em, 3vw, 0.25em);
  margin-bottom: 0.4rem;
  color: #fff;
}

.hero-badge .hero-badge-sub {
  display: block;
  font-size: clamp(0.8rem, 1.7vw, 0.9rem);
  font-weight: 600;
  letter-spacing: clamp(0.22em, 3vw, 0.35em);
  color: var(--color-gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.8), 0 2px 40px rgba(0, 0, 0, 0.6), 0 1px 10px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out 0.2s both;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  line-height: 1.9;
  margin-bottom: 3.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7), 0 1px 15px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.4s both;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-portrait {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  max-width: 520px;
  height: 75%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}

.hero-portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
}

@media (max-width: 968px) {
  .hero-portrait { display: none; }
  .hero-front { width: 100%; max-width: none; }
  .hero-badge { width: calc(100% - 2.5rem); max-width: none; padding: 1.1rem 1.4rem; border-radius: 40px; }
}

/* =============================================================
   8. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-button);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-spring);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 44px; /* Touch target */
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 600ms, height 600ms;
}

.btn:hover::before { width: 300px; height: 300px; }

.btn-primary { background: var(--color-gold); color: var(--color-navy); }
.btn-primary:hover {
  background: var(--color-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(216, 179, 106, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(22, 50, 79, 0.3);
}

.btn-blue { background: var(--color-blue); color: var(--color-white); }
.btn-blue:hover {
  background: #1f4f7a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 107, 170, 0.4);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* =============================================================
   9. CARDS
   ============================================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-navy), var(--color-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  transition: all var(--transition-spring);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-lg);
  background: inherit;
  opacity: 0.3;
  filter: blur(8px);
  z-index: -1;
  transition: all var(--transition-base);
}

.card:hover .card-icon { transform: scale(1.1) rotate(5deg); }
.card:hover .card-icon::after { opacity: 0.5; filter: blur(12px); }

.card-icon.navy  { background: rgba(22, 50, 79, 0.08); color: var(--color-navy); }
.card-icon.blue  { background: rgba(44, 107, 170, 0.08); color: var(--color-blue); }
.card-icon.gold  { background: rgba(216, 179, 106, 0.15); color: var(--color-gold); }

.card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.card p { font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0; }

/* =============================================================
   10. WHY CHOOSE & EXPERTISE
   ============================================================= */
.why-choose {
  background: var(--color-white);
  position: relative;
}

.why-choose::before,
.expertise::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.why-choose .card { text-align: center; padding: 3rem 2rem; }
.why-choose .card-icon { margin: 0 auto 1.5rem; }

.expertise {
  background: linear-gradient(180deg, var(--color-light-grey) 0%, var(--color-warm-white) 100%);
  position: relative;
}

.expertise-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-spring);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 50, 79, 0.03), rgba(44, 107, 170, 0.03));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.expertise-card:hover::before { opacity: 1; }
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}

.expertise-card.featured {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(216, 179, 106, 0.2);
}

.expertise-card.featured::before {
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.08), rgba(44, 107, 170, 0.04));
  opacity: 1;
}

.expertise-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 2px rgba(216, 179, 106, 0.35);
}

.expertise-card-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  color: var(--color-blue);
}

.expertise-card h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.expertise-card p { font-size: 0.875rem; color: var(--color-text-soft); margin-bottom: 0; }

/* =============================================================
   11. ARTICLE CARDS (inner pages)
   ============================================================= */
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-spring);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.article-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.article-card-image svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.article-card:hover .article-card-image svg { transform: scale(1.1); }

.article-card-content {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.article-card-meta span { display: flex; align-items: center; gap: 0.25rem; }

.article-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.4; }
.article-card p { font-size: 0.9375rem; color: #555; line-height: 1.7; margin-bottom: 1.5rem; }

.article-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap var(--transition-base);
}

.article-card .read-more:hover { gap: 0.75rem; color: var(--color-navy); }

/* =============================================================
   12. VIDEO CARDS
   ============================================================= */
.video-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-spring);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.video-thumbnail {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.video-thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: all var(--transition-base);
}

.video-thumbnail:hover::before { background: rgba(0, 0, 0, 0.4); }

.play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition-spring);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-thumbnail:hover .play-button { transform: scale(1.15); background: var(--color-gold); }

.play-button svg {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
  margin-left: 3px;
  transition: transform var(--transition-base);
}

.video-thumbnail:hover .play-button svg { transform: scale(1.1); }

.video-card-content { padding: 1.5rem; }
.video-card-content h4 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.video-card-content p { font-size: 0.9375rem; color: var(--color-text-soft); line-height: 1.7; margin-bottom: 0; }

.video-thumbnail-link { display: block; text-decoration: none; color: inherit; }

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  z-index: 1;
  backdrop-filter: blur(4px);
}

/* =============================================================
   13. TESTIMONIALS
   ============================================================= */
.testimonials {
  background: var(--color-white);
  overflow: hidden;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide { min-width: 100%; padding: 0 var(--space-3); }

.testimonial-card {
  background: var(--color-light-grey);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-weight: 700;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.testimonial-info strong { display: block; color: var(--color-navy); font-weight: 600; }
.testimonial-info span { font-size: 0.875rem; color: #888; }

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-5);
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.testimonial-dot.active {
  background: var(--color-gold);
  width: 32px;
  border-radius: 6px;
}

.testimonial-arrows {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: 1.5rem;
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-navy);
}

.testimonial-arrow:hover {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

/* =============================================================
   14. TIMELINE
   ============================================================= */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-blue));
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.timeline-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  flex: 1;
}

.timeline-content h4 { margin-bottom: 0.5rem; }

.timeline-content .timeline-date {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.timeline-content p { font-size: 0.9375rem; margin-bottom: 0; }

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 3.5rem;
    padding-right: 0;
    text-align: left;
  }
  .timeline-dot { left: 20px; }
}

/* =============================================================
   15. CTA & FOOTER
   ============================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: white;
  text-align: center;
  padding: var(--space-9) var(--space-5);
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform var(--ease-reveal);
}

.cta-section.scroll-visible { transform: translateY(0); }

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-section h2 { color: white; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 { color: white; margin-bottom: var(--space-3); }
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer ul li { margin-bottom: 0.75rem; }
.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}
.footer ul a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.footer-social { display: flex; gap: var(--space-3); }

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

/* =============================================================
   16. FORMS (contact page)
   ============================================================= */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(44, 107, 170, 0.1);
}

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

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.contact-cta {
  text-align: center;
  margin-top: var(--space-7);
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(44, 107, 170, 0.08);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-card p { font-size: 0.9375rem; color: #666; margin-bottom: 0; }

/* =============================================================
   17. ABOUT / BIO / PAGE HEADERS
   ============================================================= */
.about-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  padding: 10rem 0 6rem;
  text-align: center;
  color: white;
}

.about-hero h1 { color: white; margin-bottom: 1.5rem; }
.about-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

.about-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #c9a55a 100%);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.about-portrait-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (max-width: 968px) {
  .bio-section { grid-template-columns: 1fr; gap: var(--space-5); }
}

.bio-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.qualifications-list { display: grid; gap: var(--space-3); }

.qualification-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.qualification-item:hover { box-shadow: var(--shadow-md); border-color: var(--color-gold); }

.qualification-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(216, 179, 106, 0.15);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qualification-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.qualification-item p { font-size: 0.875rem; color: #666; margin-bottom: 0; }

.page-header {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.page-header h1 { color: white; margin-bottom: 1rem; position: relative; z-index: 1; }
.page-header p { color: rgba(255, 255, 255, 0.85); font-size: 1.25rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }

.articles-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-charcoal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-navy);
  color: white;
  border-color: var(--color-navy);
}

.video-featured {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-6);
}

.video-featured-thumbnail {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-featured-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}

.video-featured-thumbnail .play-button svg { width: 32px; height: 32px; }
.video-featured-content { padding: 2.5rem; }

/* =============================================================
   18. HPV PREVENTION PAGE HELPERS
   ============================================================= */
.section-navy { background: var(--color-navy); color: #fff; }
.section-navy .section-label { color: var(--color-gold); }
.section-navy .section-intro { color: #cdd0e1; }

.section-compare { background: linear-gradient(180deg, #fbfafd, #f3ebf6); }
.section-download { background: #f5edf7; }

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--color-light-grey);
  color: var(--color-blue);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.tag-featured { background: rgba(101, 37, 127, 0.1); color: #65257f; }

.card-featured {
  border-color: #65257f;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(101, 37, 127, 0.2);
}

.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li {
  display: flex;
  gap: 0.75rem;
  margin: 0.75rem 0;
  color: var(--color-charcoal);
}
.checks li::before { content: "✓"; font-weight: 700; color: var(--color-green); }

/* "04 — Proteggersi" layout
   Row 1: centered eyebrow | Row 2: 2 cols (purple card + text)
   Row 3: 4 cards (2x2, kept 2-up on mobile) | Row 4: summary card */
.medico-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.medico-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.medico-intro { margin-bottom: var(--space-5); }

.medico-text h2 { margin-bottom: var(--space-3); }
.medico-text .section-intro { margin-bottom: var(--space-3); }

@media (max-width: 968px) {
  .medico-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

@media (max-width: 600px) {
  .medico-cards { gap: var(--space-3); }
  .medico-cards .card { padding: 1.25rem; }
}

/* =============================================================
   19. ANIMATIONS
   ============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Scroll-in reveal (cards) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Staggered delays — selectors match the HTML classes (animate-on-scroll-delay-N) */
.animate-on-scroll-delay-1 { transition-delay: 0.1s; }
.animate-on-scroll-delay-2 { transition-delay: 0.2s; }
.animate-on-scroll-delay-3 { transition-delay: 0.3s; }
.animate-on-scroll-delay-4 { transition-delay: 0.4s; }
.animate-on-scroll-delay-5 { transition-delay: 0.5s; }
.animate-on-scroll-delay-6 { transition-delay: 0.6s; }

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =============================================================
   20. COOKIE CONSENT BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease-out;
}

.cookie-banner.show { display: block; }

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.cookie-banner-text { flex: 1; }
.cookie-banner-text p {
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  margin-bottom: 0;
  line-height: 1.6;
}
.cookie-banner-text a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--color-navy); }

.cookie-banner-actions { display: flex; gap: var(--space-3); flex-shrink: 0; }

.cookie-btn {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px; /* Touch target */
}

.cookie-btn.accept { background: var(--color-gold); color: var(--color-navy); }
.cookie-btn.accept:hover {
  background: var(--color-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216, 179, 106, 0.3);
}

.cookie-btn.info { background: transparent; color: var(--color-navy); border: 1px solid var(--color-border); }
.cookie-btn.info:hover { background: var(--color-light-grey); border-color: var(--color-navy); }

@media (max-width: 768px) {
  .cookie-banner { padding: 1rem 1.5rem; }
  .cookie-banner-content { flex-direction: column; text-align: center; gap: var(--space-3); }
  .cookie-banner-actions { width: 100%; justify-content: center; }
  .cookie-btn { flex: 1; padding: 0.75rem 1rem; font-size: 0.875rem; }
}

/* =============================================================
   21. HPV INFOGRAPHIC LIGHTBOX
   ============================================================= */
.hpv-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 20px;
}

.hpv-lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .hpv-lightbox { padding: 10px; }
}

/* =============================================================
   22. RESPONSIVE TYPE & SPACING TWEAKS
   ============================================================= */
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 4.5rem 0; }
  .section-header { margin-bottom: 3rem; }
  .card { padding: 2rem; }
}

/* =============================================================
    23. PROMOTIONS PAGE
    ============================================================= */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}

.promo-poster {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  cursor: zoom-in;
}

.promo-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-details h3 { margin-bottom: 1.25rem; }

.promo-meta {
  background: var(--color-light-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
}

.promo-meta p {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.promo-meta p:last-child { margin-bottom: 0; }

.promo-meta strong { color: var(--color-navy); }

.promo-meta a {
  color: var(--color-blue);
  font-weight: 600;
  white-space: nowrap;
}

.promo-meta a:hover { color: var(--color-navy); }

.promo-note {
  font-size: 0.875rem;
  color: var(--color-text-soft);
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 968px) {
  .promo-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}
