/* ==========================================================================
   Davide Luongo — Design System & Stylesheet (Dark Sky & Astrophotography Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Tokens - Corporate Brand LAB(20, 0, -20) Palette (#17324D) */
  --bg-main: #0B1929;         /* LAB 20, 0, -20 Deep Midnight Slate */
  --bg-secondary: #12243B;    /* Lighter slate container */
  --bg-card: rgba(23, 50, 77, 0.75); /* LAB(20,0,-20) Glass opacity */
  --bg-card-hover: rgba(30, 65, 100, 0.85);
  --bg-glass: rgba(19, 41, 64, 0.7);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 240, 255, 0.35);

  --accent-cyan: #00F0FF;
  --accent-blue: #38BDF8;
  --accent-purple: #A855F7;
  --accent-amber: #F59E0B;
  --accent-emerald: #10B981;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.25);
  --glow-purple: 0 0 25px rgba(168, 85, 247, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.sub-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.brand-logo .logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
  transition: var(--transition-fast);
}

.brand-logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.5));
}


.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 1.6vw, 2rem);
  list-style: none;
  margin-inline: auto;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.nav-current {
  color: var(--accent-cyan) !important;
  font-weight: 700 !important;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .navbar .container {
    width: min(96%, var(--container-width));
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .brand-logo .logo-img {
    height: 38px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .nav-actions .btn {
    padding-inline: 1rem;
    font-size: 0.82rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), #00A3FF);
  color: #040914;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline-purple {
  background: transparent;
  color: var(--accent-purple);
  border: 1px solid var(--accent-purple);
}

.btn-outline-purple:hover {
  background: rgba(168, 85, 247, 0.15);
  box-shadow: var(--glow-purple);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  filter: brightness(0.78) contrast(1.15);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 30%, rgba(0, 240, 255, 0.12), transparent 70%),
              linear-gradient(to bottom, rgba(7, 9, 14, 0.2), rgba(7, 9, 14, 0.85));
}

.hero-content {
  max-width: 780px;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.hero-brand-logo {
  display: block;
  max-width: 440px;
  width: 100%;
  height: auto;
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4));
  transition: var(--transition-normal);
}

.hero-brand-logo:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.6));
}


.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 660px;
}

