/* ========================================
   AETERNVM - STYLE.CSS
   Design System & Complete Styling
   ======================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors - Dark Theme */
  --primary-teal: #008c95;
  --dark-teal: #004d52;
  --bg-dark: #1a1a1a;
  --bg-darker: #0a0a0a;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-grey: #a0a0a0;
  --accent-white: #fdfdf8;
  --card-dark: #1f1f1f;

  /* Typography */
  --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Montserrat", sans-serif;

  /* Spacing */
  --section-padding: 5.5rem 0;
  --container-padding: 0 2rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows - Enhanced for Dark Theme */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 30px rgba(0, 140, 149, 0.4);
  --shadow-intense: 0 0 40px rgba(0, 140, 149, 0.7);

  /* Seigaiha Pattern - Japanese Waves in Light Teal */
  --pattern-seigaiha: url("../images/seigaiha-teal.svg");
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h2,
h3,
h4 {
  line-height: 1.1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== PRELOADER: IL TAGLIO DI LAMA ========== */
.loader {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  z-index: 99999;
  overflow: hidden;
  pointer-events: all;
}

html.show-intro .loader,
html.loader-active .loader {
  display: flex;
}

.loader.is-hidden {
  display: none !important;
}

.loader.is-splitting {
  background-color: transparent !important;
  pointer-events: none;
}

.loader-half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #171b1d 0%, #0b0d0e 76%);
  will-change: transform;
  transition: transform 0.48s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader-half-top {
  -webkit-clip-path: inset(0 0 50% 0);
  clip-path: inset(0 0 50% 0);
}

.loader-half-bottom {
  -webkit-clip-path: inset(50% 0 0 0);
  clip-path: inset(50% 0 0 0);
}

.loader.is-splitting .loader-half-top {
  transform: translateY(-102%);
}

.loader.is-splitting .loader-half-bottom {
  transform: translateY(102%);
}

.loader-wordmark {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  line-height: 1;
  color: var(--accent-white);
  user-select: none;
  opacity: 0;
  animation: loaderWordIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.46s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.36s ease;
}

.loader.is-splitting .loader-half-top .loader-wordmark {
  transform: translateX(8px);
}

.loader.is-splitting .loader-half-bottom .loader-wordmark {
  transform: translateX(-8px);
}

.loader-blade {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(0, 140, 149, 0.1) 0%,
    #008c95 45%,
    #00c2cc 82%,
    #ffffff 97%,
    #7ee8ef 100%
  );
  box-shadow:
    0 0 14px rgba(0, 194, 204, 0.95),
    0 0 32px rgba(0, 140, 149, 0.8);
  z-index: 3;
  will-change: transform, opacity;
  transition: opacity 0.18s ease;
}

.loader.is-ready .loader-blade {
  animation: loaderBladeSlash 0.46s cubic-bezier(0.65, 0, 0.15, 1) 0.06s forwards;
}

.loader.is-splitting .loader-blade {
  opacity: 0;
}

@keyframes loaderWordIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderBladeSlash {
  0% {
    transform: translateY(-50%) scaleX(0);
  }
  100% {
    transform: translateY(-50%) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-wordmark {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  .loader.is-ready .loader-blade {
    animation-duration: 0.25s !important;
  }
  .loader-half {
    transition-duration: 0.28s !important;
  }
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Background Pattern for Sections Studio to Trovaci */
#studio,
#founders,
#studio-tattoo,
#studio-barber,
#studio-manager,
#studio-expo,
#barberia,
#tattoo,
#piercing,
#pmu,
#blog,
#intro,
#artists,
#contatti {
  background-image: url("images/pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
}

/* Mobile-first: hide desktop elements by default, show mobile elements */
.desktop-only {
  display: none !important;
}

.mobile-only {
  display: block;
}

/* Desktop: show desktop elements, hide mobile elements */
@media (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }

  .mobile-only {
    display: none !important;
  }

  /* Special case for flex items in header */
  .header-cta-call.desktop-only,
  .nav.desktop-only {
    display: flex !important;
  }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  backdrop-filter: blur(15px) saturate(140%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
  padding: 1rem 0;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  backdrop-filter: blur(15px) saturate(140%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  font-family: "Cochin", serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--accent-white);
  transition: color var(--transition-fast);
  text-transform: uppercase;
  font-weight: 530;
}

.header-logo:hover {
  color: var(--primary-teal);
}

.header-cta-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-teal);
  color: var(--accent-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.header-cta-call::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.header-cta-call:hover::before {
  width: 300px;
  height: 300px;
}

.header-cta-call:hover {
  box-shadow: 0 5px 20px rgba(0, 140, 149, 0.4);
  transform: translateY(-3px);
}

/* Header Right Actions (Instagram + Compact Call + Mobile Hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 768px) {
  .header-actions {
    margin-left: 0;
  }
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
  position: relative;
}

.header-icon-btn svg {
  display: block;
  flex-shrink: 0;
}

.header-instagram-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent-white);
  backdrop-filter: blur(8px);
}

.header-instagram-btn:hover {
  background-color: rgba(0, 140, 149, 0.22);
  border-color: var(--primary-teal);
  color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 140, 149, 0.38);
}

.header-call-btn {
  background-color: var(--primary-teal);
  border: 1px solid var(--primary-teal);
  color: var(--accent-white);
}

.header-call-btn:hover {
  background-color: var(--accent-white);
  border-color: var(--accent-white);
  color: var(--primary-teal);
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 140, 149, 0.45);
}

@media (max-width: 767px) {
  .header-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-icon-btn {
    width: 36px;
    height: 36px;
  }

  .header-icon-btn svg {
    width: 17px;
    height: 17px;
  }

  .header-actions .hamburger.mobile-only {
    display: flex;
    margin-left: 4px;
  }
}

/* Desktop Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--accent-white);
  font-weight: 500;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-teal);
  transition: width var(--transition-normal);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--primary-teal);
}

/* Store Button in Nav */
.nav-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  padding: 0.5rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  border: 1.5px solid var(--primary-teal); /* Visible outline initially? Or background? User said "bello visibile" */
  position: relative;
  overflow: hidden;
  width: 50px; /* Initial width - just icon */
  height: 50px;
  box-shadow: 0 0 10px rgba(0, 140, 149, 0.2);
}

.nav-store-btn.active-store {
  background-color: var(--primary-teal);
  box-shadow: 0 0 15px rgba(0, 140, 149, 0.5);
}

.nav-store-btn:hover {
  width: 120px; /* Expand on hover */
  background-color: var(--primary-teal);
  box-shadow: 0 0 15px rgba(0, 140, 149, 0.5);
}

.store-icon-wrapper img {
  width: 25px;
  height: 25px;
  display: block;
  transition: opacity 0.3s ease;
  filter: invert(
    1
  ); /* Make sure icon is white if SVG is black, or adjust based on SVG content. Assuming white or colored. */
}

/* Adjust filter based on actual SVG color. If SVG is black, invert makes it white. If it's teal, we might nee to keep it. 
   Assuming I need to control color. */

.nav-store-btn:hover .store-icon-wrapper img {
  opacity: 0; /* Hide icon on hover? Or move it? User said "cambiava e usciva la scritta" */
  display: none;
}

.store-text {
  position: absolute;
  color: var(--accent-white);
  font-weight: 700;
  letter-spacing: 1px;
  /* opacity: 0; REMOVED - controlled by spans now */
  transform: translateX(20px);
  transition: transform 1s ease 0.1s; /* Only animate position of wrapper */
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex; /* Added for spans */
}
.store-text span {
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  display: inline-block;
}

.nav-store-btn:hover .store-text {
  /* opacity: 1; */
  transform: translateX(0);
  position: static;
}

/* Staggered Delay for Letters */
.nav-store-btn:hover .store-text span {
  opacity: 1;
  transform: translateX(0);
}

.nav-store-btn:hover .store-text span:nth-child(1) {
  transition-delay: 0.1s;
}
.nav-store-btn:hover .store-text span:nth-child(2) {
  transition-delay: 0.15s;
}
.nav-store-btn:hover .store-text span:nth-child(3) {
  transition-delay: 0.2s;
}
.nav-store-btn:hover .store-text span:nth-child(4) {
  transition-delay: 0.25s;
}
.nav-store-btn:hover .store-text span:nth-child(5) {
  transition-delay: 0.3s;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(8, 8, 8, 0.92);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  backdrop-filter: blur(15px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  border-radius: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--accent-white);
  transition: all var(--transition-fast);
}

.dropdown-link.active-link {
  color: var(--primary-teal);
  font-weight: 600;
}

.dropdown-link:hover {
  background-color: var(--primary-teal);
  color: var(--accent-white);
  padding-left: 2rem;
}

/* Mobile Controls */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.mobile-cta-call {
  background-color: var(--primary-teal);
  color: var(--accent-white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.mobile-cta-call:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 140, 149, 0.4);
}

/* Hamburger Menu */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.hamburger-line {
  width: 30px;
  height: 3px;
  background-color: var(--accent-white);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  padding: 5.25rem 1.5rem 2rem;
  overflow-y: auto;
  background-color: rgba(30, 30, 30, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--accent-white);
  padding: 0.5rem 1.25rem;
  transition: all var(--transition-normal);
  letter-spacing: 2.2px;
}

.mobile-nav-link.active-link {
  color: var(--primary-teal);
}

.mobile-nav-link:hover {
  color: var(--primary-teal);
  transform: translateX(10px);
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero {
    min-height: 100vh;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7),
    rgba(0, 140, 149, 0.3)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--accent-white);
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-text-wrapper {
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-title,
.hero-subtitle,
.hero-ctas .btn,
.app-title,
.app-subtitle,
.app-hero-content .btn,
.app-hero-content .btn-outline {
  opacity: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-subtitle-wrapper {
  overflow: hidden;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 2px solid var(--primary-teal);
  position: relative;
  overflow: hidden;
  background-color: var(--primary-teal);
  color: var(--accent-white);
  --magnetic-x: 0px;
  --magnetic-y: 0px;
}

/* Apply magnetic effect via custom properties */
.magnetic-btn {
  transform: translate(var(--magnetic-x), var(--magnetic-y));
  transition:
    transform 0.3s ease-out,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-white);
  color: var(--primary-teal);
  transform: translate(var(--magnetic-x), calc(var(--magnetic-y) - 3px));
  box-shadow: 0 8px 30px rgba(0, 140, 149, 0.4);
}

/* Varianti per compatibilità */
.btn-primary,
.btn-secondary,
.btn-outline {
  background-color: var(--primary-teal);
  color: var(--accent-white);
  border-color: var(--primary-teal);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  background-color: var(--accent-white);
  color: var(--primary-teal);
  transform: translate(var(--magnetic-x), calc(var(--magnetic-y) - 3px));
  box-shadow: 0 8px 30px rgba(0, 140, 149, 0.4);
}

/* Bottoni Scopri di più - sfondo bianco */
/* Impact Strip CTA - Gradient & Shine */
.btn-secondary-outline {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--primary-teal) 100%
  ) !important;
  border: 2px solid #ffffff !important; /* White border for shape */
  color: #1a1a1a !important; /* Dark text requested by user */
  position: relative;
  z-index: 100 !important;
  pointer-events: auto !important;
  font-weight: 700;
  overflow: hidden;
}

/* Ensure text is readable - maybe text shadow? or just white text? 
   User asked for White->Teal gradient. 
   If left is white, text should be dark. If right is teal, text should be white.
   Let's try a dark teal color for text to be safe, or white with text-shadow.
   Actually, usually these buttons look best with white text if the gradient is strong, 
   OR dark text if it's a light button.
   Let's try Dark Teal Text.
*/

.btn-secondary-outline:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 20px 5px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(0, 140, 149, 0.4); /* Strong shine */
  filter: brightness(1.1);
}

/* Hover effect: vertical wipe from top and bottom to center - ONLY for specific buttons */
.btn-wipe-effect::before,
.btn-wipe-effect::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.2s ease-out;
  z-index: 0;
}

.btn-wipe-effect::before {
  top: 0;
}

.btn-wipe-effect::after {
  bottom: 0;
}

/* For teal buttons (Treatwell) - wipe to white */
.btn-wipe-effect.btn-primary::before,
.btn-wipe-effect.btn-primary::after {
  background-color: var(--accent-white);
}

.btn-wipe-effect.btn-primary:hover::before,
.btn-wipe-effect.btn-primary:hover::after {
  height: 50%;
}

/* For white buttons (Scopri di più) - wipe to teal */
.btn-wipe-effect.btn-secondary-outline::before,
.btn-wipe-effect.btn-secondary-outline::after {
  background-color: var(--primary-teal);
}

.btn-wipe-effect.btn-secondary-outline:hover::before,
.btn-wipe-effect.btn-secondary-outline:hover::after {
  height: 50%;
}

/* Ensure text and icons stay above the effect */
.btn-wipe-effect span,
.btn-wipe-effect .btn-icon {
  position: relative;
  z-index: 1;
}

/* Tattoo needle drawing effect for tattoo buttons */
.btn-ink-splash {
  overflow: hidden;
}

.btn-ink-splash::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--accent-white);
  transform: skewX(-20deg);
  transform-origin: top left;
  transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

/* For teal buttons (Prenota Tattoo) - needle draws white */
.btn-ink-splash.btn-primary::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    var(--accent-white) 20%,
    var(--accent-white) 80%,
    transparent 100%
  );
}

.btn-ink-splash.btn-primary:hover::before {
  width: 150%;
}

/* For white buttons (Scopri di più) - needle draws teal */
.btn-ink-splash.btn-secondary-outline::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    var(--primary-teal) 20%,
    var(--primary-teal) 80%,
    transparent 100%
  );
}

.btn-ink-splash.btn-secondary-outline:hover::before {
  width: 150%;
}

/* Ensure text and icons stay above the effect */
.btn-ink-splash span,
.btn-ink-splash .btn-icon {
  position: relative;
  z-index: 1;
}

/* Piercing light pulse effect */
.btn-shimmer {
  overflow: hidden;
  position: relative;
}

.btn-shimmer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 1;
}

/* Teal pulse for primary buttons (Prenota Piercing - white background on hover) */
.btn-shimmer.btn-primary::before {
  background: radial-gradient(
    circle,
    rgba(0, 140, 149, 0.9) 0%,
    rgba(0, 140, 149, 0.6) 30%,
    rgba(0, 140, 149, 0.2) 60%,
    transparent 100%
  );
}

/* White pulse for secondary-outline buttons (Scopri di più - teal background on hover) */
.btn-shimmer.btn-secondary-outline::before {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.2) 60%,
    transparent 100%
  );
}

.btn-shimmer:hover::before {
  animation: piercingPulse 0.8s ease-out;
}

@keyframes piercingPulse {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(25);
    opacity: 0;
  }
}

/* Ensure text and icons stay above the effect */
.btn-shimmer span,
.btn-shimmer .btn-icon {
  position: relative;
  z-index: 2;
}

/* Gradient fade effect for PMU buttons - soft makeup blending */
.btn-brush {
  overflow: hidden;
  position: relative;
}

.btn-brush::before,
.btn-brush::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  transition: width 0.7s ease-out;
  z-index: 1;
}

.btn-brush::before {
  left: 0;
}

.btn-brush::after {
  right: 0;
}

/* White gradient for primary buttons (Prenota Consulenza - ottanio to white) */
.btn-brush.btn-primary::before {
  background: linear-gradient(to right, var(--accent-white), transparent);
}

.btn-brush.btn-primary::after {
  background: linear-gradient(to left, var(--accent-white), transparent);
}

.btn-brush.btn-primary:hover::before,
.btn-brush.btn-primary:hover::after {
  width: 50%;
}

/* Teal gradient for secondary-outline buttons (Scopri di più - white to teal) */
.btn-brush.btn-secondary-outline::before {
  background: linear-gradient(to right, var(--primary-teal), transparent);
}

.btn-brush.btn-secondary-outline::after {
  background: linear-gradient(to left, var(--primary-teal), transparent);
}

.btn-brush.btn-secondary-outline:hover::before,
.btn-brush.btn-secondary-outline:hover::after {
  width: 50%;
}

/* Ensure text and icons stay above the effect */
.btn-brush span,
.btn-brush .btn-icon {
  position: relative;
  z-index: 2;
}

/* Pulse laser effect for Scopri di più buttons */
.btn-pulse {
  --pulse-color: var(--primary-teal);
}

.btn-pulse:hover,
.btn-pulse:focus {
  animation: pulse 1s ease-out;
  box-shadow: 0 0 0 2em transparent;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  100% {
    box-shadow: 0 0 0 2em transparent;
  }
}

/* Glow outline effect for "Scopri di più" buttons */
.btn-glow-outline {
  border: 0 solid;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 1px solid;
  outline-color: rgba(0, 140, 149, 0.5);
  outline-offset: 0px;
  text-shadow: none;
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-glow-outline:hover {
  border: 1px solid;
  box-shadow:
    inset 0 0 20px rgba(0, 140, 149, 0.5),
    0 0 20px rgba(0, 140, 149, 0.2);
  outline-color: rgba(0, 140, 149, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px rgba(0, 140, 149, 0.6);
}

/* Left-to-right fill effect for Treatwell, Prenota Tattoo, Prenota Piercing, Prenota Consulenza */
.btn-fill-lr {
  overflow: hidden;
  position: relative;
  background-color: var(--primary-teal) !important;
  color: var(--accent-white);
}

.btn-fill-lr::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--accent-white);
  transition: width 0.6s ease;
  z-index: 0;
}

/* Override default button hover - keep teal background, only change text color */
.btn-fill-lr:hover {
  background-color: var(--primary-teal) !important;
  color: var(--primary-teal);
  transform: translate(var(--magnetic-x), calc(var(--magnetic-y) - 3px));
  box-shadow: 0 8px 30px rgba(0, 140, 149, 0.4);
}

