/* ============================================
   VitaProsta – Promotional Website
   Mobile-first, Italian locale, GDPR-aware
   ============================================ */

:root {
  /* Purple / violet gradient palette */
  --purple-900: #1a0a2e;
  --purple-800: #2d1b4e;
  --purple-700: #4a2c6a;
  --purple-600: #6b3fa0;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-200: #ddd6fe;
  --purple-100: #ede9fe;
  --violet-soft: #7c3aed;
  --violet-glow: rgba(139, 92, 246, 0.4);
  --violet-glow-strong: rgba(167, 139, 250, 0.25);

  /* Disclaimer */
  --disclaimer-bg: #fef3c7;
  --disclaimer-border: #f59e0b;
  --disclaimer-text: #92400e;
  --disclaimer-title: #b45309;

  /* UI */
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0a0a0a;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.25rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.5s;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-100);
  background: linear-gradient(160deg, var(--purple-900) 0%, var(--purple-800) 40%, var(--purple-700) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--purple-300);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover, a:focus-visible {
  color: var(--white);
}

a:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  background: var(--purple-600);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--duration-normal) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-md);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Ad label */
.ad-label {
  position: fixed;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 9999;
  padding: var(--space-xs) var(--space-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-200);
  box-shadow: var(--glass-shadow);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.logo:hover {
  opacity: 0.9;
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav ul {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-weight: 500;
  color: var(--purple-200);
  white-space: nowrap;
}

.btn-nav-cta {
  display: none;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--purple-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--purple-800);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-md);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.nav-mobile a {
  display: block;
  padding: var(--space-sm);
  font-weight: 500;
  color: var(--purple-200);
  border-radius: var(--radius-sm);
}

.nav-mobile a:hover {
  background: var(--glass-bg);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--purple-900) 0%,
    var(--purple-800) 30%,
    var(--purple-700) 60%,
    var(--purple-600) 100%
  );
  opacity: 0.95;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--violet-glow);
  top: -10%;
  right: -10%;
  animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--violet-glow-strong);
  bottom: 10%;
  left: -5%;
  animation: glow-float 10s ease-in-out infinite 1s;
}

.hero-glow-3 {
  width: 200px;
  height: 200px;
  background: rgba(139, 92, 246, 0.2);
  top: 50%;
  left: 40%;
  animation: glow-float 12s ease-in-out infinite 2s;
}

@keyframes glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.98); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--purple-300);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--purple-200);
  margin: 0 0 var(--space-sm);
  opacity: 0.95;
}

.hero-subtitle-extra {
  font-size: 0.95rem;
  color: var(--purple-300);
  margin: 0 0 var(--space-lg);
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-900);
  background: linear-gradient(135deg, var(--purple-300) 0%, var(--purple-400) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px var(--violet-glow);
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    filter var(--duration-fast);
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--violet-glow);
}

.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-buttons .btn {
  flex: 1 1 auto;
  min-width: 160px;
}

.btn-secondary {
  background: transparent;
  color: var(--purple-300);
  box-shadow: 0 0 0 2px var(--purple-400);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: 0 0 0 2px var(--purple-300);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.hero-legal-link {
  margin: var(--space-md) 0 0;
  font-size: 0.9rem;
}

.hero-legal-link a {
  color: var(--purple-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-legal-link a:hover {
  color: var(--white);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px var(--glass-border);
  max-width: 420px;
  aspect-ratio: 1;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.hero-ad-notice {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Animations – initial load */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 0.8s var(--ease-out) forwards;
}

.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disclaimer */
.disclaimer {
  padding: var(--space-xl) 0;
}

.disclaimer-box {
  background: var(--disclaimer-bg);
  border: 2px solid var(--disclaimer-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

.disclaimer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--disclaimer-title);
  margin: 0 0 var(--space-md);
}

.disclaimer-content {
  color: var(--disclaimer-text);
}

.disclaimer-content a {
  color: #b45309;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer-content a:hover {
  color: #92400e;
}

.disclaimer-content p {
  margin: 0 0 var(--space-sm);
}

.disclaimer-content p:last-child {
  margin-bottom: 0;
}

.disclaimer-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--disclaimer-title);
  margin: var(--space-md) 0 var(--space-xs);
}

.disclaimer-subtitle:first-of-type {
  margin-top: 0;
}

.disclaimer-content ul {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25rem;
  color: var(--disclaimer-text);
}

.disclaimer-content li {
  margin-bottom: 0.35rem;
}

.disclaimer-content li:last-child {
  margin-bottom: 0;
}

.disclaimer-medical-footer {
  margin-top: var(--space-md) !important;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--disclaimer-border);
  font-size: 0.95rem;
}

.disclaimer-medical .disclaimer-box {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-md);
  text-align: center;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  text-align: center;
  color: var(--purple-200);
  font-size: 1.05rem;
}