/* Hero Auto-scrolling Reviews Carousel */
.hero-reviews-carousel {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.reviews-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-badge .g-star {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #FFB800;
}

.slider-badge .g-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.reviews-slider-header .g-link {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.reviews-slider-header .g-link:hover {
  text-decoration: underline;
  color: #00F0FF;
}

.reviews-track-wrap {
  position: relative;
  min-height: 80px;
  overflow: hidden;
}

.hero-review-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-review-slide.active {
  display: block;
  opacity: 1;
}

.slide-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.slide-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #040914;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.slide-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.slide-name .stars {
  color: #FFB800;
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

.slide-tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.slide-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.reviews-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.reviews-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.reviews-slider-dots .dot.active {
  background: var(--accent-cyan);
  width: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Partner Ticker */
.partner-ticker {
  background: rgba(13, 18, 31, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 0;
  overflow: hidden;
}

.partner-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.partner-item-link,
.partner-item-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.partner-item-link:hover,
.partner-item-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Section Styling */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* Workshop Cards & Grid */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 20px rgba(0, 240, 255, 0.15);
  background: var(--bg-card-hover);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.badge-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.badge-status.active {
  background: rgba(16, 185, 129, 0.25);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.badge-status.limited {
  background: rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.badge-status.upcoming {
  background: rgba(168, 85, 247, 0.25);
  color: #C084FC;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

.card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.meta-info {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Course Cards Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-purple);
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Interactive Behind the Shot Showcase */
.showcase-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.raw-slider-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.raw-slider-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exif-badge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.exif-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.exif-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.exif-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-cyan);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Footer */
.footer {
  background: #04060A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .showcase-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar .nav-container {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
    order: -1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .75rem);
    left: .35rem;
    right: .35rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 1rem;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    background: rgba(7, 9, 14, .98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: .75rem;
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== GEAR PAGE STYLES ==================== */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.gear-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.gear-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 240, 255, 0.2);
  background: var(--bg-card-hover);
}

.gear-img-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  background: radial-gradient(circle at center, rgba(23, 50, 77, 0.9), #0B1929);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.gear-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.gear-card:hover .gear-img-wrapper img {
  transform: scale(1.08);
}

.badge-ambassador {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(56, 189, 248, 0.35));
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.badge-affiliate {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FBBF24;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.gear-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gear-brand-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.gear-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.gear-micro-article {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.gear-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spec-pill {
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.discount-callout {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discount-code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #FBBF24;
  letter-spacing: 0.05em;
}

.copy-code-btn {
  background: rgba(245, 158, 11, 0.2);
  border: none;
  color: #FBBF24;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-code-btn:hover {
  background: rgba(245, 158, 11, 0.4);
}

.gear-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.gear-actions .btn {
  width: 100%;
}

/* ==================== BLOG & PUBBLICAZIONI STYLES ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 240, 255, 0.2);
  background: var(--bg-card-hover);
}

.blog-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.06);
}

.badge-blog-type {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.badge-blog-type.personal {
  background: rgba(0, 240, 255, 0.25);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.badge-blog-type.external {
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid var(--accent-purple);
  color: #D8B4FE;
}

.publisher-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==================== EDITORIAL CAROUSELS ==================== */
.blog-hero {
  min-height: 58vh;
  padding-top: 10rem;
  padding-bottom: 4rem;
}

.publication-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.publication-jump a {
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  background: rgba(11, 25, 41, 0.62);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-normal);
}

.publication-jump a:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.publications-page {
  overflow: hidden;
}

.publication-section {
  scroll-margin-top: 5rem;
}

.publication-section-alt {
  background: rgba(6, 18, 31, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.publication-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.publication-heading h2 {
  margin-top: 0.3rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.publication-heading p {
  max-width: 34rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-eyebrow {
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.publication-carousel {
  position: relative;
  min-height: 540px;
}

.carousel-track {
  position: relative;
  width: min(100%, 1120px);
  height: 520px;
  margin: 0 auto;
}

.publication-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(38vw, 390px);
  min-height: 455px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.76);
  transition: transform 0.55s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease, filter 0.4s ease;
}

.publication-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 36px rgba(0, 240, 255, 0.18);
}

.publication-card.is-previous,
.publication-card.is-next {
  z-index: 2;
  opacity: 0.72;
  pointer-events: auto;
  filter: saturate(0.72);
  cursor: pointer;
}

.publication-card.is-previous {
  transform: translate(calc(-50% - 345px), -50%) scale(0.82);
}

.publication-card.is-next {
  transform: translate(calc(-50% + 345px), -50%) scale(0.82);
}

.publication-card.is-hidden {
  visibility: hidden;
}

.publication-image {
  display: block;
  height: 235px;
  overflow: hidden;
  background: #081522;
}

.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.publication-card:hover .publication-image img {
  transform: scale(1.045);
}

.publication-card-clickable.is-active {
  cursor: pointer;
}

.publication-card-clickable:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 5px;
}

.publication-content {
  min-height: 220px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.publication-content h3 {
  margin: 0.35rem 0 0.9rem;
  font-size: 1.24rem;
  line-height: 1.35;
}

.publication-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.publication-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-cyan);
  font-size: 0.86rem;
  font-weight: 800;
}

.publication-link span {
  font-size: 1.1rem;
}

.carousel-status {
  margin-top: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

/* ==========================================================================
   Hero Awards & Recognitions Styles
   ========================================================================== */
.hero-awards-block {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(4, 9, 20, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-awards-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-awards-icon {
  font-size: 1.2rem;
}

.hero-awards-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-awards-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.award-contest-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 9999px;
  padding: 0.45rem 1rem;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.award-contest-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
}

.award-contest-icon {
  font-size: 1rem;
}

.award-contest-count {
  background: linear-gradient(135deg, #FFB800, #FF5500);
  color: #040914;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  line-height: 1.2;
}

/* Award Modal Item */
.award-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all 0.3s ease;
  text-align: left;
}

.award-item-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.03);
}

.award-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.award-item-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 184, 0, 0.15);
  color: #FFB800;
  border: 1px solid rgba(255, 184, 0, 0.3);
  text-transform: uppercase;
}

.award-item-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.award-item-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
}

.award-item-work {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

.award-verify-btn {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

/* Banner Placeholder Box in Modal */
.award-banner-preview-box {
  background: rgba(0, 240, 255, 0.05);
  border: 2px dashed rgba(0, 240, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  margin-top: 0.75rem;
}

.award-banner-preview-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.carousel-status-pill {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-right: 0.75rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-block;
}

.carousel-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .publication-card { width: min(46vw, 370px); }
  .publication-card.is-previous { transform: translate(calc(-50% - 275px), -50%) scale(0.76); }
  .publication-card.is-next { transform: translate(calc(-50% + 275px), -50%) scale(0.76); }
}

@media (max-width: 768px) {
  .blog-hero { padding-top: 8rem; }
  .publication-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .publication-carousel { min-height: 530px; }
  .carousel-track { height: 500px; }
  .publication-card { width: min(78vw, 360px); min-height: 435px; }
  .publication-card.is-active { transform: translate(-50%, -50%) scale(1); }
  .publication-card.is-previous { transform: translate(calc(-50% - 75vw), -50%) scale(0.72); opacity: 0.34; }
  .publication-card.is-next { transform: translate(calc(-50% + 75vw), -50%) scale(0.72); opacity: 0.34; }
  .publication-image { height: 215px; }
  .carousel-status { margin-top: 0.8rem; }
}

/* Gear Product Card Hover & Image Zoom Animation */
.gear-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.gear-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.gear-card-img-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.gear-card-img-container img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gear-card:hover .gear-card-img-container img,
.gear-card-img-container:hover img {
  transform: scale(1.09);
}

/* Google Reviews & Trustindex Section */
.reviews-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(7, 9, 14, 0.95) 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-summary-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.reviews-summary-rating {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.reviews-score {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.reviews-score span {
  color: #FFB800;
}

.reviews-stars-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews-stars {
  color: #FFB800;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.reviews-badge-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-badge-text strong {
  color: var(--accent-cyan);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #040914;
  font-weight: 700;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.review-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.review-course-tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
}

/* ==========================================================================
   Team Section Styles (Layout 4 sopra + 2 sotto centrati)
   ========================================================================== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(25% - 1.5rem);
  max-width: calc(25% - 1.5rem);
  box-sizing: border-box;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .team-card {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 767px) {
  .team-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.team-avatar-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
}

.team-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover .team-avatar-ring,
.team-avatar-link:hover .team-avatar-ring {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.team-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F0FF, #7000FF);
  color: #040914;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.team-link-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.team-avatar-link:hover .team-link-badge {
  background: var(--accent-cyan);
  color: #040914;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.team-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.825rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Multilingual Language Switcher (ITA / UK+USA) & Mobile/Tablet Optimization
   ========================================================================== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.35rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lang-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  filter: grayscale(85%) opacity(0.45);
}

.lang-btn.active {
  filter: grayscale(0%) opacity(1);
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.lang-btn:hover {
  filter: grayscale(0%) opacity(0.9);
}

.flag-svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

/* Tablet & Mobile Responsiveness (992px and down) */
@media (max-width: 992px) {
  .nav-container {
    padding: 0.75rem 1.25rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .lang-btn {
    padding: 0.25rem 0.45rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .navbar .nav-container {
    padding-inline: 0.35rem;
  }
  .nav-actions .open-info-modal {
    display: none;
  }
  .lang-btn span {
    display: none;
  }
  .lang-toggle-wrapper {
    min-width: auto;
  }
  .hero-brand-logo {
    max-width: 290px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero-reviews-carousel {
    padding: 0.75rem;
  }
}

@media (max-width: 360px) {
  .brand-logo > span {
    display: none;
  }
}

/* ==========================================================================
   Neon Pink Coming Soon Cards (per i workshop in fase di anteprima)
   ========================================================================== */
@keyframes neonFlicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
    opacity: 0.98;
    text-shadow: 
      0 0 4px #fff,
      0 0 10px #ff2a85,
      0 0 20px #ff2a85,
      0 0 40px #ff007f,
      0 0 80px #ff007f;
  }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
    opacity: 0.35;
    text-shadow: none;
  }
}

.neon-pink-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 0, 127, 0.14) 0%, rgba(10, 5, 20, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 42, 133, 0.35);
  box-shadow: inset 0 0 30px rgba(255, 0, 127, 0.15);
  text-decoration: none;
}

.neon-pink-card-text {
  font-family: var(--font-heading), 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #fff;
  text-transform: uppercase;
  animation: neonFlicker 3.8s infinite alternate ease-in-out;
  text-align: center;
  user-select: none;
}

/* ==========================================================================
   Gallerie Fotografiche (Vertical Cards & Lightbox Modal)
   ========================================================================== */
.galleries-section {
  padding: 4.5rem 0 3rem 0;
  position: relative;
}

.galleries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.gallery-vertical-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  z-index: 1;
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(4, 9, 20, 0.15) 0%,
    rgba(4, 9, 20, 0.45) 45%,
    rgba(4, 9, 20, 0.95) 90%
  );
  z-index: 2;
  transition: background 0.4s ease;
}

.gallery-card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(4, 9, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.flag-icon {
  width: 1.25rem;
  height: 0.9rem;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.gallery-card-content {
  position: relative;
  z-index: 3;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.gallery-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
}

.gallery-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.gallery-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap 0.3s ease, color 0.3s ease;
}

.gallery-vertical-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.2);
}

.gallery-vertical-card:hover .gallery-card-bg {
  transform: scale(1.08);
}

.gallery-vertical-card:hover .gallery-card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(4, 9, 20, 0.05) 0%,
    rgba(4, 9, 20, 0.3) 35%,
    rgba(4, 9, 20, 0.96) 85%
  );
}

.gallery-vertical-card:hover .gallery-card-cta {
  gap: 0.8rem;
  color: #fff;
}

/* Modal Gallery Grid (10 Placeholder Photos) */
.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.gallery-photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-photo-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.gallery-photo-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #081522;
  display: block;
}