.btn-fill-lr:hover::after {
  width: 100%;
}

/* Ensure text and icons stay above the fill effect */
.btn-fill-lr span,
.btn-fill-lr .btn-icon {
  position: relative;
  z-index: 1;
  transition: filter 0.35s ease;
}

/* Icon stays white initially, becomes teal on hover */
.btn-fill-lr .btn-icon {
  filter: brightness(0) invert(1);
}

.btn-fill-lr:hover .btn-icon {
  filter: none;
}

.btn-outline-small,
.btn-primary-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

/* Button Icons */
.btn-icon {
  filter: brightness(0) invert(1); /* Make SVG icons white */
  margin-right: 0.5rem; /* Add space between icon and text */
  width: 20px;
  height: 20px;
  transition: filter var(--transition-normal);
}

/* Icon color change on button hover - becomes teal */
.btn:hover .btn-icon,
.btn-primary:hover .btn-icon,
.btn-secondary:hover .btn-icon,
.btn-outline:hover .btn-icon {
  filter: none; /* Remove white filter to show teal color */
}

/* Platform & Action CTA Icons (Phone, WhatsApp, Instagram, Treatwell) */
.btn-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25em;
  line-height: 1;
  color: currentColor;
  position: relative;
  z-index: 2;
}

.btn .btn-cta-icon {
  margin-right: 0.5rem;
}

.btn-barber-rectangular .btn-cta-icon {
  margin-right: 0;
}

.btn-cta-svg {
  width: 1.28em;
  height: 1.28em;
  display: block;
  fill: currentColor;
}

.btn span {
  position: relative;
  z-index: 2;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-padding);
  position: relative;
}

/* Alternating section backgrounds with Seigaiha pattern */

.section-dark {
  background-color: #111111 !important;
}

.section-lightdark {
  background-color: #333333;
}

.section-title-wrapper {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.section-title-wrapper.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 2px;
  color: var(--text-white);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-teal);
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* ========== GRID LAYOUTS ========== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== STUDIO SECTION ========== */
/* .section-studio background handled by utility classes */

.studio-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.studio-cta {
  display: flex;
  margin-top: 0;
}

.studio-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== INSTAGRAM STRIP (MINIMAL EDITORIAL) ========== */
.instagram-strip {
  background-color: var(--dark-teal) !important;
  background-image: url("images/pattern-grey.svg");
  background-repeat: repeat;
  background-size: 600px;
  background-attachment: fixed;
  background-position: center;
  padding: 3rem 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.ig-strip-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
  color: var(--accent-white);
}

.ig-strip-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.ig-strip-emblem {
  width: 64px;
  height: 64px;
  border-radius: 17px;
  background: rgba(11, 13, 14, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.ig-strip-emblem svg {
  width: 29px;
  height: 29px;
  display: block;
}

.ig-strip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.22rem;
}

.ig-strip-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(253, 253, 248, 0.78);
  line-height: 1.2;
}

.ig-strip-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.6vw, 3rem);
  letter-spacing: 3px;
  line-height: 1.02;
  color: var(--accent-white);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.3s ease;
}

.ig-strip-bar:hover .ig-strip-emblem {
  transform: translateY(-2px) scale(1.04);
  background: rgba(11, 13, 14, 0.48);
  border-color: var(--accent-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ig-strip-bar:hover .ig-strip-heading {
  transform: translateX(3px);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  .instagram-strip {
    padding: 2rem 0;
  }

  .ig-strip-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .ig-strip-left {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .ig-strip-emblem {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .ig-strip-emblem svg {
    width: 22px;
    height: 22px;
  }

  .ig-strip-copy {
    align-items: center;
    text-align: center;
    gap: 0.15rem;
  }

  .ig-strip-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .ig-strip-heading {
    font-size: 1.65rem;
    letter-spacing: 2px;
  }

  .ig-strip-bar:hover .ig-strip-heading {
    transform: none;
  }
}

/* ========== STAFF CARDS ========== */
.staff-card {
  background-color: var(--card-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
  position: relative;
}

.section-piercing .grid-2,
.section-pmu .grid-2 {
  align-items: center;
}

.section-piercing .staff-card,
.section-pmu .staff-card {
  height: fit-content;
  width: 100%;
}

.staff-card-image {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.staff-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card-content {
  padding: 1.5rem;
  text-align: center;
}

.staff-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--text-white);
  transition: transform 0.3s ease;
}

.staff-card:hover .staff-name {
  transform: scale(1.3);
}

.staff-role {
  color: var(--text-grey);
  margin-bottom: 1rem;
}

.staff-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-teal);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.staff-social:hover {
  gap: 0.75rem;
  transform: translateX(5px);
}

/* ========== SERVICE INFO ========== */
.service-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

.service-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.3rem;
}

.service-ctas.center {
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .service-ctas {
    flex-direction: row;
  }
}

/* Centered Section Headers (Barberia & Tattoo) */
.barberia-header,
.tattoo-header {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.barberia-header .section-title-wrapper,
.tattoo-header .section-title-wrapper {
  margin-bottom: 1.5rem;
}

.barberia-header .section-text,
.tattoo-header .section-text {
  max-width: 1050px;
  margin: 0 auto;
}

.barber-staff-grid,
.tattoo-staff-grid {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
}

/* Studio Service Headers & Balanced Carousel Spacing (studio.html) */
#studio-tattoo .container,
#studio-barber .container {
  text-align: center;
}

.studio-service-header {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto 1rem;
  text-align: center;
}

.studio-service-header .section-title-wrapper {
  margin-bottom: 1.5rem;
}

.studio-service-header .section-text {
  max-width: 1050px;
  margin: 0 auto;
}

#studio-tattoo .carousel-container,
#studio-barber .carousel-container {
  margin-top: 0;
  margin-bottom: 0.75rem;
  margin-left: auto;
  margin-right: auto;
}

#studio-tattoo .values-grid,
#studio-barber .values-grid {
  width: 100%;
  margin-top: 0;
  margin-bottom: 3rem;
}

/* ========== BLOG CARDS ========== */
.blog-card {
  background-color: var(--card-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-slow);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.blog-card:hover .blog-title {
  color: var(--primary-teal);
}

.blog-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background-color: var(--bg-darker);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: none !important;
  transform: none !important;
}

.blog-card:hover .blog-card-image img {
  transform: none !important;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.08;
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-white);
  transition: color var(--transition-fast);
}

.blog-excerpt {
  color: var(--text-grey);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-teal);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.blog-link:hover {
  gap: 1rem;
}

.blog-cta-wrapper {
  text-align: center;
  margin-top: 3rem;
}

/* ========== CONTACT SECTION ========== */
/* Contact Map */
.map-wrapper {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  min-height: 450px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) invert(88%) contrast(85%) brightness(1.2); /* Lighter Dark Mode Effect */
  border: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-teal);
  flex-shrink: 0;
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
}

.contact-item a {
  color: var(--primary-teal);
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: #00a5af;
  text-decoration: underline;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--dark-teal);
  color: var(--text-white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 6rem;
  margin-bottom: 2rem;
}

.footer-logo-text {
  font-family: "Cochin", serif;
  font-size: 1.4rem;
  color: var(--text-white);
  display: block;
  margin-bottom: 1rem;
  font-weight: 550;
  letter-spacing: 1px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.footer-text {
  color: var(--text-light);
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--text-white);
  color: var(--primary-teal);
  transform: translateY(-5px) rotate(15deg);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 0.5rem;
  text-decoration: underline;
  text-decoration-color: var(--text-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

/* ========== WHATSAPP WIDGET ========== */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  animation: whatsapp-pulse 3s infinite;
}

.whatsapp-widget:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(30, 30, 30, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  z-index: 95;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-white);
  margin-bottom: 0.5rem;
}

.cookie-text p {
  color: #ccc;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 767px) {
  :root {
    --section-padding: 3.75rem 0;
  }

  /* ===== MOBILE TYPOGRAPHY (Aligned with tattoo.html) ===== */
  .section-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .section-title {
    font-size: 1.85rem !important;
    letter-spacing: 1.5px !important;
    line-height: 1.05 !important;
  }

  .hero-compact h1.section-title {
    line-height: 1.2 !important;
  }

  .section-subtitle {
    font-size: 0.92rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .staff-card-content {
    padding: 0.85rem 1rem !important;
  }

  .staff-name,
  .staff-card-name {
    font-size: 1.35rem !important;
    line-height: 1.05 !important;
    margin-bottom: 0.25rem !important;
  }

  .staff-role,
  .staff-card-role {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }

  .staff-social {
    font-size: 0.85rem !important;
  }

  .staff-card:hover .staff-name {
    transform: none !important;
  }

  .blog-title {
    font-size: 1.18rem !important;
    line-height: 1.08 !important;
  }

  .blog-excerpt {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
  }

  .impact-strip h2,
  .impact-title {
    font-size: 1.8rem !important;
    line-height: 1.05 !important;
  }

  .impact-strip p,
  .impact-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .founders-text blockquote {
    font-size: 1.15rem !important;
    padding-left: 1rem !important;
    margin: 1.25rem 0 !important;
    line-height: 1.4 !important;
  }

  .hero {
    height: 80vh;
  }

  .staff-card {
    max-width: 360px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .staff-card-image {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .service-info {
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Founders Section Mobile Ordering & Centering (studio.html) */
  .founders-section .grid-2 {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    text-align: center;
  }

  .founders-section .founders-text {
    display: contents;
    text-align: center;
  }

  .founders-section .section-title {
    order: 1;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .founders-section .section-subtitle {
    order: 2;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
  }

  .founders-section .founders-image-wrapper {
    order: 3;
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
  }

  .founders-section .founders-image-wrapper .founders-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .founders-section .section-text {
    order: 4;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .founders-section blockquote {
    order: 5;
    text-align: center;
    border-left: none !important;
    border-top: 2px solid var(--primary-teal);
    border-bottom: 2px solid var(--primary-teal);
    padding: 1rem 0 !important;
    margin: 1.5rem auto !important;
    max-width: 500px;
  }

  /* Studio Section Mobile Ordering & Centering */
  .section-studio .grid-2 {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    text-align: center;
  }

  .section-studio .studio-info {
    display: contents;
    text-align: center;
  }

  .section-studio .section-title-wrapper {
    order: 1;
    margin-bottom: 1.25rem;
    text-align: center;
    width: 100%;
  }

  .section-studio .section-title,
  .section-studio .section-subtitle {
    text-align: center;
  }

  .section-studio .studio-image {
    order: 2;
    margin-bottom: 1.5rem;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-left: auto;
    margin-right: auto;
  }

  .section-studio .studio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .section-studio .section-text {
    order: 3;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-studio .studio-cta,
  .section-studio .studio-info > .btn {
    order: 4;
    margin-top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .section-studio .studio-cta .btn {
    max-width: 185px;
    padding: 0.72rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  /* Barberia Section Mobile Ordering & Layout */
  .section-barberia .container {
    display: flex;
    flex-direction: column;
  }

  .section-barberia .barberia-header {
    display: contents;
  }

  .section-barberia .section-title-wrapper {
    order: 1;
    margin-bottom: 2rem;
  }

  .section-barberia .barber-staff-grid {
    order: 2;
    margin-bottom: 2rem;
  }

  .section-barberia .barberia-header .section-text {
    order: 3;
    margin-bottom: 2rem;
  }

  .section-barberia .service-ctas {
    order: 4;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem !important;
    margin-top: 0;
    width: 100%;
  }

  .section-barberia .service-ctas .btn {
    flex: 1;
    max-width: 185px;
    padding: 0.72rem 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  /* Tattoo Section Mobile Ordering & Layout */
  .section-tattoo .container {
    display: flex;
    flex-direction: column;
  }

  .section-tattoo .tattoo-header {
    display: contents;
  }

  .section-tattoo .section-title-wrapper {
    order: 1;
    margin-bottom: 2rem;
  }

  .section-tattoo .tattoo-staff-grid {
    order: 2;
    margin-bottom: 2rem;
  }

  .section-tattoo .tattoo-header .section-text {
    order: 3;
    margin-bottom: 2rem;
  }

  .section-tattoo .service-ctas {
    order: 4;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem !important;
    margin-top: 0;
    width: 100%;
  }

  .section-tattoo .service-ctas .btn {
    flex: 1;
    max-width: 185px;
    padding: 0.72rem 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  /* Piercing & PMU Sections Mobile Ordering & Layout */
  .section-piercing .grid-2,
  .section-pmu .grid-2 {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .section-piercing .service-info,
  .section-pmu .service-info {
    display: contents;
  }

  .section-piercing .section-title-wrapper,
  .section-pmu .section-title-wrapper {
    order: 1;
    margin-bottom: 2rem;
    text-align: center;
  }

  .section-piercing .staff-card,
  .section-pmu .staff-card {
    order: 2;
    margin-bottom: 2rem;
  }

  .section-piercing .section-text,
  .section-pmu .section-text {
    order: 3;
    margin-bottom: 2rem;
    text-align: center;
  }

  .section-piercing .service-ctas,
  .section-pmu .service-ctas {
    order: 4;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.5rem !important;
    margin-top: 0;
    width: 100%;
  }

  .section-piercing .service-ctas .btn,
  .section-pmu .service-ctas .btn {
    flex: 1;
    max-width: 185px;
    padding: 0.72rem 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  /* ===== STUDIO.HTML - Tattoo & Barber Sections Mobile Centering ===== */
  #studio-tattoo .container,
  #studio-barber .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #studio-tattoo .studio-service-header,
  #studio-barber .studio-service-header {
    width: 100%;
    margin-bottom: 0 !important;
  }

  #studio-tattoo .section-title-wrapper,
  #studio-barber .section-title-wrapper {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem !important;
  }

  #studio-tattoo .section-title,
  #studio-barber .section-title,
  #studio-tattoo .section-subtitle,
  #studio-barber .section-subtitle,
  #studio-tattoo .section-text,
  #studio-barber .section-text {
    text-align: center;
  }

  #studio-tattoo .section-text,
  #studio-barber .section-text {
    max-width: 600px;
    margin: 0 auto !important;
  }


  /* ===== STUDIO.HTML - Values Grid Mobile ===== */
  /* Più compatti: riduzione padding, font e icona */
  #studio-tattoo .values-grid,
  #studio-barber .values-grid {
    width: 100%;
    gap: 0.75rem;
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
  }

  #studio-tattoo .value-item,
  #studio-barber .value-item {
    padding: 1rem 0.75rem;
  }

  #studio-tattoo .value-icon-large,
  #studio-barber .value-icon-large {
    font-size: 2rem;
    margin-bottom: 0.4rem;
  }

  #studio-tattoo .value-item h4,
  #studio-barber .value-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
  }

  #studio-tattoo .value-item p,
  #studio-barber .value-item p {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  /* ===== UNIFIED CTA BUTTONS MOBILE SIZING ===== */
  /* Tutti i bottoni CTA tranne quelli della Hero assumono la dimensione delle sezioni tattoo/barber di studio.html */

  /* Contenitori per coppie di bottoni affiancati su mobile */
  .studio-cta-row,
  .artist-ctas,
  .artist-buttons,
  .mobile-ctas,
  .pricing-cta-wrapper {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Bottoni in coppie / righe */
  .studio-cta-row .btn,
  .artist-ctas .btn,
  .artist-buttons .btn,
  .mobile-ctas .btn,
  .mobile-ctas .btn-sm {
    flex: 1;
    max-width: 185px !important;
    min-width: 0 !important;
    padding: 0.72rem 0.6rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
  }

  .pricing-cta-wrapper .btn-barber-rectangular,
  .btn-barber-rectangular {
    flex: 1;
    max-width: 185px !important;
    min-width: 0 !important;
    padding: 0.72rem 0.65rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px !important;
    gap: 0.4rem !important;
    white-space: nowrap !important;
  }

  /* Icone nei bottoni compatti su mobile */
  .service-ctas .btn-icon,
  .studio-cta-row .btn-icon,
  .artist-ctas .btn i:not(.btn-cta-icon),
  .artist-buttons .btn i:not(.btn-cta-icon),
  .btn-barber-rectangular i:not(.btn-cta-icon),
  .btn-barber-rectangular .btn-icon {
    font-size: 0.92rem !important;
    margin-right: 0.28rem !important;
    width: auto !important;
    height: auto !important;
  }

  .service-ctas .btn-cta-icon,
  .studio-cta-row .btn-cta-icon,
  .artist-ctas .btn-cta-icon,
  .artist-buttons .btn-cta-icon,
  .mobile-ctas .btn-cta-icon {
    font-size: 0.92rem !important;
    margin-right: 0.28rem !important;
  }

  .btn-barber-rectangular .btn-cta-icon {
    font-size: 0.95rem !important;
    margin-right: 0 !important;
  }

  .service-ctas .btn-cta-svg,
  .studio-cta-row .btn-cta-svg,
  .artist-ctas .btn-cta-svg,
  .artist-buttons .btn-cta-svg,
  .mobile-ctas .btn-cta-svg,
  .btn-barber-rectangular .btn-cta-svg {
    width: 0.95rem !important;
    height: 0.95rem !important;
  }

  /* Bottoni CTA singoli (blog, intro, manager, impact strip, form) */
  .blog-cta-wrapper .btn,
  .intro-cta-wrapper .btn,
  .intro-cta,
  .manager-strip .btn,
  .impact-strip .btn,
  .btn-inverse,
  form .btn[type="submit"],
  form button[type="submit"],
  .contact-form .btn {
    padding: 0.72rem 1.1rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* ===== PRICING LIST MOBILE ===== */
  .pricing-section-premium {
    padding: 3.75rem 0 !important;
  }
  .pricing-card-glass {
    padding: 1.75rem 1rem !important;
    border-radius: 4px !important;
  }
  .pricing-item-row {
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.5rem !important;
  }
  .pricing-info {
    flex: 1 !important;
    min-width: 0 !important;
  }
  .pricing-item-title {
    font-size: 1.25rem !important;
    line-height: 1.08 !important;
  }
  .pricing-item-desc {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }
  .pricing-item-price {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 1.2rem !important;
    padding: 0.35rem 0.65rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Bottoni Hero su mobile: dimensioni più compatte ed eleganti, disposti uno sotto l'altro e centrati */
  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .hero-ctas .btn,
  .hero .hero-ctas .btn,
  .hero-barber .hero-ctas .btn,
  .hero-tattoo .hero-ctas .btn,
  .hero-piercing .hero-ctas .btn,
  .hero-contact .hero-ctas .btn,
  .hero-studio .hero-ctas .btn,
  .hero-studio .hero-ctas .btn-primary,
  .hero-studio .hero-ctas .btn-outline {
    flex: none !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0.65rem 1.35rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  /* ===== VIENI A TROVARCI (SECTION-CONTATTI) MOBILE CENTERING ===== */
  .section-contatti .grid-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
  }

  .section-contatti .map-wrapper {
    width: 100%;
    height: 320px;
    min-height: 320px;
    margin: 0 auto;
  }

  .section-contatti .contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .section-contatti .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    width: 100%;
  }

  .section-contatti .contact-item i {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
  }

  .section-contatti .contact-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .section-contatti .contact-item h3 {
    text-align: center;
    margin-bottom: 0.25rem;
  }

  .section-contatti .contact-item p {
    text-align: center;
    margin: 0;
  }

  .section-contatti .contact-item a {
    text-align: center;
  }

  /* Footer Mobile Centering */
  .footer-grid {
    gap: 2.5rem;
  }

  .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }
}

/* ========== MAGNETIC BUTTON EFFECT (Applied via JS) ========== */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== SCROLLBAR & SELECTION ========== */
/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: #002b2e; /* Very Dark Teal - Almost Black */
  border-radius: 5px;
  border: 1px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-teal);
}

/* Text Selection */
::selection {
  background-color: #cccccc; /* Light Grey - Option C */
  color: #000000;
}

/* ========== NEW PAGES & AGGRESSIVE STYLES ========== */

/* -- Artist Card Aggressive -- */
.artist-card-aggr {
  position: relative;
  background: var(--bg-darker);
  border: 1px solid #333;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%; /* Ensure full height in grid */
}

.artist-card-aggr:hover {
  border-color: var(--primary-teal);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 140, 149, 0.2);
}

.artist-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.artist-card-aggr:hover .artist-img {
  transform: scale(1.1);
}

.artist-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  padding: 2rem 1.5rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.artist-card-aggr:hover .artist-overlay {
  transform: translateY(0);
}

.artist-overlay h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.2rem;
  color: var(--accent-white);
}

.artist-overlay p {
  font-size: 0.9rem;
  color: var(--primary-teal);
  font-weight: 600;
}

.artist-details {
  padding: 1.5rem;
  text-align: left;
}

.artist-details h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.2rem;
  color: var(--accent-white);
}
.artist-details .role {
  color: var(--primary-teal);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.artist-details p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--text-grey);
}