/* Highlights (Cosa è utile sapere) */
.highlights-grid {
  display: grid;
  gap: var(--space-lg);
}

.highlight-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-fast);
}

.highlight-item:hover, .highlight-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Factors grid */
.factors-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.factor-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.factor-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.factor-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.factor-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-xs);
}

.factor-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--purple-200);
}

/* FAQ */
.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--glass-shadow);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.faq-answer {
  margin: 0;
  font-size: 0.95rem;
  color: var(--purple-200);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cards */
.cards {
  display: grid;
  gap: var(--space-lg);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-fast);
}

.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
}

.card-icon {
  margin-bottom: var(--space-md);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  box-shadow: 0 4px 16px var(--violet-glow);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.card-text {
  margin: 0;
  color: var(--purple-200);
  font-size: 0.95rem;
}

/* Info blocks */
.info-grid {
  display: grid;
  gap: var(--space-lg);
}

.info-block {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow);
}

.info-block h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.info-block p {
  margin: 0;
  color: var(--purple-200);
  font-size: 0.95rem;
}

/* Brand */
.brand-inner {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.brand-text {
  margin: 0 0 var(--space-md);
  color: var(--purple-200);
}

.brand-text:last-of-type {
  margin-bottom: 0;
}

.brand-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--glass-shadow);
}

.brand-logo-large {
  margin-bottom: var(--space-sm);
}

.brand-logo-large img {
  display: block;
  height: 264px;
  width: auto;
  max-width: min(880px, 100%);
  margin: 0 auto;
  object-fit: contain;
}

.brand-tagline {
  margin: 0;
  color: var(--purple-300);
  font-size: 1rem;
}

/* CTA */
.cta-section {
  padding-bottom: var(--space-3xl);
}

.cta-box {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-600) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-md);
}

.cta-text {
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  color: var(--purple-200);
}

.cta-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Product block */
.product-section {
  padding-bottom: var(--space-3xl);
}

.product-block {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-600) 50%, var(--purple-700) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  position: relative;
}

.product-block-visual {
  margin-bottom: var(--space-lg);
}

.product-block-visual .product-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-md);
}

.product-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--disclaimer-border);
  color: var(--disclaimer-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
}