.gallery-photo-info {
  padding: 0.85rem 1rem;
  background: rgba(4, 9, 20, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gallery-photo-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.gallery-photo-caption {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.gallery-photo-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-photo-badge.badge-awarded {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.95));
  color: #ffffff;
  border: 1px solid rgba(253, 230, 138, 0.7);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.gallery-photo-badge.badge-published {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.9), rgba(59, 130, 246, 0.92));
  color: #040914;
  border: 1px solid rgba(191, 219, 254, 0.7);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.35);
}

.gallery-photo-badge.badge-accepted {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(236, 72, 153, 0.92));
  color: #ffffff;
  border: 1px solid rgba(243, 232, 255, 0.7);
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

/* Lightbox Modal Improvements */
.gallery-lightbox-modal {
  position: relative;
  max-width: 94vw;
  max-height: 94vh;
  padding: 1.5rem;
  background: rgba(4, 9, 20, 0.96) !important;
  border: 1px solid var(--border-glow);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 18, 30, 0.85);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.lightbox-nav-arrow:hover {
  background: var(--accent-cyan);
  color: #040914;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-arrow.prev {
  left: 1.25rem;
}

.lightbox-nav-arrow.next {
  right: 1.25rem;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 120;
  line-height: 1;
  padding: 0;
}