/* -- Aggressive Gallery Grid -- */
.gallery-grid-aggr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1/1; /* Square images */
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-hover {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 140, 149, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-hover {
  opacity: 1;
}

/* -- Glitch Text Effect -- */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* -- Utility: Vertically Center -- */
.center-v {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -- Section Dark Alternate -- */
.section-dark {
  background-color: #111;
  padding: 5rem 0;
}

/* -- Button Small -- */
.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--primary-teal);
  color: var(--accent-white);
  background: transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* -- Studio Page Refinements -- */
.values-list {
  margin-top: 2rem;
  list-style: none;
}
.values-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.values-list li i {
  color: var(--primary-teal);
  font-size: 1.5rem;
}

.studio-gallery-wrapper {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.scrolling-gallery {
  display: flex;
  gap: 1rem;
  animation: scrollGallery 20s linear infinite;
}

.scrolling-gallery img {
  height: 300px;
  width: auto;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid #333;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
  /* NOTE: For true infinite scroll without jump, we need duplicate images. 
       This is a simple CSS scroll. For better results, use GSAP in main.js
    */
}

.bg-darker {
  background-color: #151515;
  border: 1px solid #222;
}

.reverse-mobile {
  flex-direction: column-reverse;
}
@media (min-width: 900px) {
  .reverse-mobile {
    flex-direction: row; /* Or grid default which is usually row-like in 2 cols */
  }
}

/* -- New Studio Structure Styles -- */

.founders-img {
  filter: none !important;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

/* Founders Section Desktop Layout (studio.html) */
@media (min-width: 768px) {
  .founders-section .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo title"
      "photo subtitle"
      "photo text1"
      "photo text2"
      "quote quote";
    column-gap: 3.5rem;
    row-gap: 0;
    align-items: start;
  }

  .founders-section .founders-text {
    display: contents;
  }

  .founders-section .founders-image-wrapper {
    grid-area: photo;
    margin-top: 2rem; /* Leggermente più in basso rispetto al titolo */
    width: 100%;
  }

  .founders-section .founders-image-wrapper .founders-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    filter: none !important; /* Direttamente a colori */
    transition: transform 0.5s ease;
  }

  .founders-section .founders-image-wrapper .founders-img:hover {
    filter: none !important;
    transform: scale(1.02);
  }

  .founders-section .section-title {
    grid-area: title;
    margin-bottom: 0.5rem;
  }

  .founders-section .section-subtitle {
    grid-area: subtitle;
    margin-bottom: 1.5rem;
  }

  .founders-section .founders-text p.section-text:first-of-type {
    grid-area: text1;
    margin-bottom: 1.25rem;
  }

  .founders-section .founders-text p.section-text:nth-of-type(2) {
    grid-area: text2;
    margin-bottom: 0;
  }

  .founders-section blockquote {
    grid-area: quote;
    width: 100%;
    margin-top: 2.5rem !important;
    margin-bottom: 0 !important;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    border-left: 4px solid var(--primary-teal);
    padding-left: 1.5rem;
    color: var(--text-white);
    line-height: 1.4;
    text-align: left;
  }
}
.img-rounded {
  border-radius: 20px !important;
  aspect-ratio: 1/1; /* Square as requested */
  width: 300px !important; /* Fixed width for carousel items */
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

.artist-portrait,
.artist-profile-img,
#artists .artist-img-col img {
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

.values-grid {
  text-align: center;
}

.value-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid #222;
  transition: all 0.3s ease;
}
.value-item:hover {
  border-color: var(--primary-teal);
  transform: translateY(-5px);
}

.value-icon-large {
  font-size: 3.5rem;
  color: var(--primary-teal);
  margin-bottom: 1rem;
  display: block;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.08;
  margin-bottom: 0.5rem;
  color: var(--accent-white);
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.5;
}

/* Impact Strip */
.impact-strip {
  background-color: var(--primary-teal);
  padding: 4.5rem 1rem;
  text-align: center;
  color: var(--text-white);
  margin: 0; /* REMOVED MARGIN to fix gaps */
  position: relative;
  z-index: 10;
}
.impact-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.05;
}

/* Force full width breakout for sections that need it */
.impact-strip,
#blog {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0;
  padding-right: 0;
}
/* Restore container inside */
.impact-strip .container,
#blog .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Inverse Button for Dark/Teal Backgrounds */
.btn-inverse {
  background-color: var(--text-white);
  color: var(--primary-teal);
  border: 1px solid var(--text-white);
}

.btn-inverse:hover {
  background-color: transparent;
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cleanup Manager Section */
.manager-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .manager-strip {
    flex-direction: row;
    gap: 4rem;
  }
}

.manager-img-clean {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-teal);
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

.manager-info-clean {
  flex: 1;
  text-align: center;
}
@media (min-width: 768px) {
  .manager-info-clean {
    text-align: left;
  }
}

/* -- Carousel Styles -- */

.carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track-wrapper {
  width: 100%;
  /* 3 Items (300px) + 2 Gaps (3rem) + 2 Side Paddings (1.5rem*2 = 3rem) */
  max-width: calc(300px * 3 + 6rem + 3rem);
  overflow: hidden;
  padding: 2rem 1.5rem 2.25rem; /* Added 1.5rem side padding as requested */
}

.carousel-track {
  display: flex;
  gap: 3rem; /* Increased gap as requested */
  /* transition: transform 0.5s ease-in-out; REMOVED to avoid conflict with GSAP */
  width: max-content; /* Allow items to define width */
  flex-wrap: nowrap; /* CRITICAL */
}

.carousel-item {
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  /* transition handled on img */
}

.carousel-item img.img-rounded {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy pleasant transition */
}

.carousel-item:hover img.img-rounded {
  /* transform: scale(1.15); REMOVED ZOOM */
  transform: none;
  box-shadow: 0 14px 28px -2px rgba(0, 140, 149, 0.55); /* Reduced shadow spread */
  z-index: 10;
}

/* -- Blurred Ottanio Arrows -- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25; /* Higher than carousel-item (10) while staying well below fixed header (999) */
  background: transparent;
  border: none;
  color: var(--primary-teal);
  font-size: 4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow:
    0 0 20px rgba(0, 140, 149, 0.8),
    0 0 40px rgba(0, 140, 149, 0.5);
  filter: drop-shadow(0 0 10px rgba(0, 140, 149, 0.6));
  opacity: 0.7;
  pointer-events: auto; /* Ensure events are captured */
}

.carousel-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
  text-shadow: 0 0 30px rgba(0, 140, 149, 1);
}

.prev-btn {
  left: 10px;
}
@media (min-width: 1200px) {
  .prev-btn {
    left: -60px;
  }
}

.next-btn {
  right: 10px;
}
@media (min-width: 1200px) {
  .next-btn {
    right: -60px;
  }
}

/* ===== CAROUSEL MOBILE (<= 899px) ===== */
/* 1 sola immagine centrale visibile, frecce ai lati (barber, tattoo, piercing, studio, pmu) */
@media (max-width: 899px) {
  .carousel-container:not(.instagram-carousel) {
    --carousel-item-size: min(270px, calc(100vw - 120px));
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-track-wrapper {
    width: var(--carousel-item-size) !important;
    max-width: var(--carousel-item-size) !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }

  .artist-grid .artist-img-col,
  .artist-grid-layout .artist-img-col {
    box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
  }

  .carousel-container:not(.instagram-carousel) .carousel-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-item {
    width: var(--carousel-item-size) !important;
    max-width: var(--carousel-item-size) !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-item img,
  .carousel-container:not(.instagram-carousel) .carousel-item img.img-rounded {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-btn {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 48px !important;
    font-size: 2.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: var(--primary-teal) !important;
    cursor: pointer !important;
    z-index: 25 !important;
    opacity: 0.9 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    touch-action: manipulation !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-btn:hover {
    transform: scale(1.15) !important;
    opacity: 1 !important;
  }

  #studio-tattoo .studio-service-header,
  #studio-barber .studio-service-header,
  #studio-tattoo .section-text,
  #studio-barber .section-text {
    margin-bottom: 0 !important;
  }

  #studio-tattoo .carousel-container,
  #studio-barber .carousel-container {
    width: fit-content !important;
    max-width: none !important;
    margin: 2rem auto !important;
  }

  #studio-tattoo .values-grid,
  #studio-barber .values-grid {
    margin-top: 0 !important;
  }
}

/* ========== WHATSAPP WIDGET ========== */
@keyframes whatsapp-pulse-teal {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 140, 149, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 140, 149, 0); /* 15px pulse as requested */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 140, 149, 0);
  }
}

.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px; /* Smaller background */
  height: 50px;
  background-color: #ffffff; /* White background */
  color: var(--primary-teal); /* Ottanio icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px; /* Larger icon */
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 50, 50, 0.6); /* Dark pulsating shadow base */
  transition: all 0.3s ease;
  animation: whatsapp-pulse-teal 2s infinite;
}

.whatsapp-widget:hover {
  transform: translateY(-5px);
  background-color: var(--accent-white);
  color: var(--primary-teal);
}

/* ========== VALUE ITEMS (Barber/Tattoo Specs) ========== */
.value-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #222;
  transition: all 0.4s ease;
  height: 100%;
}

.value-item i {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.value-item h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.value-item p {
  color: #999;
  font-size: 1rem;
  line-height: 1.6;
}

/* Hover Effect */
.value-item:hover,
.hover-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-teal);
  box-shadow: 0 10px 30px rgba(0, 140, 149, 0.15);
}

.hover-card {
  transition: all 0.4s ease !important;
}

/* --- SWITCH TO APP SECTION --- */
.switch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

#switch-app {
  background-image:
    url("images/pattern-grey.svg"),
    linear-gradient(
      90deg,
      var(--dark-teal) 0%,
      var(--primary-teal) 50%,
      var(--dark-teal) 100%
    );
  background-repeat: repeat, repeat;
  background-position: center, center;
  background-size: 600px, 600px;
  background-attachment: fixed, scroll;
}
.switch-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.switch-banner-content {
  background: var(--bg-darker);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin: 0 auto;
}
.switch-badge {
  background: var(--primary-teal);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
}
.switch-title {
  font-family: "Bebas Neue", sans-serif;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.9;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.switch-title span {
  color: var(--text-grey);
  text-decoration: line-through;
}
.switch-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--primary-teal);
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: uppercase;
}
.switch-desc {
  color: #ecf0f1;
  font-size: 1.2rem;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
}
.switch-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-switch-primary {
  padding: 18px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(22, 160, 133, 0.3);
}
.btn-switch-outline {
  padding: 18px 40px;
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ========== INSTAGRAM CAROUSEL ========== */
/* ========== INSTAGRAM CAROUSEL ========== */
.instagram-carousel {
  margin: 6rem auto;
  position: relative; /* Ensure buttons position relative to this */
  padding: 0 20px; /* Reduced padding */
  max-width: 1150px; /* Constrain width to bring arrows closer */
}

.instagram-carousel .carousel-track-wrapper {
  /* 3 Items (300px) + 2 Gaps (3rem) = 900 + 96 = 996px */
  width: 100%;
  max-width: calc(300px * 3 + 6rem);
  margin: 0 auto;
  overflow: hidden;
  padding: 1rem 0; /* Vertical padding */
}

.instagram-carousel .carousel-item {
  width: 300px; /* Increased size */
  height: 375px; /* 4:5 ratio */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  flex-shrink: 0;
}

.instagram-carousel .carousel-btn {
  color: var(--primary-teal);
  opacity: 1; /* Force visible */
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Semi-transparent background for visibility */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  z-index: 25;
}

.instagram-carousel .prev-btn {
  left: 0;
}

.instagram-carousel .next-btn {
  right: 0;
}

.instagram-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-carousel .carousel-item:hover img {
  transform: scale(1.1);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.instagram-carousel .carousel-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-teal);
  letter-spacing: 1px;
}

.instagram-overlay p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e0e0e0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Carousel Behavior */
@media (max-width: 1100px) {
  .instagram-carousel .carousel-track-wrapper {
    /* Tablet: 2 Items (300px) + 1 Gap (3rem) = 648px */
    max-width: calc(300px * 2 + 3rem);
  }
}

@media (max-width: 768px) {
  .instagram-carousel {
    padding: 0; /* Maximize space on mobile */
    max-width: 100%;
  }

  .instagram-carousel .carousel-track-wrapper {
    /* Mobile: 1 Item (300px) */
    max-width: 300px;
  }

  .instagram-carousel .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 2rem;
    background: rgba(
      0,
      0,
      0,
      0.7
    ); /* Darker background for better contrast on mobile */
  }

  .instagram-carousel .prev-btn {
    left: 5px;
  }

  .instagram-carousel .next-btn {
    right: 5px;
  }
}

/* Balanced vertical spacing for main sections */
#studio,
#founders,
#studio-tattoo,
#studio-barber,
#studio-manager,
#studio-expo,
#barberia,
#tattoo,
#piercing,
#intro,
#pricing,
#artists,
#pmu,
#blog,
#contatti,
#blog.section-blog-compact {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

#blog .section-title-wrapper,
#contatti .section-title-wrapper,
#blog.section-blog-compact .section-title-wrapper {
  margin-bottom: 2.5rem;
}

#artists .artist-block:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 900px) {
  #artists .artist-block:last-child .carousel-container {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 899px) {
  #artists .artist-block:last-child > .carousel-container:last-child {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 767px) {
  #studio,
  #founders,
  #studio-tattoo,
  #studio-barber,
  #studio-manager,
  #studio-expo,
  #barberia,
  #tattoo,
  #piercing,
  #intro,
  #pricing,
  #artists,
  #pmu,
  #blog,
  #contatti,
  #blog.section-blog-compact {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
  }

  #blog .section-title-wrapper,
  #contatti .section-title-wrapper,
  #blog.section-blog-compact .section-title-wrapper {
    margin-bottom: 1.75rem !important;
  }

  .impact-strip {
    padding: 3.5rem 1rem !important;
  }
}