.product-subtitle {
  font-size: 1.05rem;
  color: var(--purple-200);
  margin: 0 0 var(--space-md);
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-feature {
  padding: var(--space-xs) var(--space-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--purple-200);
}

.product-desc {
  max-width: 640px;
  margin: 0 auto var(--space-md);
  font-size: 0.95rem;
  color: var(--purple-200);
  line-height: 1.6;
}

.product-vendor {
  margin: 0 0 var(--space-lg);
  font-size: 0.95rem;
  color: var(--purple-300);
}

.btn-product {
  display: inline-flex;
  margin-bottom: var(--space-md);
}

.product-legal {
  margin: 0;
  font-size: 0.9rem;
}

.product-legal a {
  color: var(--purple-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Gallery */
.gallery-section {
  padding-bottom: var(--space-2xl);
}

.gallery-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: var(--space-lg);
}

.gallery-item {
  margin: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.gallery-link {
  display: block;
  color: inherit;
}

.gallery-link:hover {
  color: inherit;
}

.gallery-item img,
.gallery-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: var(--space-md);
  font-size: 0.95rem;
  color: var(--purple-200);
  text-align: center;
}

.gallery-legal {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
  margin: 0;
}

.gallery-legal a {
  color: var(--purple-300);
}

/* Visual blocks */
.visual-grid {
  display: grid;
  gap: var(--space-xl);
}

.visual-block {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.visual-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.visual-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-content {
  padding: var(--space-lg);
}

.visual-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.visual-content p {
  margin: 0 0 var(--space-md);
  color: var(--purple-200);
  font-size: 0.95rem;
}

.visual-content p:last-of-type {
  margin-bottom: 0;
}

.visual-content .btn {
  margin-top: var(--space-sm);
}

/* Footer */
.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--glass-border);
}

.footer-ad-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.footer-brand {
  margin-bottom: var(--space-md);
}

.footer-brand a {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-brand a:hover {
  opacity: 0.9;
}

.footer-brand img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.footer-nav ul {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--purple-300);
}

.footer-disclaimer-block {
  background: var(--disclaimer-bg);
  border: 2px solid var(--disclaimer-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
  scroll-margin-top: 5rem;
}

.footer-disclaimer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--disclaimer-title);
  margin: 0 0 var(--space-md);
}

.footer-disclaimer-content {
  font-size: 0.9rem;
  color: var(--disclaimer-text);
  line-height: 1.55;
}

.footer-disclaimer-content p {
  margin: 0 0 var(--space-sm);
}

.footer-disclaimer-content p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0 0 var(--space-md);
  max-width: 720px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0;
}

/* Scroll-triggered animations (JS adds .visible) */
.card-animate,
.info-animate,
.brand-animate,
.cta-animate,
.product-animate,
.highlight-animate,
.factor-animate,
.faq-animate,
.gallery-animate,
.visual-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.card-animate.visible,
.info-animate.visible,
.brand-animate.visible,
.cta-animate.visible,
.product-animate.visible,
.highlight-animate.visible,
.factor-animate.visible,
.faq-animate.visible,
.gallery-animate.visible,
.visual-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.cards .card-animate:nth-child(1) { transition-delay: 0s; }
.cards .card-animate:nth-child(2) { transition-delay: 0.1s; }
.cards .card-animate:nth-child(3) { transition-delay: 0.2s; }
.cards .card-animate:nth-child(4) { transition-delay: 0.3s; }

.highlights-grid .highlight-animate:nth-child(1) { transition-delay: 0s; }
.highlights-grid .highlight-animate:nth-child(2) { transition-delay: 0.08s; }
.highlights-grid .highlight-animate:nth-child(3) { transition-delay: 0.16s; }
.highlights-grid .highlight-animate:nth-child(4) { transition-delay: 0.24s; }

.info-grid .info-animate:nth-child(1) { transition-delay: 0s; }
.info-grid .info-animate:nth-child(2) { transition-delay: 0.08s; }
.info-grid .info-animate:nth-child(3) { transition-delay: 0.16s; }
.info-grid .info-animate:nth-child(4) { transition-delay: 0.24s; }
.info-grid .info-animate:nth-child(5) { transition-delay: 0.32s; }

.factors-grid .factor-animate:nth-child(1) { transition-delay: 0s; }
.factors-grid .factor-animate:nth-child(2) { transition-delay: 0.06s; }
.factors-grid .factor-animate:nth-child(3) { transition-delay: 0.12s; }
.factors-grid .factor-animate:nth-child(4) { transition-delay: 0.18s; }
.factors-grid .factor-animate:nth-child(5) { transition-delay: 0.24s; }
.factors-grid .factor-animate:nth-child(6) { transition-delay: 0.3s; }