.lightbox-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.7);
  transform: scale(1.12) rotate(90deg);
}

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

@media (max-width: 640px) {
  .galleries-grid {
    grid-template-columns: 1fr;
  }
  .gallery-vertical-card {
    min-height: 380px;
  }
  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  .lightbox-nav-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  .lightbox-nav-arrow.prev {
    left: 0.5rem;
  }
  .lightbox-nav-arrow.next {
    right: 0.5rem;
  }
}




/* Codex mobile overflow guard */
html {
  overflow-x: clip;
}

@media (max-width: 600px) {
  .nav-actions > .btn {
    display: none;
  }
}

/* Mobile presentation pass — 2026-09-07 */
@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }

  .navbar {
    padding-block: 0.55rem;
  }

  .navbar .nav-container {
    width: 100%;
    padding: 0.35rem 0.9rem;
    gap: 0.5rem;
  }

  .brand-logo {
    min-width: 0;
    gap: 0.5rem;
    font-size: 1rem;
  }

  .brand-logo .logo-img {
    width: 34px;
    height: 34px;
  }

  .nav-actions {
    margin-left: auto;
    gap: 0.35rem;
  }

  .lang-toggle-wrapper {
    gap: 0;
    padding: 0.15rem;
  }

  .lang-btn.active {
    display: none;
  }

  .lang-btn {
    min-width: 38px;
    min-height: 38px;
    padding: 0.35rem;
  }

  .mobile-menu-toggle {
    order: initial;
    flex: 0 0 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 7.25rem;
    padding-bottom: 3rem;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-tagline-badge {
    max-width: 100%;
    margin-bottom: 1.1rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
  }

  .hero-brand-logo {
    width: min(70vw, 230px);
    margin: 0 auto 1.25rem;
  }

  .hero-title {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 10.2vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
  }

  .hero-description {
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem !important;
  }

  .hero-actions .btn {
    min-width: 0;
    min-height: 46px;
    padding: 0.7rem 0.75rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .hero-reviews-carousel {
    margin-top: 1.75rem;
    padding: 1rem;
    border-radius: 18px;
  }

  .reviews-slider-header {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .slider-badge {
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
  }

  .cky-consent-container {
    left: 0.5rem !important;
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    width: auto !important;
    max-width: none !important;
  }

  .cky-consent-bar {
    width: 100% !important;
    padding: 1rem !important;
  }

  .cky-notice-btn-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .cky-notice-btn-wrapper .cky-btn {
    width: 100% !important;
    min-height: 44px;
    margin: 0 !important;
  }
}

@media (max-width: 360px) {
  .navbar .nav-container {
    padding-inline: 0.7rem;
  }

  .brand-logo {
    font-size: 0.92rem;
  }

  .brand-logo .logo-img {
    width: 32px;
    height: 32px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}