/* CTA Impact Strip with Grey Pattern */
.impact-strip {
  background-color: var(--primary-teal);
  background-image: url("images/pattern-grey.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
}

/* Dark Pattern Background */
.bg-pattern-dark {
  background-image: url("images/pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
}

/* ========================================
   BLOG & ARTICLE SYSTEM STYLES
   ======================================== */

/* --- Category Filters (blog.html) --- */
.blog-filter-wrapper {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-filter-btn:hover {
  border-color: var(--primary-teal);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 140, 149, 0.25);
}

.blog-filter-btn.active {
  background: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
  box-shadow: 0 4px 15px rgba(0, 140, 149, 0.4);
}

/* Card Filtering Animation */
.blog-card.is-hidden {
  display: none !important;
}

/* Additional Blog Card Elements */
.blog-card-image {
  position: relative;
}

.blog-card-badge {
  position: static;
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 140, 149, 0.16);
  color: #00c2cc;
  border: 1px solid rgba(0, 194, 204, 0.48);
  padding: 0.22rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

/* Colori differenziati per sezione */
.blog-card[data-category="tattoo"] .blog-card-badge,
.blog-card-badge.badge-tattoo {
  background: rgba(0, 140, 149, 0.16);
  color: #00c2cc;
  border-color: rgba(0, 194, 204, 0.48);
}

.blog-card[data-category="barber"] .blog-card-badge,
.blog-card-badge.badge-barber {
  background: rgba(230, 173, 78, 0.14);
  color: #e6ad4e;
  border-color: rgba(230, 173, 78, 0.48);
}

.blog-card[data-category="piercing"] .blog-card-badge,
.blog-card-badge.badge-piercing {
  background: rgba(183, 140, 255, 0.14);
  color: #b78cff;
  border-color: rgba(183, 140, 255, 0.48);
}

.blog-card[data-category="pmu"] .blog-card-badge,
.blog-card-badge.badge-pmu {
  background: rgba(240, 141, 169, 0.14);
  color: #f08da9;
  border-color: rgba(240, 141, 169, 0.48);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-bottom: 0.6rem;
}

.blog-card-meta i {
  color: var(--primary-teal);
  vertical-align: middle;
}

/* Blog Archive & Related Grids */
.blog-grid-archive,
#blogGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .blog-grid-archive,
  #blogGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-grid-archive,
  #blogGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-articles-section .blog-grid-balanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  gap: 2rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Compact Blog Cards on Mobile (same width, full cover image visible, reduced height) */
@media (max-width: 767px) {
  .blog-card {
    min-height: 0;
  }

  .blog-card-image {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
  }

  .blog-card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .blog-card-content {
    padding: 0.75rem 1rem 0.85rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    row-gap: 0.25rem;
  }

  .blog-card .blog-card-badge {
    order: 1;
    margin-bottom: 0;
    padding: 0.15rem 0.55rem;
    font-size: 0.66rem;
  }

  .blog-card .blog-card-meta {
    order: 2;
    margin-left: auto;
    margin-bottom: 0;
    gap: 0.65rem;
    font-size: 0.74rem;
  }

  .blog-card .blog-title {
    order: 3;
    width: 100%;
    margin-top: 0.2rem;
    margin-bottom: 0.1rem !important;
    padding-top: 0.05em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-card .blog-excerpt {
    order: 4;
    width: 100%;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* Compact Hero for Blog & Article */
.hero-compact {
  padding: 9rem 0 3.5rem;
  background-color: var(--bg-darker);
  position: relative;
  text-align: center;
}

.hero-compact h1.section-title {
  line-height: 1.1;
}

.hero-compact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 140, 149, 0.4), transparent);
}

/* --- Breadcrumbs --- */
.breadcrumbs-nav {
  margin-bottom: 2rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-grey);
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.breadcrumbs a {
  color: var(--text-grey);
  transition: all var(--transition-fast);
  cursor: pointer;
  padding: 0.2rem 0;
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a:hover {
  color: var(--primary-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs .breadcrumb-current {
  color: var(--primary-teal);
  font-weight: 500;
}

/* --- Article Page Layout & Column (Max 760px) --- */
.article-section {
  padding: 8.5rem 0 6rem;
  position: relative;
}

@media (max-width: 768px) {
  .article-section {
    padding: 7.5rem 0 4.5rem;
  }
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Article Header */
.article-header {
  margin-bottom: 2.5rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 140, 149, 0.15);
  color: var(--primary-teal);
  border: 1px solid rgba(0, 140, 149, 0.4);
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
}

.article-date,
.article-read-time {
  font-size: 0.85rem;
  color: var(--text-grey);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-date i,
.article-read-time i {
  color: var(--primary-teal);
  font-size: 1rem;
}

.article-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.article-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.article-cover-wrapper {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: var(--bg-darker);
  display: block;
  transition: none !important;
  transform: none !important;
}

.article-cover-wrapper:hover .article-cover-img,
.article-cover-img:hover {
  transform: none !important;
}

.article-cover-caption {
  font-size: 0.8rem;
  color: var(--text-grey);
  padding: 0.75rem 1rem;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-style: italic;
}

/* Table of Contents (Indice dell'articolo) */
.article-toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 140, 149, 0.3);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 3rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-toc-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-white);
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-toc-title i {
  color: var(--primary-teal);
  font-size: 1.3rem;
}

.article-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-toc-list li {
  position: relative;
  padding-left: 1.25rem;
}

.article-toc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-size: 0.85rem;
}

.article-toc-list a {
  color: var(--text-light);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.article-toc-list a:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

/* Article Typography */
.article-content {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 1.75rem;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-teal);
  line-height: 1.08;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 1px;
  color: var(--text-white);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.12;
}

.article-content blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(0, 140, 149, 0.06);
  border-left: 4px solid var(--primary-teal);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-white);
  line-height: 1.7;
}

.article-content blockquote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(0, 140, 149, 0.3);
  position: absolute;
  top: -10px;
  left: 10px;
  line-height: 1;
  pointer-events: none;
}

.article-content ul,
.article-content ol {
  margin: 1.75rem 0;
  padding-left: 0;
}

.article-content ul li {
  list-style: none;
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
}

.article-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: 700;
}

.article-content ol {
  counter-reset: article-counter;
}

.article-content ol li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  counter-increment: article-counter;
}

.article-content ol li::before {
  content: counter(article-counter) ".";
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: 700;
}

.article-content strong {
  color: var(--text-white);
  font-weight: 600;
}

.article-content a {
  color: var(--primary-teal);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.article-content a:hover {
  color: var(--text-white);
}

/* Glass Booking CTA Box (coerente con .pricing-card-glass) */
.article-cta-box {
  max-width: 760px;
  margin: 4.5rem auto 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 140, 149, 0.35);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: radial-gradient(circle, var(--primary-teal) 0%, transparent 100%);
}

.article-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.article-cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 767px) {
  .article-cta-buttons .btn {
    padding: 0.72rem 1.1rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 600px) {
  .article-cta-box {
    padding: 2rem 1.25rem;
  }
  .article-cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .article-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Related Articles Section */
.related-articles-section {
  padding: 5rem 0 6rem;
  background-color: var(--bg-darker);
  position: relative;
}

/* Mobile Typography for Blog & Article Pages */
@media (max-width: 768px) {
  .article-content {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .article-content p {
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 1.35rem;
  }

  .article-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .article-content ul li,
  .article-content ol li {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0.65rem;
  }

  .article-content blockquote {
    font-size: 1rem;
    line-height: 1.65;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    margin: 1.75rem 0;
  }

  .article-faq-list p {
    font-size: 0.92rem !important;
    line-height: 1.65;
  }

  .article-toc-list a {
    font-size: 0.88rem;
  }

  .hero-compact .section-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .article-cover-caption {
    font-size: 0.75rem;
    padding: 0.6rem 0.75rem;
  }

  .article-cta-subtitle {
    font-size: 0.95rem;
  }
}


/* ========================================
   GDPR, COOKIE CONSENT, LEGAL PAGES & FORM SECURITY
   ======================================== */

/* --- Legal Pages (Privacy & Cookie Policy) --- */
.legal-page-section {
  min-height: 80vh;
}

.legal-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 140, 149, 0.35);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 1.75rem 0 2.25rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.legal-info-card ul {
  margin: 0;
}

.legal-info-card ul li:last-child {
  margin-bottom: 0;
}

.cookie-status-box {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.cookie-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-status-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--text-white);
  margin: 0 0 0.4rem 0 !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-status-heading i {
  color: var(--primary-teal);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-status-desc {
  margin: 0 !important;
  font-size: 0.95rem;
  color: var(--text-light);
}

.cookie-inline-action {
  margin: 2rem 0 2.5rem;
}

.legal-content code {
  background: rgba(0, 140, 149, 0.14);
  border: 1px solid rgba(0, 140, 149, 0.3);
  color: #7ee8ef;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.88em;
  white-space: nowrap;
}

.article-container.legal-container {
  max-width: 900px;
}

.legal-table-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 1.75rem 0 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 15, 15, 0.7);
}

.legal-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
  padding: 0.9rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-table th:nth-child(1),
.legal-table td:nth-child(1) {
  width: 24%;
}

.legal-table th:nth-child(2),
.legal-table td:nth-child(2) {
  width: 19%;
}

.legal-table th:nth-child(3),
.legal-table td:nth-child(3) {
  width: 15%;
}

.legal-table th:nth-child(4),
.legal-table td:nth-child(4) {
  width: 26%;
}

.legal-table th:nth-child(5),
.legal-table td:nth-child(5) {
  width: 16%;
}

.legal-table code {
  font-size: 0.82em;
  padding: 0.1rem 0.38rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-table th {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.8px;
  color: var(--primary-teal);
  background: rgba(0, 140, 149, 0.1);
  font-weight: 400;
}

.legal-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .legal-page-section .article-main-title,
  .legal-content h2,
  .legal-content h3 {
    text-wrap: balance;
  }

  .legal-info-card {
    padding: 1.35rem 1.2rem;
  }

  .cookie-status-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-status-heading {
    align-items: flex-start;
    font-size: 1.35rem;
    line-height: 1.15;
  }

  .cookie-status-heading i {
    margin-top: 0.08rem;
  }

  .cookie-status-box .btn,
  .cookie-inline-action .btn {
    width: 100%;
    padding: 0.72rem 0.85rem !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.15px !important;
    white-space: nowrap !important;
  }

  .cookie-status-box .btn i,
  .cookie-inline-action .btn i {
    font-size: 1rem !important;
    margin-right: 0.35rem !important;
    flex-shrink: 0;
  }

  @media (max-width: 360px) {
    .cookie-status-box .btn,
    .cookie-inline-action .btn {
      white-space: normal !important;
      text-wrap: balance;
      line-height: 1.25;
    }
  }

  .legal-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr {
    display: block;
    width: 100% !important;
    min-width: 0;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .legal-table tbody tr {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1rem;
  }

  .legal-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .legal-table tbody tr td,
  .legal-table tbody tr:last-child td:not(:last-child) {
    display: block;
    width: 100% !important;
    min-width: 0;
    padding: 0.7rem 0;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: normal;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  }

  .legal-table tbody tr td:last-child {
    border-bottom: none;
  }

  .legal-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.28rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    color: var(--primary-teal);
    line-height: 1.1;
  }

  .legal-table code {
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* --- Footer Fiscal & Legal Info --- */
.footer-legal-company {
  margin-bottom: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.footer-legal-company p {
  margin: 0.2rem 0;
}

.footer-legal-company a {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.footer-legal-company a:hover {
  opacity: 0.8;
}

.footer-visura-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* --- Preventive Blocking Placeholder (Google Maps / Third-Party Media) --- */
.map-col {
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

.cookie-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.75rem;
  text-align: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 25%, rgba(0, 140, 149, 0.18) 0%, rgba(14, 14, 14, 0.96) 70%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
  border: 1px solid rgba(0, 140, 149, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.map-wrapper .cookie-map-placeholder {
  border-radius: 0;
  border: none;
}

.cookie-map-placeholder-inner {
  max-width: 440px;
  margin: 0 auto;
}

.cookie-map-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: rgba(0, 140, 149, 0.16);
  border: 1px solid rgba(0, 140, 149, 0.45);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
}

.cookie-map-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-bottom: 0.65rem;
}

.cookie-map-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cookie-map-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cc-unlock-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  background-color: var(--primary-teal);
  color: var(--text-white);
  border: 1.5px solid var(--primary-teal);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cc-unlock-map-btn:hover {
  background-color: #00a3ad;
  border-color: #00a3ad;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 140, 149, 0.4);
}

.cc-external-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.83rem;
  color: var(--text-grey);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.cc-external-map-link:hover {
  color: var(--primary-teal);
}

@media (max-width: 767px) {
  .cookie-map-placeholder,
  .map-col {
    min-height: 320px;
  }
}

/* --- Page Lock & Patina Opaca Finché Non Si Compie Azione sui Cookie --- */
html.cc-scroll-locked,
body.cc-scroll-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.cc-interaction-locked > *:not(#aeternvmCookieBanner):not(#aeternvmCookieModal):not(#aeternvmCookieBackdrop):not(#loader) {
  pointer-events: none !important;
  user-select: none !important;
}

.cc-page-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(8, 10, 11, 0.78);
  backdrop-filter: blur(7px) grayscale(35%);
  -webkit-backdrop-filter: blur(7px) grayscale(35%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: default;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cc-page-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

@keyframes ccBannerAttention {
  0%, 100% {
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.75);
    border-top-color: rgba(0, 140, 149, 0.5);
  }
  50% {
    box-shadow: 0 -12px 45px rgba(0, 140, 149, 0.55);
    border-top-color: #00c2cc;
  }
}

.cc-banner.cc-attention-pulse {
  animation: ccBannerAttention 0.45s ease 2;
}

/* --- Garante Privacy Compliant Cookie Banner (Zero Dark Patterns) --- */
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 140, 149, 0.5);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.75);
  transform: translateY(105%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.cc-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cc-banner-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.35rem 3.5rem 1.35rem 1.75rem;
  position: relative;
}

.cc-close-x {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cc-close-x:hover,
.cc-close-x:focus-visible {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: var(--text-white);
  outline: none;
}

.cc-banner-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.cc-banner-text {
  flex: 1 1 480px;
}

.cc-banner-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  letter-spacing: 1.2px;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.cc-banner-text p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0;
}

.cc-banner-text a,
.cc-modal-intro a {
  color: #5ce1e6;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cc-banner-text a:hover,
.cc-modal-intro a:hover {
  color: var(--text-white);
}

.cc-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* 3 Pulsanti con IDENTICA importanza visiva, dimensione e contrasto */
.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--primary-teal);
  background: rgba(0, 140, 149, 0.16);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.cc-btn:hover,
.cc-btn:focus-visible {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: var(--text-white);
  transform: translateY(-1px);
  outline: none;
}

/* --- Cookie Preferences Modal --- */
.cc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cc-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cc-modal {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: #161616;
  border: 1px solid rgba(0, 140, 149, 0.45);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
}

.cc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cc-modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin: 0;
}

.cc-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.cc-modal-close:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
}

.cc-modal-body {
  padding: 1.4rem 1.6rem;
}

.cc-modal-intro {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.cc-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cc-category-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.cc-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.cc-category-name {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-white);
  display: inline-block;
  margin: 0 0.6rem 0 0;
}

.cc-badge-always {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  background: rgba(0, 140, 149, 0.2);
  border: 1px solid rgba(0, 140, 149, 0.45);
  color: #7ee8ef;
}

.cc-category-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-grey);
  margin: 0;
}

/* Toggle Switch */
.cc-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cc-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  transition: 0.25s ease;
}

.cc-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-white);
  border-radius: 50%;
  transition: 0.25s ease;
}