.faq-list .faq-animate:nth-child(1) { transition-delay: 0s; }
.faq-list .faq-animate:nth-child(2) { transition-delay: 0.06s; }
.faq-list .faq-animate:nth-child(3) { transition-delay: 0.12s; }
.faq-list .faq-animate:nth-child(4) { transition-delay: 0.18s; }
.faq-list .faq-animate:nth-child(5) { transition-delay: 0.24s; }
.faq-list .faq-animate:nth-child(6) { transition-delay: 0.3s; }
.faq-list .faq-animate:nth-child(7) { transition-delay: 0.36s; }

.brand-inner .brand-animate:nth-child(1) { transition-delay: 0s; }
.brand-inner .brand-animate:nth-child(2) { transition-delay: 0.1s; }

.gallery-grid .gallery-animate:nth-child(1) { transition-delay: 0s; }
.gallery-grid .gallery-animate:nth-child(2) { transition-delay: 0.06s; }
.gallery-grid .gallery-animate:nth-child(3) { transition-delay: 0.12s; }
.gallery-grid .gallery-animate:nth-child(4) { transition-delay: 0.18s; }
.gallery-grid .gallery-animate:nth-child(5) { transition-delay: 0.24s; }
.gallery-grid .gallery-animate:nth-child(6) { transition-delay: 0.3s; }

.visual-grid .visual-animate:nth-child(1) { transition-delay: 0s; }
.visual-grid .visual-animate:nth-child(2) { transition-delay: 0.1s; }
.visual-grid .visual-animate:nth-child(3) { transition-delay: 0.2s; }

/* ========== Legal / Subpages ========== */
.legal-page,
.contacts-page {
  padding: var(--space-3xl) 0;
  min-height: 100vh;
}

.legal-page h1,
.contacts-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-lg);
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--purple-200);
  margin: var(--space-lg) 0 var(--space-sm);
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-300);
  margin: var(--space-md) 0 var(--space-xs);
}

.legal-page p,
.contacts-page p {
  margin: 0 0 var(--space-md);
  color: var(--purple-200);
}

.legal-page ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.5rem;
  color: var(--purple-200);
}

.legal-page a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.contacts-page .contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 480px;
  margin-bottom: var(--space-lg);
}

.contacts-page .contact-card h2 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 var(--space-sm);
}

.contacts-page .contact-card p {
  margin: 0;
}

.contacts-page a[href^="mailto"] {
  font-weight: 600;
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  :root {
    --container-padding: 1.5rem;
  }

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

  .hero-content {
    order: 1;
  }

  .hero-image-wrap {
    order: 2;
  }

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

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

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

  .info-grid .info-animate:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-lg) / 2);
    justify-self: center;
  }

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

@media (min-width: 768px) {
  .nav ul {
    display: flex;
  }

  .btn-nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .factors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .visual-block {
    grid-template-columns: 1fr 1fr;
  }

  .visual-block .visual-img {
    aspect-ratio: 1;
  }

  .brand-inner {
    grid-template-columns: 1fr 1fr;
  }

  .brand-content {
    order: 1;
  }

  .brand-visual {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ========== Cookie consent bar (transparent, no dark patterns) ========== */
.cookie-consent-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--container-padding);
  background: var(--purple-800);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

.cookie-consent-bar[hidden] {
  display: none !important;
}

.cookie-consent-text {
  margin: 0;
  color: var(--purple-200);
  max-width: 560px;
}

.cookie-consent-text a {
  color: var(--purple-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-consent-btn {
  padding: 0.5rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background var(--duration-fast), color var(--duration-fast);
}

.cookie-consent-accept {
  background: var(--purple-400);
  color: var(--purple-900);
}

.cookie-consent-accept:hover {
  background: var(--purple-300);
}

.cookie-consent-reject {
  background: transparent;
  color: var(--purple-200);
  box-shadow: 0 0 0 2px var(--glass-border);
}

.cookie-consent-reject:hover {
  background: var(--glass-bg);
  color: var(--white);
}