.cc-switch input:checked + .cc-slider {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.cc-switch input:checked + .cc-slider::before {
  transform: translateX(22px);
}

.cc-slider-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cc-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cc-modal-footer .cc-btn {
  flex: 1 1 140px;
}

@media (max-width: 767px) {
  .cc-banner-container {
    padding: 1.25rem 1.15rem 1.15rem;
  }

  .cc-banner-title {
    padding-right: 2.2rem;
  }

  .cc-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
  }

  .cc-banner-actions .cc-btn,
  .cc-modal-footer .cc-btn {
    width: 100%;
    min-width: 100%;
    flex: none;
  }

  .cc-modal-body,
  .cc-modal-header,
  .cc-modal-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

/* --- Contact Form GDPR & Anti-Spam Honeypot --- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-privacy-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-privacy-notice {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-grey);
  margin-bottom: 0.85rem;
}

.form-privacy-notice a,
.form-privacy-check label a {
  color: var(--primary-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-privacy-notice a:hover,
.form-privacy-check label a:hover {
  color: var(--text-white);
}

.form-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-form input[type="checkbox"].form-privacy-checkbox {
  width: 19px !important;
  height: 19px !important;
  padding: 0 !important;
  margin: 0.15rem 0 0 0 !important;
  accent-color: var(--primary-teal);
  cursor: pointer;
  flex-shrink: 0;
}

.form-privacy-check label {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-light);
  cursor: pointer;
}

.form-feedback-msg {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-feedback-msg.is-success {
  display: block;
  background: rgba(0, 140, 149, 0.16);
  border: 1px solid var(--primary-teal);
  color: var(--text-white);
}

.form-feedback-msg.is-error {
  display: block;
  background: rgba(220, 53, 69, 0.14);
  border: 1px solid rgba(220, 53, 69, 0.65);
  color: #ffb3bc;
}

/* Riquadro Telefono (contatti.html): doppia riga Chiama + WhatsApp */
.contact-phone-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.contact-card .contact-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card .contact-phone-link:hover {
  color: var(--text-white);
  transform: translateX(2px);
}

.contact-card .contact-phone-link i.contact-inline-icon {
  font-size: 1.15rem !important;
  margin-bottom: 0 !important;
  color: var(--primary-teal);
  line-height: 1;
}

/* Centratura e stato disabilitato del bottone invio form (Desktop & Mobile) */
.contact-submit-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.contact-submit-btn {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.contact-submit-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}


/* ========================================
   IMPACT STRIP CTA BUTTONS - "INK CAPSULE"
   ======================================== */
.impact-strip-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.btn-strip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 215px;
  height: 56px;
  padding: 6px 28px 6px 6px;
  border-radius: 999px;
  clip-path: inset(0 round 999px);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.btn-strip:hover {
  transform: translateY(-3px);
}

/* Capsula circolare incastonata a sinistra + goccia d'inchiostro espandibile */
.btn-capsule-orb {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.btn-capsule-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn-strip:hover .btn-capsule-orb::before {
  transform: scale(14);
}

.btn-strip-icon {
  position: relative;
  z-index: 2;
  font-size: 1.28rem;
  line-height: 1;
  transition: color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-strip-svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.btn-strip:hover .btn-strip-icon {
  transform: scale(1.1);
}

.btn-capsule-label {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding-left: 0.65rem;
  transition: color 0.35s ease;
}

/* 1. Primario ("SCRIVICI"): Nero Satinato con Capsula Avorio che si espande */
.btn-capsule-primary {
  background-color: #111314;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.btn-capsule-primary .btn-capsule-orb::before {
  background-color: #fdfdf8;
}

.btn-capsule-primary .btn-strip-icon {
  color: #0d1112;
}

.btn-capsule-primary .btn-capsule-label {
  color: #ffffff;
}

.btn-capsule-primary:hover {
  border-color: #fdfdf8;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48);
}

.btn-capsule-primary:hover .btn-capsule-label,
.btn-capsule-primary:hover .btn-strip-icon {
  color: #0d1112;
}

/* 2. Secondario ("CHIAMACI"): Ottanio Scuro/Vetro con Capsula Nera che si espande come inchiostro */
.btn-capsule-secondary {
  background-color: rgba(0, 42, 46, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-capsule-secondary .btn-capsule-orb::before {
  background-color: #111314;
}

.btn-capsule-secondary .btn-strip-icon {
  color: #ffffff;
}

.btn-capsule-secondary .btn-capsule-label {
  color: #ffffff;
}

.btn-capsule-secondary:hover {
  border-color: #111314;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.btn-capsule-secondary:hover .btn-capsule-label,
.btn-capsule-secondary:hover .btn-strip-icon {
  color: #ffffff;
}

@media (max-width: 767px) {
  .impact-strip-ctas {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    max-width: 248px;
    margin: 0 auto;
  }

  .btn-strip {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 4px 16px 4px 4px;
    font-size: 0.68rem;
    letter-spacing: 0.9px;
  }

  .btn-capsule-orb {
    width: 32px;
    height: 32px;
  }

  .btn-strip-icon {
    font-size: 0.98rem;
  }

  .btn-strip-svg {
    width: 15px;
    height: 15px;
  }

  .btn-capsule-label {
    padding-left: 0.4rem;
    white-space: nowrap;
  }
}

/* ========================================
   INTRO SINGLE-PHOTO AUTO SLIDER (4 PHOTOS / 1.7s)
   ======================================== */
.intro-slider {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-studio .studio-image.intro-slider {
  width: 100%;
  height: 420px;
  max-height: 450px;
  align-self: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

#intro .intro-image-wrapper.intro-slider {
  width: 100%;
  height: 430px;
  max-height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px -4px rgba(0, 140, 149, 0.35);
}

.intro-slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.intro-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-slider .intro-slide img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

@media (max-width: 899px) {
  #intro .intro-image-wrapper.intro-slider {
    height: 270px;
    max-height: 280px;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .section-studio .studio-image.intro-slider {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
}

/* ========================================
   STUDIO MONTHLY ARTIST EXHIBITION (#studio-expo)
   ======================================== */
.expo-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 140, 149, 0.34);
  border-radius: 22px;
  padding: 3.75rem 3.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  isolation: isolate;
}

.expo-frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-teal) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.expo-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.expo-manifesto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 140, 149, 0.14);
  border: 1px solid rgba(0, 140, 149, 0.42);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7ee8ef;
  margin-bottom: 1.25rem;
}

.expo-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00c2cc;
  box-shadow: 0 0 10px rgba(0, 194, 204, 0.9);
  flex-shrink: 0;
}

.expo-heading-group {
  margin-bottom: 1.25rem;
}

.expo-heading-group .section-title {
  margin-bottom: 0.25rem;
  line-height: 1.05;
}

.expo-heading-group .section-subtitle {
  margin-top: 0.25rem;
}

.expo-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.expo-lead strong {
  color: var(--accent-white);
}

.expo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.expo-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.expo-step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--primary-teal);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.expo-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.expo-step-text strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-white);
  line-height: 1.25;
}

.expo-step-text span {
  font-size: 0.78rem;
  color: var(--text-grey);
  line-height: 1.4;
}

.expo-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.expo-cta-note {
  font-size: 0.82rem;
  color: var(--text-grey);
  margin: 0;
}

/* Right Column: Exhibition Mediums Wall */
.expo-gallery-wall {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expo-edition-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.expo-edition-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-grey);
  white-space: nowrap;
  line-height: 1;
}

.expo-edition-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  line-height: 1;
  color: var(--accent-white);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 140, 149, 0.22);
  border: 1px solid rgba(0, 140, 149, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

.expo-mediums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.expo-medium-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.expo-medium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 140, 149, 0.65);
  box-shadow: 0 12px 28px rgba(0, 140, 149, 0.16);
}

.expo-medium-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.expo-medium-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 140, 149, 0.12);
  border: 1px solid rgba(0, 140, 149, 0.32);
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.expo-medium-card:hover .expo-medium-icon {
  background: var(--primary-teal);
  color: var(--accent-white);
}

.expo-medium-index {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
}

.expo-medium-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 1.2px;
  color: var(--accent-white);
  margin-bottom: 0.35rem;
  line-height: 1.08;
}

.expo-medium-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-grey);
  margin: 0;
}

@media (max-width: 959px) {
  .expo-frame {
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
  }

  .expo-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
  }

  .expo-manifesto {
    display: contents;
  }

  .expo-kicker {
    order: 1;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
    padding: 0.38rem 0.8rem;
    margin-bottom: 1rem;
  }

  .expo-heading-group {
    order: 2;
    text-align: center;
    width: 100%;
    margin-bottom: 1.15rem;
  }

  .expo-lead {
    order: 3;
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
    margin-bottom: 1.75rem;
    max-width: 620px;
  }

  .expo-gallery-wall {
    order: 4;
    width: 100%;
    margin-bottom: 1.75rem;
  }

  .expo-steps {
    order: 5;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.15rem 0;
    margin-bottom: 1.75rem;
    text-align: left;
    max-width: 420px;
  }

  .expo-cta-wrap {
    order: 6;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .expo-cta-wrap .btn {
    padding: 0.72rem 1.2rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.3px !important;
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .expo-frame {
    padding: 2rem 1.15rem;
  }

  .expo-edition-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
  }

  .expo-edition-label {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .expo-edition-badge {
    font-size: 0.94rem;
    letter-spacing: 0.8px;
    padding: 0.28rem 0.55rem;
  }

  .expo-mediums-grid {
    gap: 0.75rem;
  }

  .expo-medium-card {
    padding: 1.1rem 0.95rem;
    text-align: left;
  }

  .expo-medium-top {
    margin-bottom: 0.75rem;
  }

  .expo-medium-icon {
    width: 36px;
    height: 36px;
  }

  .expo-medium-icon svg {
    width: 19px;
    height: 19px;
  }

  .expo-medium-title {
    font-size: 1.2rem;
  }

  .expo-medium-desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* ========================================
   WALK-IN THURSDAY SECTION (tattoo.html)
   ======================================== */
.walkin-section {
  background-color: var(--dark-teal) !important;
  background-image: url("images/pattern-grey.svg");
  background-repeat: repeat;
  background-size: 600px;
  background-attachment: fixed;
  background-position: center;
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.walkin-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(0, 28, 31, 0.32) 80%
  );
  pointer-events: none;
}

.walkin-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.walkin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(11, 13, 14, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-white);
  white-space: nowrap;
  margin-bottom: 1.15rem;
}

.walkin-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5ce1e6;
  box-shadow: 0 0 12px rgba(92, 225, 230, 0.95);
  flex-shrink: 0;
}

.walkin-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  letter-spacing: 4px;
  line-height: 0.98;
  color: var(--accent-white);
  margin-bottom: 1.1rem;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.walkin-schedule-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.85rem;
  padding: 0.65rem 1.75rem;
  border-radius: 12px;
  background: #0d1112;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.85rem;
  white-space: nowrap;
}

.walkin-day {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  letter-spacing: 2.5px;
  line-height: 1;
  color: var(--accent-white);
}

.walkin-sep {
  color: var(--primary-teal);
  font-size: 1.25rem;
  line-height: 1;
}

.walkin-hours {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  letter-spacing: 2px;
  line-height: 1;
  color: #5ce1e6;
}

.walkin-desc {
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(253, 253, 248, 0.9);
  max-width: 760px;
  margin: 0 auto 2.75rem;
}

.walkin-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.walkin-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  width: 100%;
}

.walkin-spec-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(11, 14, 15, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.walkin-spec-card:hover {
  transform: translateY(-3px);
  background: rgba(11, 14, 15, 0.72);
  border-color: rgba(255, 255, 255, 0.42);
}

.walkin-spec-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 140, 149, 0.22);
  border: 1px solid rgba(92, 225, 230, 0.42);
  color: #7ee8ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.walkin-spec-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.walkin-spec-body strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1.3px;
  line-height: 1.1;
  color: var(--accent-white);
}

.walkin-spec-body span {
  font-size: 0.83rem;
  line-height: 1.4;
  color: rgba(253, 253, 248, 0.76);
}

@media (max-width: 899px) {
  .walkin-section {
    padding: 3.75rem 0;
  }

  .walkin-specs {
    grid-template-columns: 1fr;
    max-width: 460px;
    gap: 0.85rem;
  }

  .walkin-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .walkin-pill {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    padding: 0.4rem 0.85rem;
  }

  .walkin-schedule-banner {
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    max-width: 100%;
  }

  .walkin-day,
  .walkin-hours {
    font-size: 1.12rem;
    letter-spacing: 1.2px;
  }

  .walkin-spec-card {
    padding: 1rem 1.1rem;
  }
}



/* ==========================================================================
   THEME TOGGLE BUTTON (HEADER) & LIGHT MODE (html[data-theme="light"])
   Zero regressions: default Dark Mode rules above remain 100% untouched.
   ========================================================================== */

/* --- Pulsante Toggle Tema (Sole / Luna) nell'Header --- */
.theme-toggle-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent-white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.theme-toggle-btn:hover {
  background-color: rgba(0, 140, 149, 0.22);
  border-color: var(--primary-teal);
  color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0, 140, 149, 0.38);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

/* In modalità scura (default): mostra il Sole, nascondi la Luna */
.theme-toggle-btn .theme-icon-sun {
  display: block;
}

.theme-toggle-btn .theme-icon-moon {
  display: none;
}

/* ==========================================================================
   DARK MODE UNIFORME (#111111 + pattern.svg) — TUTTE LE PAGINE E TUTTE LE HERO
   ========================================================================== */

html:not([data-theme="light"]).intro-mask,
html:not([data-theme="light"]).intro-mask body {
  background: #111111 !important;
  background-color: #111111 !important;
}

html:not([data-theme="light"]) .loader {
  background-color: #111111;
}

html:not([data-theme="light"]) .loader.is-splitting {
  background-color: transparent;
}

html:not([data-theme="light"]) .loader-half {
  background: #111111;
}

html:not([data-theme="light"]) body {
  background-color: #111111;
  background-image: url("images/pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
}

html:not([data-theme="light"]) ::-webkit-scrollbar-track {
  background: #111111;
}

html:not([data-theme="light"]) ::-webkit-scrollbar-thumb {
  border-color: #111111;
}

/* Tutte le sezioni e tutte le Hero in modalità scura: #111111 + pattern.svg senza foto */
html:not([data-theme="light"]) :where(.main, main) > section:not(:where(.instagram-strip, .impact-strip, .walkin-section, #switch-app)),
html:not([data-theme="light"]) .section-dark,
html:not([data-theme="light"]) .section-lightdark,
html:not([data-theme="light"]) #barberia,
html:not([data-theme="light"]) #piercing,
html:not([data-theme="light"]) #blog,
html:not([data-theme="light"]) #studio,
html:not([data-theme="light"]) #founders,
html:not([data-theme="light"]) #studio-tattoo,
html:not([data-theme="light"]) #studio-barber,
html:not([data-theme="light"]) #studio-manager,
html:not([data-theme="light"]) #studio-expo,
html:not([data-theme="light"]) #intro,
html:not([data-theme="light"]) #artists,
html:not([data-theme="light"]) #contatti,
html:not([data-theme="light"]) .pricing-section,
html:not([data-theme="light"]) .pricing-section-premium,
html:not([data-theme="light"]) .store-selection-section,
html:not([data-theme="light"]) .store-studio-banner-section,
html:not([data-theme="light"]) .hero-compact,
html:not([data-theme="light"]) .article-section,
html:not([data-theme="light"]) .related-articles-section,
html:not([data-theme="light"]) .legal-page-section,
html:not([data-theme="light"]) .error-404-stage,
html:not([data-theme="light"]) .hero,
html:not([data-theme="light"]) .hero-studio,
html:not([data-theme="light"]) .hero-tattoo,
html:not([data-theme="light"]) .hero-barber,
html:not([data-theme="light"]) .hero-piercing,
html:not([data-theme="light"]) .hero-contact,
html:not([data-theme="light"]) .store-hero {
  background-color: #111111 !important;
  background-image: url("images/pattern.svg") !important;
  background-repeat: repeat !important;
  background-position: center !important;
  background-size: 600px !important;
  background-attachment: fixed !important;
}

/* Rimuove gli overlay opachi dalle Hero e dalla 404 così il pattern su #111111 resta visibile */
html:not([data-theme="light"]) .hero-overlay,
html:not([data-theme="light"]) .hero-studio::after,
html:not([data-theme="light"]) .hero-tattoo::after,
html:not([data-theme="light"]) .hero-barber::after,
html:not([data-theme="light"]) .hero-piercing::after,
html:not([data-theme="light"]) .store-hero .store-hero-overlay,
html:not([data-theme="light"]) .error-404-stage::before {
  background: transparent !important;
}

/* Card unificate in modalità scura: stessa trasparenza (rgba(255, 255, 255, 0.03), zero blur) */
html:not([data-theme="light"]) .value-item,
html:not([data-theme="light"]) .pricing-card-glass,
html:not([data-theme="light"]) .store-card,
html:not([data-theme="light"]) .store-studio-box,
html:not([data-theme="light"]) .contact-card,
html:not([data-theme="light"]) .parking-panel,
html:not([data-theme="light"]) .cookie-map-placeholder,
html:not([data-theme="light"]) .form-privacy-box,
html:not([data-theme="light"]) .expo-frame,
html:not([data-theme="light"]) .expo-medium-card,
html:not([data-theme="light"]) .expo-edition-bar {
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html:not([data-theme="light"]) .pricing-bg-decor {
  display: none;
}

html:not([data-theme="light"]) .error-needle-diamond {
  background: #111111;
}

html:not([data-theme="light"]) .main > hr,
html:not([data-theme="light"]) hr {
  background-color: #111111 !important;
}

/* ==========================================================================
   LIGHT MODE — STRETTAMENTE ISOLATA SOTTO html[data-theme="light"]
   Sfondo Unico Uniforme (#eae6dc + pattern) su tutte le pagine e sezioni
   Footer preservato al 100% nella versione notturna originale.
   ========================================================================== */

html[data-theme="light"] {
  color-scheme: light;
  --cursor-day-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 2L3 18.5L7.4 14.3L10.2 20.6L12.6 19.5L9.8 13.2L15.8 13.2Z' fill='%23000000' stroke='%23ffffff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, default;
  --cursor-day-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 3.5a1.5 1.5 0 0 1 3 0V9.5a1.4 1.4 0 0 1 2.8 0v.8a1.35 1.35 0 0 1 2.7 0v1a1.25 1.25 0 0 1 2.5 0v4.2c0 3.7-2.2 6-5.8 6h-2.8c-2.6 0-4.2-1.4-5.6-3.7L2.5 14a1.35 1.35 0 0 1 3.2-1.8L8 14.2V3.5Z' fill='%23000000' stroke='%23ffffff' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M11 9.5v3M13.8 10.3v2.7M16.5 11.3v2.4' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E") 9 2, pointer;
  cursor: var(--cursor-day-default);
}

html[data-theme="light"] body,
html[data-theme="light"] .cc-page-backdrop {
  cursor: var(--cursor-day-default);
}

html[data-theme="light"] :is(
  a[href],
  button:not(:disabled):not(.is-locked),
  [role="button"],
  summary,
  select,
  label[for],
  input[type="checkbox"]:not(:disabled),
  input[type="radio"]:not(:disabled),
  input[type="submit"]:not(:disabled):not(.is-locked),
  input[type="button"]:not(:disabled),
  .btn:not(:disabled):not(.is-locked),
  .btn-barber-rectangular,
  .hamburger,
  .blog-card,
  .gallery-item,
  .carousel-btn,
  .whatsapp-widget,
  .instagram-overlay,
  .blog-filter-btn,
  .cc-manage-btn,
  .cc-close-x,
  .cc-btn,
  .cc-modal-close,
  .cc-slider:not(.cc-slider-disabled),
  .form-privacy-check label,
  .impact-pill-btn,
  .theme-toggle-btn
) {
  cursor: var(--cursor-day-pointer);
}

@media (max-width: 899px) {
  html[data-theme="light"] .carousel-container:not(.instagram-carousel) .carousel-btn {
    cursor: var(--cursor-day-pointer) !important;
  }
}

html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html[data-theme="light"] textarea {
  caret-color: #000000;
}

/* In modalità chiara: mostra la Luna, nascondi il Sole */
html[data-theme="light"] .theme-toggle-btn .theme-icon-sun {
  display: none;
}

html[data-theme="light"] .theme-toggle-btn .theme-icon-moon {
  display: block;
}

/* --- 0. Preloader / Loader Adattivo Giorno (#eae6dc Uniforme, Zero Flash) --- */
html[data-theme="light"].intro-mask,
html[data-theme="light"].intro-mask body {
  background: #eae6dc !important;
  background-color: #eae6dc !important;
}

html[data-theme="light"] .loader {
  background-color: #eae6dc;
}

html[data-theme="light"] .loader.is-splitting {
  background-color: transparent;
}

html[data-theme="light"] .loader-half {
  background: #eae6dc;
}

html[data-theme="light"] .loader-wordmark {
  color: #181818;
}

html[data-theme="light"] .loader-blade {
  background: linear-gradient(
    90deg,
    rgba(0, 140, 149, 0.14) 0%,
    #004d52 40%,
    #008c95 82%,
    #00c2cc 100%
  );
  box-shadow:
    0 0 12px rgba(0, 140, 149, 0.6),
    0 0 26px rgba(0, 140, 149, 0.4);
}

/* --- 1. Sfondo Unico Uniforme (#eae6dc) per Tutte le Pagine e Tutte le Sezioni --- */
html[data-theme="light"] body {
  background-color: #eae6dc;
  background-image: url("images/pattern.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
  color: #181818;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #eae6dc;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: var(--primary-teal);
  border: 2px solid #eae6dc;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: var(--dark-teal);
}

html[data-theme="light"] ::selection {
  background-color: rgba(0, 140, 149, 0.22);
  color: #181818;
}

/* Tutte le sezioni della modalità giorno usano lo stesso identico #eae6dc + pattern senza stacchi */
html[data-theme="light"] :where(.main, main) > section:not(:where(.instagram-strip, .impact-strip, .walkin-section, #switch-app)),
html[data-theme="light"] .section-dark,
html[data-theme="light"] .section-lightdark,
html[data-theme="light"] #barberia,
html[data-theme="light"] #piercing,
html[data-theme="light"] #blog,
html[data-theme="light"] #studio-tattoo,
html[data-theme="light"] #studio-barber,
html[data-theme="light"] #studio-manager,
html[data-theme="light"] #studio-expo,
html[data-theme="light"] .pricing-section,
html[data-theme="light"] .pricing-section-premium,
html[data-theme="light"] .store-selection-section,
html[data-theme="light"] .store-studio-banner-section,
html[data-theme="light"] .hero-compact,
html[data-theme="light"] .article-section,
html[data-theme="light"] .related-articles-section,
html[data-theme="light"] .legal-page-section,
html[data-theme="light"] .error-404-stage {
  background-color: #eae6dc !important;
  background-image: url("images/pattern.svg") !important;
  background-repeat: repeat !important;
  background-position: center !important;
  background-size: 600px !important;
  background-attachment: fixed !important;
}

html[data-theme="light"] .pricing-bg-decor {
  display: none;
}

html[data-theme="light"] .main > hr,
html[data-theme="light"] hr {
  background-color: #eae6dc !important;
}

html[data-theme="light"] .section-switch-app {
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.06);
}

/* Titoli (#181818) e testi secondari (#4d4a44) */
html[data-theme="light"] .section-title,
html[data-theme="light"] .contact-item h3 {
  color: #181818;
}

html[data-theme="light"] .section-text,
html[data-theme="light"] .intro-text .intro-desc,
html[data-theme="light"] #intro .intro-text p,
html[data-theme="light"] .contact-item p,
html[data-theme="light"] .values-list li {
  color: #4d4a44;
}

html[data-theme="light"] .section-subtitle {
  color: #0d7a82;
}

/* --- 2. Header Glassmorphism (Vetro Sfocato su base #eae6dc), Navbar & Mobile Menu --- */
html[data-theme="light"] .header,
html[data-theme="light"] .header.scrolled {
  background-color: rgba(234, 230, 220, 0.48);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .header-logo {
  color: #181818;
}

html[data-theme="light"] .header-logo:hover {
  color: var(--primary-teal);
}

html[data-theme="light"] .nav-link {
  color: #181818;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active-link {
  color: var(--primary-teal);
}

html[data-theme="light"] .nav-store-btn {
  background-color: rgba(0, 140, 149, 0.06);
  box-shadow: 0 2px 10px rgba(0, 140, 149, 0.14);
}

html[data-theme="light"] .nav-store-btn:hover,
html[data-theme="light"] .nav-store-btn.active-store {
  background-color: var(--primary-teal);
}

html[data-theme="light"] .nav-store-btn:not(:hover):not(.active-store) .store-icon-wrapper img {
  filter: none;
}

html[data-theme="light"] .dropdown-menu {
  background-color: rgba(244, 241, 234, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .dropdown-link {
  color: #181818;
}

html[data-theme="light"] .dropdown-link.active-link {
  color: var(--primary-teal);
  font-weight: 600;
}

html[data-theme="light"] .dropdown-link:hover {
  background-color: var(--primary-teal);
  color: #ffffff;
}

html[data-theme="light"] .header-instagram-btn,
html[data-theme="light"] .theme-toggle-btn {
  background-color: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.12);
  color: #181818;
}

html[data-theme="light"] .header-instagram-btn:hover,
html[data-theme="light"] .theme-toggle-btn:hover {
  background-color: rgba(0, 140, 149, 0.12);
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  box-shadow: 0 5px 16px rgba(0, 140, 149, 0.22);
}

html[data-theme="light"] .header-call-btn {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
}

html[data-theme="light"] .header-call-btn:hover {
  background-color: #f4f1ea;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

html[data-theme="light"] .hamburger-line {
  background-color: #181818;
}

html[data-theme="light"] .mobile-menu {
  background-color: rgba(234, 230, 220, 0.95);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

html[data-theme="light"] .mobile-nav-link {
  color: #181818;
}

html[data-theme="light"] .mobile-nav-link:hover,
html[data-theme="light"] .mobile-nav-link.active-link {
  color: var(--primary-teal);
}

/* --- 3. Sezioni Hero Uniformi (#eae6dc + pattern, zero cambi di tono) --- */
html[data-theme="light"] .hero,
html[data-theme="light"] .hero-studio,
html[data-theme="light"] .hero-tattoo,
html[data-theme="light"] .hero-barber,
html[data-theme="light"] .hero-piercing,
html[data-theme="light"] .hero-contact,
html[data-theme="light"] .store-hero {
  background-color: #eae6dc !important;
  background-image: url("images/pattern.svg") !important;
  background-repeat: repeat !important;
  background-position: center !important;
  background-size: 600px !important;
  background-attachment: fixed !important;
}

html[data-theme="light"] .hero-overlay,
html[data-theme="light"] .hero-studio::after,
html[data-theme="light"] .hero-tattoo::after,
html[data-theme="light"] .hero-barber::after,
html[data-theme="light"] .hero-piercing::after,
html[data-theme="light"] .store-hero .store-hero-overlay {
  background: transparent !important;
}

html[data-theme="light"] .hero-content {
  color: #181818;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .store-hero .store-hero-title {
  color: #181818;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .store-hero .store-hero-subtitle {
  color: #4d4a44;
}

html[data-theme="light"] .hero-subtitle strong {
  color: #181818;
}

html[data-theme="light"] .store-hero .store-badge {
  color: #0b5d63;
  background: rgba(0, 140, 149, 0.1);
  border-color: rgba(0, 140, 149, 0.36);
}

/* Protezione fasce brand Ottanio / Teal e overlay fotografici (testi restano bianchi) */
html[data-theme="light"] .impact-strip,
html[data-theme="light"] .impact-strip h2,
html[data-theme="light"] .impact-strip p,
html[data-theme="light"] .instagram-strip,
html[data-theme="light"] .ig-strip-bar,
html[data-theme="light"] .ig-strip-heading,
html[data-theme="light"] .walkin-section,
html[data-theme="light"] .walkin-title,
html[data-theme="light"] .gallery-hover,
html[data-theme="light"] .instagram-overlay,
html[data-theme="light"] .artist-overlay h3 {
  color: #ffffff;
}

/* --- 4. Bottoni e Stati Interattivi (Ottanio Preservato) --- */
html[data-theme="light"] .btn-secondary-outline {
  border: 2px solid var(--primary-teal) !important;
  box-shadow: 0 6px 20px rgba(0, 140, 149, 0.16);
}

html[data-theme="light"] .btn-secondary-outline:hover {
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 140, 149, 0.3);
}

html[data-theme="light"] .btn-small {
  color: #0f766e;
  border-color: var(--primary-teal);
}

html[data-theme="light"] .btn-small:hover {
  background-color: var(--primary-teal);
  color: #ffffff;
}

html[data-theme="light"] .btn-store-glass {
  color: #181818;
  background: rgba(249, 247, 242, 0.85);
  border: 1.5px solid rgba(20, 20, 20, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .btn-store-glass:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 140, 149, 0.28);
}

html[data-theme="light"] .btn-store-glass:hover i {
  color: #ffffff !important;
}

/* --- 5. Card, Box e Superfici in Rilievo --- */
html[data-theme="light"] .staff-card,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .jewelry-item,
html[data-theme="light"] .artist-card-aggr,
html[data-theme="light"] .article-toc,
html[data-theme="light"] .article-cta-box,
html[data-theme="light"] .legal-info-card {
  background: rgba(249, 247, 242, 0.85);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Trasparenza unificata Giorno (rgba(255, 255, 255, 0.32), zero blur) per Valori, Listini, Store, Contatti e Mostre */
html[data-theme="light"] .value-item,
html[data-theme="light"] .pricing-card-glass,
html[data-theme="light"] .store-card,
html[data-theme="light"] .store-studio-box,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .parking-panel,
html[data-theme="light"] .cookie-map-placeholder,
html[data-theme="light"] .form-privacy-box,
html[data-theme="light"] .expo-frame,
html[data-theme="light"] .expo-medium-card,
html[data-theme="light"] .expo-edition-bar {
  background: rgba(255, 255, 255, 0.32) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .pricing-card-glass,
html[data-theme="light"] .store-studio-box,
html[data-theme="light"] .expo-frame,
html[data-theme="light"] .article-toc,
html[data-theme="light"] .article-cta-box,
html[data-theme="light"] .legal-info-card {
  border-color: rgba(0, 140, 149, 0.25);
}

html[data-theme="light"] .parking-panel {
  border-left: 3px solid var(--primary-teal);
}

html[data-theme="light"] .blog-card:hover,
html[data-theme="light"] .value-item:hover,
html[data-theme="light"] .jewelry-item:hover,
html[data-theme="light"] .store-card:hover,
html[data-theme="light"] .contact-card:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 12px 30px rgba(0, 140, 149, 0.16);
}

html[data-theme="light"] .staff-name,
html[data-theme="light"] .value-item h4,
html[data-theme="light"] .jewelry-item h3,
html[data-theme="light"] .jewelry-item h4,
html[data-theme="light"] .artist-details h3,
html[data-theme="light"] .artist-name,
html[data-theme="light"] .artist-name-title,
html[data-theme="light"] #artists .artist-info-col h3,
html[data-theme="light"] #artists .artist-name-title {
  color: #181818 !important;
}

html[data-theme="light"] .staff-role,
html[data-theme="light"] .value-item p,
html[data-theme="light"] .jewelry-item p,
html[data-theme="light"] .artist-details p,
html[data-theme="light"] .artist-bio,
html[data-theme="light"] .artist-desc-para,
html[data-theme="light"] #artists .artist-info-col p,
html[data-theme="light"] #artists .artist-desc-para {
  color: #4d4a44 !important;
}

html[data-theme="light"] .staff-social,
html[data-theme="light"] .artist-role,
html[data-theme="light"] .artist-role-subtitle,
html[data-theme="light"] #artists .artist-info-col h4,
html[data-theme="light"] #artists .artist-role-subtitle {
  color: #0d7a82 !important;
}

/* Immagini Studio / Intro / Artisti / Caroselli (nessun filtro, ombra ottanio morbida) */
html[data-theme="light"] .staff-card,
html[data-theme="light"] .studio-image,
html[data-theme="light"] .section-studio .studio-image.intro-slider,
html[data-theme="light"] #intro .intro-image-wrapper.intro-slider,
html[data-theme="light"] .founders-img,
html[data-theme="light"] .manager-img-clean,
html[data-theme="light"] .artist-portrait,
html[data-theme="light"] .artist-profile-img,
html[data-theme="light"] #artists .artist-img-col img,
html[data-theme="light"] .carousel-item img.img-rounded,
html[data-theme="light"] .img-rounded {
  box-shadow: 0 12px 26px -4px rgba(0, 140, 149, 0.28);
}

@media (max-width: 899px) {
  html[data-theme="light"] .carousel-container:not(.instagram-carousel) .carousel-track-wrapper {
    box-shadow: 0 12px 26px -4px rgba(0, 140, 149, 0.28) !important;
  }

  html[data-theme="light"] .artist-grid .artist-img-col,
  html[data-theme="light"] .artist-grid-layout .artist-img-col {
    box-shadow: 0 12px 26px -4px rgba(0, 140, 149, 0.28);
  }
}

html[data-theme="light"] .carousel-btn {
  text-shadow: none;
  filter: drop-shadow(0 3px 10px rgba(0, 140, 149, 0.28));
}

html[data-theme="light"] .instagram-carousel .carousel-btn {
  background: rgba(249, 247, 242, 0.9);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: var(--primary-teal);
}

/* --- 6. Listini Prezzi Glass (barber.html, piercing.html, pmu.html) --- */
html[data-theme="light"] .pricing-col-header {
  color: var(--primary-teal);
  border-bottom-color: rgba(20, 20, 20, 0.1);
}

html[data-theme="light"] .pricing-item-row {
  border-bottom-color: rgba(20, 20, 20, 0.12);
}

html[data-theme="light"] .pricing-item-row:hover {
  border-bottom-color: var(--primary-teal);
}

html[data-theme="light"] .pricing-item-title {
  color: #181818;
}

html[data-theme="light"] .pricing-item-desc,
html[data-theme="light"] .pricing-desc-text {
  color: #4d4a44;
}

html[data-theme="light"] .pricing-item-price {
  background-color: rgba(0, 140, 149, 0.1);
  color: #0b5d63;
  border: 1px solid rgba(0, 140, 149, 0.3);
  box-shadow: 0 2px 6px rgba(0, 140, 149, 0.06);
}

html[data-theme="light"] .pricing-card-glass div[style*="height: 1px"] {
  background: rgba(20, 20, 20, 0.1) !important;
}

html[data-theme="light"] .btn-barber-rectangular {
  color: #181818;
  background-color: rgba(249, 247, 242, 0.75);
  border-color: var(--primary-teal);
}

html[data-theme="light"] .btn-barber-rectangular:hover {
  color: #ffffff;
}

/* --- 7. Studio Page: Founders, Manager & Expo (#studio-expo) --- */
html[data-theme="light"] .founders-text blockquote {
  color: #181818;
}

html[data-theme="light"] .manager-card {
  background: rgba(249, 247, 242, 0.85);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] #studio-manager .section-text {
  color: #4d4a44 !important;
}

html[data-theme="light"] .value-col-tattoo {
  background-color: #eae6dc;
  border-right-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .value-col-barber,
html[data-theme="light"] .bg-darker {
  background-color: #eae6dc;
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .expo-frame {
  border: 1px solid rgba(0, 140, 149, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .expo-kicker {
  background: rgba(0, 140, 149, 0.1);
  border-color: rgba(0, 140, 149, 0.35);
  color: #0f766e;
}

html[data-theme="light"] .expo-lead {
  color: #4d4a44;
}

html[data-theme="light"] .expo-lead strong,
html[data-theme="light"] .expo-step-text strong,
html[data-theme="light"] .expo-medium-title {
  color: #181818;
}

html[data-theme="light"] .expo-step-text span,
html[data-theme="light"] .expo-cta-note,
html[data-theme="light"] .expo-medium-desc,
html[data-theme="light"] .expo-edition-label {
  color: #4d4a44;
}

html[data-theme="light"] .expo-steps {
  border-top-color: rgba(20, 20, 20, 0.08);
  border-bottom-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .expo-edition-bar {
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .expo-edition-badge {
  color: #0b5d63;
  background: rgba(0, 140, 149, 0.14);
  border-color: rgba(0, 140, 149, 0.38);
}

html[data-theme="light"] .expo-medium-card {
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .expo-medium-card:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 12px 28px rgba(0, 140, 149, 0.16);
}

html[data-theme="light"] .expo-medium-index {
  color: rgba(20, 20, 20, 0.18);
}

/* --- 8. Store Page (store.html) --- */
html[data-theme="light"] .store-card-title {
  color: #181818;
}

html[data-theme="light"] .store-card-desc {
  color: #4d4a44;
}

html[data-theme="light"] .store-card-pill {
  color: #0f766e;
  background: rgba(0, 140, 149, 0.1);
  border-color: rgba(0, 140, 149, 0.32);
}

html[data-theme="light"] .store-studio-box {
  border: 1px solid rgba(0, 140, 149, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .store-studio-box h2 {
  color: #181818;
}

html[data-theme="light"] .store-studio-box p {
  color: #4d4a44;
}

html[data-theme="light"] .store-studio-address {
  background: rgba(20, 20, 20, 0.04);
  border-color: rgba(20, 20, 20, 0.08);
  color: #181818;
}

/* --- 9. Blog & Articoli (blog.html + /blog/*.html) --- */
html[data-theme="light"] .breadcrumbs,
html[data-theme="light"] .breadcrumbs a {
  color: #4d4a44;
}

html[data-theme="light"] .breadcrumbs li:not(:last-child)::after {
  color: rgba(20, 20, 20, 0.3);
}

html[data-theme="light"] .breadcrumbs a:hover,
html[data-theme="light"] .breadcrumbs .breadcrumb-current {
  color: #0f766e;
}

html[data-theme="light"] .blog-filter-btn {
  background: #f9f7f2;
  color: #181818;
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .blog-filter-btn:hover {
  border-color: var(--primary-teal);
  color: #0f766e;
  background: #f9f7f2;
}

html[data-theme="light"] .blog-filter-btn.active {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
}

html[data-theme="light"] #noResults {
  background: rgba(249, 247, 242, 0.85) !important;
  border-color: rgba(0, 140, 149, 0.35) !important;
}

html[data-theme="light"] #noResults h3 {
  color: #181818 !important;
}

html[data-theme="light"] #noResults p {
  color: #4d4a44 !important;
}

html[data-theme="light"] .blog-card-image {
  background-color: #eae6dc;
}

html[data-theme="light"] .blog-title {
  color: #181818;
}

html[data-theme="light"] .blog-card:hover .blog-title {
  color: var(--primary-teal);
}

html[data-theme="light"] .blog-excerpt,
html[data-theme="light"] .blog-card-meta,
html[data-theme="light"] .article-date,
html[data-theme="light"] .article-read-time {
  color: #4d4a44;
}

html[data-theme="light"] .blog-link {
  color: #0f766e;
}

/* Badge categorie Blog con contrasto ottimizzato su fondo carta */
html[data-theme="light"] .blog-card-badge,
html[data-theme="light"] .blog-card[data-category="tattoo"] .blog-card-badge,
html[data-theme="light"] .blog-card-badge.badge-tattoo,
html[data-theme="light"] .article-badge {
  background: rgba(0, 140, 149, 0.12);
  color: #0f766e;
  border-color: rgba(0, 140, 149, 0.35);
}

html[data-theme="light"] .blog-card[data-category="barber"] .blog-card-badge,
html[data-theme="light"] .blog-card-badge.badge-barber {
  background: rgba(230, 173, 78, 0.16);
  color: #9a5b06;
  border-color: rgba(180, 105, 14, 0.35);
}

html[data-theme="light"] .blog-card[data-category="piercing"] .blog-card-badge,
html[data-theme="light"] .blog-card-badge.badge-piercing {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
  border-color: rgba(109, 40, 217, 0.32);
}

html[data-theme="light"] .blog-card[data-category="pmu"] .blog-card-badge,
html[data-theme="light"] .blog-card-badge.badge-pmu {
  background: rgba(240, 141, 169, 0.16);
  color: #b81d58;
  border-color: rgba(184, 29, 88, 0.32);
}

/* Tipografia e componenti interni Articolo */
html[data-theme="light"] .article-main-title,
html[data-theme="light"] .article-toc-title,
html[data-theme="light"] .article-content h2,
html[data-theme="light"] .article-content h3,
html[data-theme="light"] .article-content strong,
html[data-theme="light"] .article-cta-title {
  color: #181818;
}

html[data-theme="light"] .article-lead,
html[data-theme="light"] .article-content,
html[data-theme="light"] .article-cta-subtitle {
  color: #181818;
}

html[data-theme="light"] .article-content p,
html[data-theme="light"] .article-content li,
html[data-theme="light"] .article-cta-subtitle {
  color: #4d4a44;
}

html[data-theme="light"] .article-toc-list a {
  color: #181818;
}

html[data-theme="light"] .article-toc-list a:hover {
  color: var(--primary-teal);
}

html[data-theme="light"] .article-cover-wrapper {
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .article-cover-img {
  background-color: #eae6dc;
}

html[data-theme="light"] .article-cover-caption {
  background: #eae6dc;
  color: #4d4a44;
  border-top-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .article-content blockquote {
  background: rgba(0, 140, 149, 0.07);
  color: #181818;
}

html[data-theme="light"] .article-content a {
  color: #0f766e;
}

html[data-theme="light"] .article-content a:hover {
  color: #181818;
}

html[data-theme="light"] .article-faq-list > div[style] {
  background: rgba(249, 247, 242, 0.85) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .article-faq-list h3[style] {
  color: #181818 !important;
}

/* --- 10. Contatti, Mappa, Parcheggi e Form (contatti.html + index.html) --- */
html[data-theme="light"] .contact-card h4 {
  color: #181818;
}

html[data-theme="light"] .contact-card p,
html[data-theme="light"] .contact-card a,
html[data-theme="light"] .contact-card .contact-phone-link {
  color: #4d4a44;
}

html[data-theme="light"] .contact-card a:hover,
html[data-theme="light"] .contact-card .contact-phone-link:hover {
  color: var(--primary-teal);
}

html[data-theme="light"] .parking-panel {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .parking-item {
  border-bottom-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .parking-item strong {
  color: #181818;
}

html[data-theme="light"] .parking-item p[style] {
  color: #4d4a44 !important;
}

html[data-theme="light"] .map-wrapper {
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Rimuove il filtro dark-invert solo sull'iframe di Google Maps in modalità chiara */
html[data-theme="light"] .map-wrapper iframe,
html[data-theme="light"] .map-frame {
  filter: none;
}

html[data-theme="light"] .cookie-map-placeholder {
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .cookie-map-title {
  color: #181818;
}

html[data-theme="light"] .cookie-map-desc,
html[data-theme="light"] .cc-external-map-link {
  color: #4d4a44;
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select {
  background-color: #f9f7f2;
  border: 1px solid rgba(20, 20, 20, 0.14);
  color: #181818;
}

html[data-theme="light"] .contact-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181818' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

html[data-theme="light"] .contact-form select option {
  background-color: #f9f7f2;
  color: #181818;
}

html[data-theme="light"] .contact-form input::placeholder,
html[data-theme="light"] .contact-form textarea::placeholder {
  color: #78736a;
}

html[data-theme="light"] .contact-form input:focus,
html[data-theme="light"] .contact-form textarea:focus,
html[data-theme="light"] .contact-form select:focus {
  border-color: var(--primary-teal);
  background-color: #f9f7f2;
  box-shadow: 0 0 0 3px rgba(0, 140, 149, 0.14);
}

html[data-theme="light"] .form-privacy-box {
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .form-privacy-notice {
  color: #4d4a44;
}

html[data-theme="light"] .form-privacy-check label {
  color: #181818;
}

html[data-theme="light"] .form-privacy-notice a:hover,
html[data-theme="light"] .form-privacy-check label a:hover {
  color: #181818;
}

html[data-theme="light"] .form-feedback-msg.is-success {
  background: rgba(0, 140, 149, 0.12);
  color: #0b5d63;
}

html[data-theme="light"] .form-feedback-msg.is-error {
  background: rgba(220, 53, 69, 0.1);
  color: #b02a37;
}

/* --- 11. Pagine Legali (privacy-policy.html, cookie-policy.html) --- */
html[data-theme="light"] .cookie-status-heading {
  color: #181818;
}

html[data-theme="light"] .cookie-status-desc {
  color: #4d4a44;
}

html[data-theme="light"] .legal-content code {
  background: rgba(0, 140, 149, 0.1);
  border-color: rgba(0, 140, 149, 0.28);
  color: #0f766e;
}

html[data-theme="light"] .legal-table-wrapper {
  background: #f9f7f2;
  border-color: rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .legal-table th {
  background: rgba(0, 140, 149, 0.1);
  color: #0b5d63;
  border-bottom-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .legal-table td {
  color: #4d4a44;
  border-bottom-color: rgba(20, 20, 20, 0.07);
}

@media (max-width: 767px) {
  html[data-theme="light"] .legal-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  html[data-theme="light"] .legal-table tbody tr {
    background: #f9f7f2;
    border-color: rgba(20, 20, 20, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }

  html[data-theme="light"] .legal-table tbody tr td,
  html[data-theme="light"] .legal-table tbody tr:last-child td:not(:last-child) {
    border-bottom-color: rgba(20, 20, 20, 0.08);
  }

  html[data-theme="light"] .legal-table td::before {
    color: #0b5d63;
  }
}

/* --- 12. Pagina 404 (404.html) --- */
html[data-theme="light"] .error-404-stage {
  background-color: #eae6dc;
}

html[data-theme="light"] .error-404-stage::before {
  background: none;
}

html[data-theme="light"] .error-eyebrow {
  background: rgba(0, 140, 149, 0.1);
  border-color: rgba(0, 140, 149, 0.35);
  color: #0f766e;
}

html[data-theme="light"] .error-code-main {
  background: linear-gradient(180deg, #181818 0%, #1d4f54 48%, #008c95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
}

html[data-theme="light"] .error-needle-diamond {
  background: #eae6dc;
}

html[data-theme="light"] .error-headline,
html[data-theme="light"] .error-compass-title {
  color: #181818;
}

html[data-theme="light"] .error-lead,
html[data-theme="light"] .error-compass-desc,
html[data-theme="light"] .error-compass-label {
  color: #4d4a44;
}

html[data-theme="light"] .error-compass-card {
  background: rgba(249, 247, 242, 0.85);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .error-compass-card:hover {
  border-color: var(--primary-teal);
  box-shadow: 0 12px 28px rgba(0, 140, 149, 0.16);
}

html[data-theme="light"] .error-compass-icon img {
  filter: none;
}

/* --- 13. Cookie Banner & Modale Preferenze (Superfici #f9f7f2, 3 Pulsanti Paritari GDPR) --- */
html[data-theme="light"] .cc-page-backdrop {
  background: rgba(20, 20, 20, 0.42);
}

html[data-theme="light"] .cc-banner,
html[data-theme="light"] .cookie-banner {
  background: rgba(249, 247, 242, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .cc-banner-title,
html[data-theme="light"] .cookie-text h3 {
  color: #181818;
}

html[data-theme="light"] .cc-banner-text p,
html[data-theme="light"] .cookie-text p {
  color: #4d4a44;
}

html[data-theme="light"] .cc-banner-text a,
html[data-theme="light"] .cc-modal-intro a {
  color: #0f766e;
}

html[data-theme="light"] .cc-banner-text a:hover,
html[data-theme="light"] .cc-modal-intro a:hover {
  color: #181818;
}

html[data-theme="light"] .cc-close-x,
html[data-theme="light"] .cc-modal-close {
  border-color: rgba(20, 20, 20, 0.16);
  background: rgba(20, 20, 20, 0.04);
  color: #181818;
}

html[data-theme="light"] .cc-close-x:hover,
html[data-theme="light"] .cc-close-x:focus-visible,
html[data-theme="light"] .cc-modal-close:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
}

/* 3 Pulsanti Cookie con identico peso visivo, contrasto e dimensioni */
html[data-theme="light"] .cc-btn {
  border: 1.5px solid var(--primary-teal);
  background: rgba(0, 140, 149, 0.1);
  color: #0b4f54;
}

html[data-theme="light"] .cc-btn:hover,
html[data-theme="light"] .cc-btn:focus-visible {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #ffffff;
}

html[data-theme="light"] .cc-modal-overlay {
  background: rgba(20, 20, 20, 0.52);
}

html[data-theme="light"] .cc-modal {
  background: #f9f7f2;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .cc-modal-header,
html[data-theme="light"] .cc-modal-footer {
  border-color: rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .cc-modal-title,
html[data-theme="light"] .cc-category-name {
  color: #181818;
}

html[data-theme="light"] .cc-modal-intro,
html[data-theme="light"] .cc-category-desc {
  color: #4d4a44;
}

html[data-theme="light"] .cc-category-item {
  background: #eae6dc;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

html[data-theme="light"] .cc-badge-always {
  background: rgba(0, 140, 149, 0.12);
  border-color: rgba(0, 140, 149, 0.35);
  color: #0f766e;
}

html[data-theme="light"] .cc-slider {
  background-color: rgba(20, 20, 20, 0.18);
  border-color: rgba(20, 20, 20, 0.22);
}

html[data-theme="light"] .cc-slider::before {
  background-color: #f9f7f2;
}

html[data-theme="light"] .cc-switch input:checked + .cc-slider {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
}

/* --- 14. Widget WhatsApp (Footer escluso: resta 100% in versione notturna originale) --- */
html[data-theme="light"] .whatsapp-widget {
  background-color: #f9f7f2;
  border: 1px solid rgba(0, 140, 149, 0.25);
  box-shadow: 0 8px 24px rgba(0, 80, 85, 0.22);
}

/* ==========================================================================
   HERO FULL-SCREEN (100vh) SU TUTTE LE PAGINE + INTRO RAVVICINATA SOTTO <hr>
   Tutte le Hero (inclusi store, blog e contatti) occupano l'intera schermata;
   le sezioni intro sottostanti partono ravvicinate sotto la riga separatrice.
   ========================================================================== */
.hero,
#hero,
.hero-studio,
.hero-tattoo,
.hero-barber,
.hero-piercing,
.store-hero,
.hero-compact,
.hero-contact {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100vh !important;
  min-height: 100vh !important;
  height: 100svh !important;
  min-height: 100svh !important;
  padding: 4.5rem 0 0 !important;
}

.hero-compact::after {
  display: none !important;
}

.hero-compact h1.section-title {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

@media (max-width: 767px) {
  .hero,
  #hero,
  .hero-studio,
  .hero-tattoo,
  .hero-barber,
  .hero-piercing,
  .store-hero,
  .hero-compact,
  .hero-contact {
    padding: 3.5rem 0 0 !important;
  }
}

#studio,
#intro {
  padding-top: 5.5rem !important;
}

.store-selection-section,
#blog-archive-section,
#contact-content {
  padding-top: 3.5rem !important;
}

@media (max-width: 767px) {
  #studio,
  #intro {
    padding-top: 3.75rem !important;
  }

  .store-selection-section,
  #blog-archive-section,
  #contact-content {
    padding-top: 2.5rem !important;
  }
}

/* Variante Azzurro/Ottanio semi-trasparente per i bottoni "SCOPRI" (index.html) */
.btn.btn-teal-light {
  background-color: rgba(30, 142, 156, 0.65);
  border-color: rgba(0, 140, 149, 0.82);
  color: var(--accent-white);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: none;
}

.btn.btn-teal-light:hover {
  background-color: #ffffff;
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0, 140, 149, 0.25);
}

.hero-ctas .btn:not(.btn-fill-lr):hover,
.store-hero-ctas .btn:not(.btn-fill-lr):hover {
  background-color: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-ctas .btn-fill-lr::after,
.store-hero-ctas .btn-fill-lr::after {
  background: #ffffff;
}

/* Stato bloccato ma cliccabile del pulsante Invia nel form contatti (mostra avviso al clic) */
.contact-submit-btn.is-locked,
.contact-submit-btn.is-locked:hover {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: auto !important;
  background-color: var(--primary-teal) !important;
  border-color: var(--primary-teal) !important;
  color: var(--accent-white) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   HERO BIOLUMINESCENZA SUL PATTERN + MAREA LENTA (GLOBALE SU TUTTE LE HERO)
   Allineamento 1:1 con il pattern di base (600px / center / repeat / fixed)
   ========================================================================== */
.hero,
.hero-studio,
.hero-tattoo,
.hero-barber,
.hero-piercing,
.store-hero,
.hero-contact,
.hero-compact,
.error-404-stage {
  position: relative;
  overflow: hidden;
}

.article-section {
  position: relative;
  overflow-x: clip;
}

.hero > .hero-overlay,
.store-hero > .store-hero-overlay,
.error-404-stage > .error-ornament-frame {
  z-index: 1;
}

.hero > .hero-content,
.hero-studio > .hero-content,
.hero-tattoo > .hero-content,
.hero-barber > .hero-content,
.hero-piercing > .hero-content,
.store-hero > .store-hero-content,
.hero-contact > .hero-content,
.hero-compact > .container,
.error-404-stage > .error-404-wrapper,
.article-section > .article-container {
  position: relative !important;
  z-index: 3 !important;
}

.hero-bio-mask {
  --bio-size: 320px;
  --bio-glow: rgba(45, 212, 191, 0.12);
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  pointer-events: none;
  background: radial-gradient(
    circle var(--bio-size, 320px) at var(--bio-x, 50%) var(--bio-y, 50%),
    var(--bio-glow) 0%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    circle var(--bio-size, 320px) at var(--bio-x, 50%) var(--bio-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle var(--bio-size, 320px) at var(--bio-x, 50%) var(--bio-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    transparent 100%
  );
}

.article-section > .hero-bio-mask {
  bottom: auto;
  height: 100vh;
  height: 100svh;
  max-height: 100%;
}

.hero-bio-pattern {
  position: absolute;
  inset: 0;
  background-image: url("images/pattern-ottanio.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: 600px;
  background-attachment: fixed;
  opacity: 0.8;
}

html[data-theme="light"] .hero-bio-mask {
  --bio-glow: rgba(13, 148, 136, 0.08);
}

html[data-theme="light"] .hero-bio-pattern {
  background-image: url("images/pattern-ottanio-deep.svg");
  opacity: 0.6;
}

/* Protezione per eventuali Hero con sfondo fotografico scuro anche in modalità giorno */
.hero-dark-photo .hero-bio-mask,
html[data-theme="light"] .hero-dark-photo .hero-bio-mask {
  --bio-glow: rgba(45, 212, 191, 0.1);
}

.hero-dark-photo .hero-bio-pattern,
html[data-theme="light"] .hero-dark-photo .hero-bio-pattern {
  background-image: url("images/pattern-ottanio.svg");
  opacity: 0.62;
}

@media (max-width: 768px) {
  html:not([data-theme="light"]) :is(.hero, .hero-studio, .hero-tattoo, .hero-barber, .hero-piercing, .store-hero, .hero-contact, .hero-compact, .error-404-stage),
  html[data-theme="light"] :is(.hero, .hero-studio, .hero-tattoo, .hero-barber, .hero-piercing, .store-hero, .hero-contact, .hero-compact, .error-404-stage) {
    background-attachment: scroll !important;
    background-position: center !important;
    background-size: 520px !important;
  }

  html:not([data-theme="light"]) .article-section,
  html[data-theme="light"] .article-section {
    background-attachment: scroll !important;
    background-position: top center !important;
    background-size: 520px !important;
  }

  .hero-bio-mask {
    --bio-size: 265px;
    --bio-glow: rgba(45, 212, 191, 0.19);
    opacity: 1;
  }

  .hero-bio-pattern {
    background-attachment: scroll;
    background-position: center;
    background-size: 520px;
    opacity: 0.94;
  }

  .article-section > .hero-bio-mask .hero-bio-pattern {
    background-position: top center;
  }

  html[data-theme="light"] .hero-bio-mask {
    --bio-glow: rgba(13, 148, 136, 0.16);
  }

  html[data-theme="light"] .hero-bio-pattern {
    opacity: 0.8;
  }
}

/* ==========================================================================
   CTA TREATWELL COMPATTA (MATTEO & MANUEL) + SPAZIATURA CTA / GALLERIA LAVORI
   ========================================================================== */
.btn.cta-treatwell-compact {
  font-size: 0.82rem;
  padding: 0.88rem 1.5rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (min-width: 900px) {
  #artists .carousel-container.artist-works-spaced {
    margin-top: 2.5rem !important;
  }
}

@media (max-width: 899px) {
  #artists .artist-ctas .btn.cta-treatwell-compact,
  .artist-ctas .btn.cta-treatwell-compact {
    font-size: clamp(0.58rem, 2.3vw, 0.63rem) !important;
    padding: 0.72rem 0.48rem !important;
    letter-spacing: 0 !important;
    flex: 1.12 !important;
    max-width: 198px !important;
  }

  #artists .artist-ctas .btn.cta-treatwell-compact .btn-cta-icon,
  .artist-ctas .btn.cta-treatwell-compact .btn-cta-icon {
    font-size: 0.82rem !important;
    margin-right: 0.22rem !important;
  }

  #artists .carousel-container.artist-works-spaced {
    margin-bottom: 2rem !important;
  }
}

/* ==========================================================================
   MOBILE REFINEMENTS (<= 768px) — STORE.HTML & STUDIO.HTML
   Isolate esclusivamente su mobile: zero impatto su desktop, SEO, header,
   footer, cookie banner, preloader o bioluminescenza.
   ========================================================================== */
@media (max-width: 768px) {
  /* --- TASK 1: Hero più compatta e proporzionata su mobile (store.html) --- */
  body .store-hero {
    height: auto !important;
    min-height: 54vh !important;
    min-height: 54svh !important;
    padding: 6.25rem 0 2.75rem !important;
    justify-content: center !important;
  }

  body .store-hero .store-hero-content {
    padding: 0 1.25rem;
    max-width: 100%;
  }

  body .store-hero .store-badge {
    padding: 0.36rem 0.88rem;
    gap: 0.45rem;
    font-size: 0.64rem;
    letter-spacing: 1.2px;
    margin-bottom: 0.95rem;
    max-width: 100%;
  }

  body .store-hero .store-badge-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

  body .store-hero .store-hero-title {
    font-size: clamp(2.15rem, 8.4vw, 2.6rem);
    line-height: 1.04;
    letter-spacing: 1.8px;
    margin-bottom: 0.85rem;
  }

  body .store-hero .store-hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0 auto 1.35rem;
  }

  body .store-hero .store-hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  body .store-hero .store-hero-ctas .btn,
  body .store-hero .store-hero-ctas .btn-store-glass {
    padding: 0.68rem 1.4rem;
    font-size: 0.82rem;
    letter-spacing: 0.35px;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  body .store-hero .store-hero-ctas .btn i,
  body .store-hero .store-hero-ctas .btn-store-glass i {
    font-size: 1.05rem !important;
  }

  /* --- TASK 2: Card prodotti più snelle su mobile (store.html) --- */
  body .store-selection-section {
    padding-top: 2.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  body .store-selection-section .store-grid {
    gap: 1.15rem;
    margin-top: 1.85rem;
  }

  body .store-selection-section .store-card {
    padding: 1.35rem 1.25rem;
    border-radius: 14px;
  }

  body .store-selection-section .store-card-header {
    margin-bottom: 0.95rem;
    gap: 0.75rem;
  }

  body .store-selection-section .store-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  body .store-selection-section .store-card-icon svg {
    width: 20px;
    height: 20px;
  }

  body .store-selection-section .store-card-pill {
    padding: 0.26rem 0.7rem;
    font-size: 0.64rem;
    letter-spacing: 0.8px;
  }

  body .store-selection-section .store-card-num {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
  }

  body .store-selection-section .store-card-title {
    font-size: 1.55rem;
    letter-spacing: 1.2px;
    margin-bottom: 0.5rem;
    line-height: 1.06;
  }

  body .store-selection-section .store-card-desc {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  /* --- TASK 3: Centratura perfetta foto reparto su mobile (studio.html & affini) --- */
  .carousel-container:not(.instagram-carousel),
  #studio-tattoo .carousel-container,
  #studio-barber .carousel-container,
  #artists .carousel-container {
    --carousel-item-size: min(260px, calc(100vw - 4.75rem - 68px));
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
  }

  #studio-tattoo .carousel-container,
  #studio-barber .carousel-container {
    margin-top: 1.75rem !important;
    margin-bottom: 2rem !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-track-wrapper {
    width: var(--carousel-item-size) !important;
    max-width: var(--carousel-item-size) !important;
    flex: 0 0 var(--carousel-item-size) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-item {
    width: var(--carousel-item-size) !important;
    max-width: var(--carousel-item-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-item img,
  .carousel-container:not(.instagram-carousel) .carousel-item img.img-rounded {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-btn {
    width: 32px !important;
    min-width: 32px !important;
    flex: 0 0 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .carousel-container:not(.instagram-carousel) .carousel-btn i {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  #studio-manager .manager-img-wrapper {
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #studio-manager .manager-img-clean {
    display: block;
    margin-inline: auto;
    object-fit: cover;
    object-position: center top;
  }

  /* --- TASK 4: Leggibilità e layout "1 ARTISTA / MESE" su mobile (studio.html) --- */
  #studio-expo .expo-edition-bar {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  #studio-expo .expo-edition-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    color: var(--text-light);
  }

  #studio-expo .expo-edition-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    line-height: 1.15;
    padding: 0.42rem 0.95rem;
    border-radius: 8px;
    max-width: 100%;
    white-space: nowrap;
    color: #ffffff;
    background: rgba(0, 140, 149, 0.28);
    border: 1px solid rgba(0, 194, 204, 0.55);
  }

  html[data-theme="light"] #studio-expo .expo-edition-label {
    color: #2c2a26;
  }

  html[data-theme="light"] #studio-expo .expo-edition-badge {
    color: #07474c;
    background: rgba(0, 140, 149, 0.16);
    border: 1px solid rgba(0, 140, 149, 0.48);
  }
}

/* ==========================================================================
   TOUCH / COARSE POINTER DEVICES — STATIC CTA BUTTONS (NO STICKY HOVER)
   Disattiva transizioni, animazioni, trasformazioni e cambi stato :hover /
   :active esclusivamente sui dispositivi senza mouse, lasciando invariato
   al 100% il comportamento su desktop con puntatore fine.
   ========================================================================== */
@media (hover: none), (pointer: coarse) {
  /* 1. Blocco transizioni, animazioni, spostamenti e flash tap nativo su tutti i CTA */
  :is(
    .btn,
    .cta-btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-teal-light,
    .btn-secondary-outline,
    .btn-primary-small,
    .btn-outline-small,
    .btn-sm,
    .btn-small,
    .btn-inverse,
    .btn-glow-outline,
    .btn-switch-primary,
    .btn-switch-outline,
    .btn-fill-lr,
    .btn-wipe-effect,
    .btn-ink-splash,
    .btn-shimmer,
    .btn-brush,
    .btn-pulse,
    .magnetic-btn,
    .intro-cta,
    .cta-treatwell-compact,
    .contact-submit-btn,
    .btn-store-glass,
    .btn-barber-rectangular,
    .btn-strip,
    .btn-capsule-primary,
    .btn-capsule-secondary,
    .header-cta-call,
    .header-call-btn,
    .mobile-cta-call,
    .cc-unlock-map-btn,
    .whatsapp-widget,
    .ig-strip-bar
  ),
  :is(
    .btn,
    .cta-btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-teal-light,
    .btn-secondary-outline,
    .btn-primary-small,
    .btn-outline-small,
    .btn-sm,
    .btn-small,
    .btn-inverse,
    .btn-glow-outline,
    .btn-switch-primary,
    .btn-switch-outline,
    .btn-fill-lr,
    .btn-wipe-effect,
    .btn-ink-splash,
    .btn-shimmer,
    .btn-brush,
    .btn-pulse,
    .magnetic-btn,
    .intro-cta,
    .cta-treatwell-compact,
    .contact-submit-btn,
    .btn-store-glass,
    .btn-barber-rectangular,
    .btn-strip,
    .btn-capsule-primary,
    .btn-capsule-secondary,
    .header-cta-call,
    .header-call-btn,
    .mobile-cta-call,
    .cc-unlock-map-btn,
    .whatsapp-widget,
    .ig-strip-bar
  ):is(:hover, :active, :focus, :focus-visible) {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Figli interni (etichette, icone, sfere): zero transizioni o ingrandimenti */
  :is(
    .btn,
    .cta-btn,
    .btn-store-glass,
    .btn-barber-rectangular,
    .btn-strip,
    .header-cta-call,
    .header-call-btn,
    .mobile-cta-call,
    .cc-unlock-map-btn,
    .whatsapp-widget,
    .ig-strip-bar
  ) :is(
    span,
    i,
    svg,
    .btn-icon,
    .btn-cta-icon,
    .btn-strip-icon,
    .btn-capsule-orb,
    .btn-capsule-label,
    .ig-strip-emblem,
    .ig-strip-heading
  ) {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* 2. Disattivazione pseudo-elementi ::before / ::after dedicati agli effetti hover
        (preservando le icone <i class="bx"> interne e la sfera statica .btn-capsule-orb::before) */
  :is(
    .btn-wipe-effect,
    .btn-ink-splash,
    .btn-shimmer,
    .btn-brush,
    .btn-barber-rectangular,
    .header-cta-call
  )::before,
  :is(
    .btn-wipe-effect,
    .btn-ink-splash,
    .btn-shimmer,
    .btn-brush,
    .btn-barber-rectangular,
    .header-cta-call
  ):is(:hover, :active, :focus, :focus-visible)::before,
  :is(
    .btn-fill-lr,
    .btn-wipe-effect,
    .btn-brush
  )::after,
  :is(
    .btn-fill-lr,
    .btn-wipe-effect,
    .btn-brush
  ):is(:hover, :active, :focus, :focus-visible)::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* La sfera circolare dell'Impact Strip resta visibile ma ferma a riposo (scale 1) */
  .btn-strip .btn-capsule-orb::before,
  .btn-strip:is(:hover, :active, :focus, :focus-visible) .btn-capsule-orb::before {
    transition: none !important;
    animation: none !important;
    transform: scale(1) !important;
  }

  /* 3. Prevenzione "sticky hover" — mantenimento stile statico di riposo (Notte e Giorno) */

  /* 3a. Bottoni CTA principali Ottanio (.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-fill-lr, .cta-treatwell-compact, ecc.) */
  :is(
    .btn,
    .cta-btn,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-primary-small,
    .btn-outline-small,
    .btn-sm,
    .btn-fill-lr,
    .intro-cta,
    .cta-treatwell-compact,
    .contact-submit-btn
  ):not(.btn-teal-light):not(.btn-secondary-outline):not(.btn-inverse):not(.btn-small):not(.btn-glow-outline):not(.btn-switch-primary):not(.btn-switch-outline):is(:hover, :active, :focus, :focus-visible) {
    background-color: var(--primary-teal) !important;
    border-color: var(--primary-teal) !important;
    color: var(--accent-white) !important;
    box-shadow: none !important;
    filter: none !important;
  }

  :is(.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-fill-lr):is(:hover, :active, :focus, :focus-visible) .btn-icon {
    filter: brightness(0) invert(1) !important;
  }

  /* 3b. Variante .btn.btn-teal-light */
  .btn.btn-teal-light:is(:hover, :active, :focus, :focus-visible) {
    background-color: rgba(30, 142, 156, 0.65) !important;
    border-color: rgba(0, 140, 149, 0.82) !important;
    color: var(--accent-white) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: none !important;
  }

  /* 3c. Variante .btn-secondary-outline (Notte + Giorno) */
  .btn-secondary-outline:is(:hover, :active, :focus, :focus-visible) {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-teal) 100%) !important;
    border: 2px solid #ffffff !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    filter: none !important;
  }

  html[data-theme="light"] .btn-secondary-outline:is(:hover, :active, :focus, :focus-visible) {
    border: 2px solid var(--primary-teal) !important;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(0, 140, 149, 0.16) !important;
    filter: none !important;
  }

  /* 3d. Varianti .btn-inverse, .btn-small, .btn-glow-outline */
  .btn-inverse:is(:hover, :active, :focus, :focus-visible) {
    background-color: var(--text-white) !important;
    border-color: var(--text-white) !important;
    color: var(--primary-teal) !important;
    box-shadow: none !important;
  }

  .btn-small:is(:hover, :active, :focus, :focus-visible) {
    background-color: transparent !important;
    border-color: var(--primary-teal) !important;
    color: var(--accent-white) !important;
    box-shadow: none !important;
  }

  html[data-theme="light"] .btn-small:is(:hover, :active, :focus, :focus-visible) {
    background-color: transparent !important;
    border-color: var(--primary-teal) !important;
    color: #0f766e !important;
    box-shadow: none !important;
  }

  .btn-glow-outline:is(:hover, :active, :focus, :focus-visible) {
    border: 0 solid !important;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0) !important;
    outline: 1px solid rgba(0, 140, 149, 0.5) !important;
    outline-offset: 0px !important;
    text-shadow: none !important;
  }

  /* 3e. Bottoni Store (.btn-store-glass — Notte + Giorno) */
  .btn-store-glass:is(:hover, :active, :focus, :focus-visible) {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
    color: var(--text-white) !important;
    box-shadow: none !important;
  }

  html[data-theme="light"] .btn-store-glass:is(:hover, :active, :focus, :focus-visible) {
    background: rgba(249, 247, 242, 0.85) !important;
    border: 1.5px solid rgba(20, 20, 20, 0.14) !important;
    color: #181818 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  }

  html[data-theme="light"] .btn-store-glass:is(:hover, :active, :focus, :focus-visible) i {
    color: var(--primary-teal) !important;
  }

  /* 3f. Bottoni Listini Rettangolari (.btn-barber-rectangular — Notte + Giorno) */
  .btn-barber-rectangular:is(:hover, :active, :focus, :focus-visible) {
    background-color: transparent !important;
    border-color: var(--primary-teal) !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  html[data-theme="light"] .btn-barber-rectangular:is(:hover, :active, :focus, :focus-visible) {
    background-color: rgba(249, 247, 242, 0.75) !important;
    border-color: var(--primary-teal) !important;
    color: #181818 !important;
    box-shadow: none !important;
  }

  /* 3g. Impact Strip "Ink Capsule" (.btn-strip, .btn-capsule-primary, .btn-capsule-secondary) */
  .btn-capsule-primary:is(:hover, :active, :focus, :focus-visible) {
    background-color: #111314 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38) !important;
  }

  .btn-capsule-primary:is(:hover, :active, :focus, :focus-visible) .btn-capsule-label {
    color: #ffffff !important;
  }

  .btn-capsule-primary:is(:hover, :active, :focus, :focus-visible) .btn-strip-icon {
    color: #0d1112 !important;
  }

  .btn-capsule-secondary:is(:hover, :active, :focus, :focus-visible) {
    background-color: rgba(0, 42, 46, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
  }

  .btn-capsule-secondary:is(:hover, :active, :focus, :focus-visible) .btn-capsule-label,
  .btn-capsule-secondary:is(:hover, :active, :focus, :focus-visible) .btn-strip-icon {
    color: #ffffff !important;
  }

  /* 3h. CTA Chiama, Sblocca Mappa, Widget WhatsApp e Striscia Instagram */
  :is(.header-cta-call, .header-call-btn, .mobile-cta-call, .cc-unlock-map-btn):is(:hover, :active, :focus, :focus-visible) {
    background-color: var(--primary-teal) !important;
    border-color: var(--primary-teal) !important;
    color: var(--accent-white) !important;
    box-shadow: none !important;
  }

  .whatsapp-widget:is(:hover, :active, :focus, :focus-visible) {
    background-color: #ffffff !important;
    color: var(--primary-teal) !important;
    box-shadow: 0 10px 20px rgba(0, 50, 50, 0.6) !important;
  }

  html[data-theme="light"] .whatsapp-widget:is(:hover, :active, :focus, :focus-visible) {
    background-color: #f9f7f2 !important;
    border: 1px solid rgba(0, 140, 149, 0.25) !important;
    color: var(--primary-teal) !important;
    box-shadow: 0 8px 24px rgba(0, 80, 85, 0.22) !important;
  }

  .ig-strip-bar:is(:hover, :active, :focus, :focus-visible) .ig-strip-emblem {
    background: rgba(11, 13, 14, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    box-shadow: none !important;
  }

  .ig-strip-bar:is(:hover, :active, :focus, :focus-visible) .ig-strip-heading {
    text-shadow: none !important;
  }
}
