/* 
* Modena Forni - Modern CSS Redesign 2025
* Author: Claude
* Description: Responsive design system for Modena Forni website
*/

/* ===== TABLE OF CONTENTS =====
  1. CSS Reset & Normalization
  2. Custom Properties (Variables)
  3. Typography System
  4. Layout & Grid System
  5. Utility Classes
  6. Components
  7. Header & Navigation
  8. Hero Section
  9. About Section
  10. Products Section
  11. Why Choose Us Section
  12. Sectors Section
  13. Testimonials Section
  14. Call to Action
  15. Contact Section
  16. Footer
  17. Modals & Popups
  18. Form Elements
  19. Animations & Effects
  20. Media Queries
  21. Accessibility & Print
===== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
  /* Adjust scroll padding for fixed header */
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-primary);
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  position: relative;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
  hyphens: auto;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--color-border);
  margin: 2rem 0;
}

::selection {
  background-color: var(--primary-color);
  color: var(--white);
}

/* ===== 2. CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
  /* Branding Colors */
  --primary-color: #152642;
  --primary-dark: #0b1525;
  --primary-light: #233a5f;
  --primary-ultra-light: #e5e9ef;
  
  --secondary-color: #D0962D;
  --secondary-dark: #a77825;
  --secondary-light: #e3b353;
  --secondary-ultra-light: #fdf5e6;
  
  /* Italian flag colors for accents */
  --accent-green: #009246;
  --accent-red: #CE2B37;
  
  /* Text Colors */
  --text-color: #333333;
  --text-light: #666666;
  --text-muted: #8a8a8a;
  --text-dark: #212121;
  
  /* Background Colors */
  --background-body: #ffffff;
  --background-light: #f8f9fa;
  --background-lighter: #f0f2f5;
  --background-dark: #121e34;
  
  /* Neutrals */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #dddddd;
  --gray-400: #cccccc;
  --gray-500: #999999;
  --gray-600: #777777;
  --gray-700: #555555;
  --gray-800: #333333;
  --gray-900: #111111;
  
  /* Utility Colors */
  --color-success: #2E7D32;
  --color-success-light: #e8f5e9;
  --color-warning: #FFA000;
  --color-warning-light: #fff8e1;
  --color-danger: #D32F2F;
  --color-danger-light: #ffebee;
  --color-info: #0277BD;
  --color-info-light: #e1f5fe;
  
  /* Border Colors */
  --color-border: rgba(0, 0, 0, 0.1);
  --color-border-light: rgba(0, 0, 0, 0.05);
  --color-border-dark: rgba(0, 0, 0, 0.2);
  
  /* Typography */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', serif;
  
  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12-14px */
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);        /* 14-16px */
  --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);    /* 16-18px */
  --text-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);       /* 18-20px */
  --text-lg: clamp(1.25rem, 1.125rem + 0.625vw, 1.5rem);     /* 20-24px */
  --text-xl: clamp(1.5rem, 1.375rem + 0.625vw, 1.75rem);     /* 24-28px */
  --text-2xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);      /* 28-36px */
  --text-3xl: clamp(2rem, 1.75rem + 1.25vw, 2.75rem);        /* 32-44px */
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);          /* 40-60px */
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacers - Fluid Spacing */
  --space-3xs: clamp(0.25rem, 0.25rem + 0vw, 0.25rem);      /* 4px */
  --space-2xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);   /* 8-10px */
  --space-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);    /* 12-14px */
  --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);         /* 16-20px */
  --space-md: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);    /* 24-30px */
  --space-lg: clamp(2rem, 1.8rem + 1vw, 2.5rem);            /* 32-40px */
  --space-xl: clamp(3rem, 2.7rem + 1.5vw, 3.75rem);         /* 48-60px */
  --space-2xl: clamp(4rem, 3.6rem + 2vw, 5rem);             /* 64-80px */
  --space-3xl: clamp(6rem, 5.4rem + 3vw, 7.5rem);           /* 96-120px */
  
  /* Layouts & Containers */
  --container-sm: 540px; 
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-2xl: 1320px;
  
  /* Border Radius */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.07), 0 6px 10px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.08), 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-focus: 0 0 0 3px rgba(21, 38, 66, 0.3);
  
  /* Z-index scale */
  --z-below: -1;
  --z-normal: 1;
  --z-sticky: 10;
  --z-header: 50;
  --z-dropdown: 100;
  --z-modal: 1000;
  --z-toast: 1100;
  --z-tooltip: 1200;
  --z-top: 9999;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Components - Header */
  --header-height: 80px;
  --header-height-mobile: 70px;
  --topbar-height: 40px;
  --topbar-height-mobile: 46px;
  
  /* Define a standard outline for focus states */
  --focus-outline: 3px solid rgba(21, 38, 66, 0.4);
}

/* ===== 3. TYPOGRAPHY SYSTEM ===== */
body {
  font-size: var(--text-base);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

h1, .h1 {
  font-family: var(--font-secondary);
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h2, .h2 {
  font-family: var(--font-secondary);
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

h3, .h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

h4, .h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

h5, .h5 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

h6, .h6 {
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-md);
  max-width: 75ch; /* Optimal width for readability */
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

small, .text-small {
  font-size: var(--text-sm);
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md { font-size: var(--text-md); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-dark { color: var(--text-dark); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.text-info { color: var(--color-info); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.font-light { font-weight: var(--font-light); }
.font-regular { font-weight: var(--font-regular); }
.font-medium { font-weight: var(--font-medium); }
.font-semibold { font-weight: var(--font-semibold); }
.font-bold { font-weight: var(--font-bold); }

.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.lowercase { text-transform: lowercase; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }

.leading-tight { line-height: 1.2; }
.leading-normal { line-height: 1.5; }
.leading-loose { line-height: 1.8; }

.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* ===== 4. LAYOUT & GRID SYSTEM ===== */
.container {
  width: 100%;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--container-xl);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-xl { max-width: var(--container-xl); }
.container-2xl { max-width: var(--container-2xl); }
.container-fluid { max-width: 100%; }

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.section-sm {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section-lg {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* Modern CSS Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Auto-fit grid for responsive galleries & cards */
.grid-auto-sm { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-auto-md { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* Flex Layout System */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.flex-grow-0 { flex-grow: 0; }
.flex-shrink-0 { flex-shrink: 0; }

/* Justification & Alignment */
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.content-center { align-content: center; }
.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-stretch { align-content: stretch; }

.self-auto { align-self: auto; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }

/* Section Headers */
.section-header {
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

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

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

.section-subtitle {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary-color);
  margin-bottom: var(--space-xs);
  background-color: rgba(208, 150, 45, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  position: relative;
}

.section-title {
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin-top: var(--space-sm);
  border-radius: 1.5px;
}

.section-header.centered .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.section-header.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-header.light .section-subtitle,
.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

.section-header.light .section-title::after {
  background: var(--white);
  opacity: 0.8;
}

/* Positioning Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }

.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* Gap Utilities */
.gap-3xs { gap: var(--space-3xs); }
.gap-2xs { gap: var(--space-2xs); }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }
.gap-3xl { gap: var(--space-3xl); }

/* Margin Utilities - using CSS custom properties */
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

.m-0 { margin: 0; }
.mx-0 { margin-left: 0; margin-right: 0; }
.my-0 { margin-top: 0; margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mr-0 { margin-right: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }

.m-3xs { margin: var(--space-3xs); }
.mx-3xs { margin-left: var(--space-3xs); margin-right: var(--space-3xs); }
.my-3xs { margin-top: var(--space-3xs); margin-bottom: var(--space-3xs); }
.mt-3xs { margin-top: var(--space-3xs); }
.mr-3xs { margin-right: var(--space-3xs); }
.mb-3xs { margin-bottom: var(--space-3xs); }
.ml-3xs { margin-left: var(--space-3xs); }

.m-2xs { margin: var(--space-2xs); }
.mx-2xs { margin-left: var(--space-2xs); margin-right: var(--space-2xs); }
.my-2xs { margin-top: var(--space-2xs); margin-bottom: var(--space-2xs); }
.mt-2xs { margin-top: var(--space-2xs); }
.mr-2xs { margin-right: var(--space-2xs); }
.mb-2xs { margin-bottom: var(--space-2xs); }
.ml-2xs { margin-left: var(--space-2xs); }

.m-xs { margin: var(--space-xs); }
.mx-xs { margin-left: var(--space-xs); margin-right: var(--space-xs); }
.my-xs { margin-top: var(--space-xs); margin-bottom: var(--space-xs); }
.mt-xs { margin-top: var(--space-xs); }
.mr-xs { margin-right: var(--space-xs); }
.mb-xs { margin-bottom: var(--space-xs); }
.ml-xs { margin-left: var(--space-xs); }

.m-sm { margin: var(--space-sm); }
.mx-sm { margin-left: var(--space-sm); margin-right: var(--space-sm); }
.my-sm { margin-top: var(--space-sm); margin-bottom: var(--space-sm); }
.mt-sm { margin-top: var(--space-sm); }
.mr-sm { margin-right: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.ml-sm { margin-left: var(--space-sm); }

.m-md { margin: var(--space-md); }
.mx-md { margin-left: var(--space-md); margin-right: var(--space-md); }
.my-md { margin-top: var(--space-md); margin-bottom: var(--space-md); }
.mt-md { margin-top: var(--space-md); }
.mr-md { margin-right: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.ml-md { margin-left: var(--space-md); }

.m-lg { margin: var(--space-lg); }
.mx-lg { margin-left: var(--space-lg); margin-right: var(--space-lg); }
.my-lg { margin-top: var(--space-lg); margin-bottom: var(--space-lg); }
.mt-lg { margin-top: var(--space-lg); }
.mr-lg { margin-right: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.ml-lg { margin-left: var(--space-lg); }

.m-xl { margin: var(--space-xl); }
.mx-xl { margin-left: var(--space-xl); margin-right: var(--space-xl); }
.my-xl { margin-top: var(--space-xl); margin-bottom: var(--space-xl); }
.mt-xl { margin-top: var(--space-xl); }
.mr-xl { margin-right: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.ml-xl { margin-left: var(--space-xl); }

.m-2xl { margin: var(--space-2xl); }
.mx-2xl { margin-left: var(--space-2xl); margin-right: var(--space-2xl); }
.my-2xl { margin-top: var(--space-2xl); margin-bottom: var(--space-2xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mr-2xl { margin-right: var(--space-2xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.ml-2xl { margin-left: var(--space-2xl); }

.m-3xl { margin: var(--space-3xl); }
.mx-3xl { margin-left: var(--space-3xl); margin-right: var(--space-3xl); }
.my-3xl { margin-top: var(--space-3xl); margin-bottom: var(--space-3xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mr-3xl { margin-right: var(--space-3xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.ml-3xl { margin-left: var(--space-3xl); }

/* Padding Utilities */
.p-0 { padding: 0; }
.px-0 { padding-left: 0; padding-right: 0; }
.py-0 { padding-top: 0; padding-bottom: 0; }
.pt-0 { padding-top: 0; }
.pr-0 { padding-right: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }

.p-3xs { padding: var(--space-3xs); }
.px-3xs { padding-left: var(--space-3xs); padding-right: var(--space-3xs); }
.py-3xs { padding-top: var(--space-3xs); padding-bottom: var(--space-3xs); }
.pt-3xs { padding-top: var(--space-3xs); }
.pr-3xs { padding-right: var(--space-3xs); }
.pb-3xs { padding-bottom: var(--space-3xs); }
.pl-3xs { padding-left: var(--space-3xs); }

.p-2xs { padding: var(--space-2xs); }
.px-2xs { padding-left: var(--space-2xs); padding-right: var(--space-2xs); }
.py-2xs { padding-top: var(--space-2xs); padding-bottom: var(--space-2xs); }
.pt-2xs { padding-top: var(--space-2xs); }
.pr-2xs { padding-right: var(--space-2xs); }
.pb-2xs { padding-bottom: var(--space-2xs); }
.pl-2xs { padding-left: var(--space-2xs); }

.p-xs { padding: var(--space-xs); }
.px-xs { padding-left: var(--space-xs); padding-right: var(--space-xs); }
.py-xs { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.pt-xs { padding-top: var(--space-xs); }
.pr-xs { padding-right: var(--space-xs); }
.pb-xs { padding-bottom: var(--space-xs); }
.pl-xs { padding-left: var(--space-xs); }

.p-sm { padding: var(--space-sm); }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.pt-sm { padding-top: var(--space-sm); }
.pr-sm { padding-right: var(--space-sm); }
.pb-sm { padding-bottom: var(--space-sm); }
.pl-sm { padding-left: var(--space-sm); }

.p-md { padding: var(--space-md); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.pt-md { padding-top: var(--space-md); }
.pr-md { padding-right: var(--space-md); }
.pb-md { padding-bottom: var(--space-md); }
.pl-md { padding-left: var(--space-md); }

.p-lg { padding: var(--space-lg); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.pt-lg { padding-top: var(--space-lg); }
.pr-lg { padding-right: var(--space-lg); }
.pb-lg { padding-bottom: var(--space-lg); }
.pl-lg { padding-left: var(--space-lg); }

.p-xl { padding: var(--space-xl); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.pt-xl { padding-top: var(--space-xl); }
.pr-xl { padding-right: var(--space-xl); }
.pb-xl { padding-bottom: var(--space-xl); }
.pl-xl { padding-left: var(--space-xl); }

.p-2xl { padding: var(--space-2xl); }
.px-2xl { padding-left: var(--space-2xl); padding-right: var(--space-2xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.pt-2xl { padding-top: var(--space-2xl); }
.pr-2xl { padding-right: var(--space-2xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }
.pl-2xl { padding-left: var(--space-2xl); }

.p-3xl { padding: var(--space-3xl); }
.px-3xl { padding-left: var(--space-3xl); padding-right: var(--space-3xl); }
.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.pt-3xl { padding-top: var(--space-3xl); }
.pr-3xl { padding-right: var(--space-3xl); }
.pb-3xl { padding-bottom: var(--space-3xl); }
.pl-3xl { padding-left: var(--space-3xl); }

/* ===== 5. UTILITY CLASSES ===== */
/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }
.invisible { visibility: hidden; }

/* Width & Height */
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }

.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-auto { height: auto; }
.h-1\/2 { height: 50%; }
.h-1\/3 { height: 33.333333%; }
.h-2\/3 { height: 66.666667%; }
.h-1\/4 { height: 25%; }
.h-3\/4 { height: 75%; }

.min-h-0 { min-height: 0; }
.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }

.max-w-none { max-width: none; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 30rem; }
.max-w-md { max-width: 40rem; }
.max-w-lg { max-width: 50rem; }
.max-w-xl { max-width: 60rem; }
.max-w-2xl { max-width: 70rem; }
.max-w-full { max-width: 100%; }
.max-w-prose { max-width: 65ch; }

/* Object Fit */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.object-fill { object-fit: fill; }
.object-none { object-fit: none; }
.object-scale-down { object-fit: scale-down; }

/* Overflow */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-hidden { overflow-y: hidden; }

/* Z-index */
.z-below { z-index: var(--z-below); }
.z-normal { z-index: var(--z-normal); }
.z-sticky { z-index: var(--z-sticky); }
.z-header { z-index: var(--z-header); }
.z-dropdown { z-index: var(--z-dropdown); }
.z-modal { z-index: var(--z-modal); }
.z-toast { z-index: var(--z-toast); }
.z-tooltip { z-index: var(--z-tooltip); }
.z-top { z-index: var(--z-top); }

/* Border & Border Radius */
.border { border: 1px solid var(--color-border); }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--color-border); }
.border-r { border-right-width: 1px; border-right-style: solid; border-right-color: var(--color-border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--color-border); }
.border-l { border-left-width: 1px; border-left-style: solid; border-left-color: var(--color-border); }

.border-primary { border-color: var(--primary-color); }
.border-secondary { border-color: var(--secondary-color); }
.border-white { border-color: var(--white); }
.border-light { border-color: var(--color-border-light); }
.border-dark { border-color: var(--color-border-dark); }

.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }
.rounded-t-sm { border-top-left-radius: var(--radius-sm); border-top-right-radius: var(--radius-sm); }
.rounded-r-sm { border-top-right-radius: var(--radius-sm); border-bottom-right-radius: var(--radius-sm); }
.rounded-b-sm { border-bottom-right-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); }
.rounded-l-sm { border-top-left-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); }

/* Background Colors */
.bg-transparent { background-color: transparent; }
.bg-current { background-color: currentColor; }
.bg-white { background-color: var(--white); }
.bg-black { background-color: var(--black); }
.bg-primary { background-color: var(--primary-color); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-primary-ultra-light { background-color: var(--primary-ultra-light); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-secondary-dark { background-color: var(--secondary-dark); }
.bg-secondary-light { background-color: var(--secondary-light); }
.bg-secondary-ultra-light { background-color: var(--secondary-ultra-light); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-gray-300 { background-color: var(--gray-300); }
.bg-gray-400 { background-color: var(--gray-400); }
.bg-gray-500 { background-color: var(--gray-500); }
.bg-gray-600 { background-color: var(--gray-600); }
.bg-gray-700 { background-color: var(--gray-700); }
.bg-gray-800 { background-color: var(--gray-800); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-success { background-color: var(--color-success); }
.bg-success-light { background-color: var(--color-success-light); }
.bg-warning { background-color: var(--color-warning); }
.bg-warning-light { background-color: var(--color-warning-light); }
.bg-danger { background-color: var(--color-danger); }
.bg-danger-light { background-color: var(--color-danger-light); }
.bg-info { background-color: var(--color-info); }
.bg-info-light { background-color: var(--color-info-light); }

/* Background Gradients */
.bg-gradient-primary { 
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); 
}
.bg-gradient-secondary { 
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)); 
}
.bg-gradient-primary-secondary { 
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 
}
.bg-gradient-light { 
  background: linear-gradient(135deg, var(--white), var(--gray-100)); 
}
.bg-gradient-to-r { 
  background-image: linear-gradient(to right, var(--gradient-from), var(--gradient-to)); 
}
.bg-gradient-to-l { 
  background-image: linear-gradient(to left, var(--gradient-from), var(--gradient-to)); 
}
.bg-gradient-to-t { 
  background-image: linear-gradient(to top, var(--gradient-from), var(--gradient-to)); 
}
.bg-gradient-to-b { 
  background-image: linear-gradient(to bottom, var(--gradient-from), var(--gradient-to)); 
}

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Shadows */
.shadow-none { box-shadow: none; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-inner { box-shadow: var(--shadow-inner); }

/* Sizing for SVG & icons */
.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.5rem; height: 1.5rem; }
.icon-md { width: 2rem; height: 2rem; }
.icon-lg { width: 2.5rem; height: 2.5rem; }
.icon-xl { width: 3rem; height: 3rem; }

/* ===== 6. COMPONENTS ===== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-medium);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-primary);
  font-size: var(--text-sm);
}

.btn:focus {
  outline: 0;
  box-shadow: var(--shadow-focus);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn:disabled,
.btn.disabled {
  opacity: 0.65;
  pointer-events: none;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-icon-right {
  flex-direction: row-reverse;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  border: none;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width var(--transition-base);
}

.btn-text:hover {
  transform: none;
  box-shadow: none;
}

.btn-text:hover::after {
  width: 100%;
}

.btn-text i,
.btn-text svg {
  transition: transform var(--transition-base);
}

.btn-text:hover i,
.btn-text:hover svg {
  transform: translateX(4px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-md);
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.btn-full {
  width: 100%;
}

.btn-rounded {
  border-radius: var(--radius-full);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Button with shine animation */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  z-index: -1;
  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    left: 150%;
  }
}

/* Button Group */
.btn-group {
  display: inline-flex;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.btn-group .btn {
  border-radius: 0;
  margin: 0;
  flex: 1;
}

.btn-group .btn:not(:last-child) {
  border-right: 0;
}

.btn-group .btn:first-child {
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.btn-group .btn:last-child {
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-full);
  background-color: var(--gray-200);
  color: var(--gray-700);
  transition: all var(--transition-base);
}

.badge-sm {
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
}

.badge-lg {
  padding: 0.35rem 1rem;
  font-size: var(--text-sm);
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.badge-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.badge-success {
  background-color: var(--color-success);
  color: var(--white);
}

.badge-warning {
  background-color: var(--color-warning);
  color: var(--white);
}

.badge-danger {
  background-color: var(--color-danger);
  color: var(--white);
}

.badge-info {
  background-color: var(--color-info);
  color: var(--white);
}

.badge-outline {
  background-color: transparent;
  border: 1px solid currentColor;
}

.badge-primary.badge-outline {
  color: var(--primary-color);
}

.badge-secondary.badge-outline {
  color: var(--secondary-color);
}

/* Corner badge */
.corner-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.card-body {
  padding: var(--space-md);
  flex: 1 1 auto;
}

.card-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.card-subtitle {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.card-text {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-img-side {
  flex: 0 0 40%;
  align-self: stretch;
}

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

.card-horizontal {
  flex-direction: row;
}

.card-horizontal .card-body {
  flex: 1;
}

/* Card with hover effect */
.card-hover-reveal {
  overflow: hidden;
}

.card-hover-reveal .card-body {
  transform: translateY(100px);
  transition: transform var(--transition-base);
}

.card-hover-reveal:hover .card-body {
  transform: translateY(0);
}

/* Icon boxes */
.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  transition: all var(--transition-base);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  height: 100%;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.icon-box-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  font-size: var(--text-2xl);
  transition: all var(--transition-base);
}

.icon-box:hover .icon-box-icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotateY(360deg);
}

.icon-box-title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.icon-box-text {
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

/* Icon box with horizontal layout */
.icon-box-horizontal {
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
  gap: var(--space-md);
}

.icon-box-horizontal .icon-box-icon {
  margin-bottom: 0;
}

.icon-box-horizontal .icon-box-content {
  flex: 1;
}

/* Alerts */
.alert {
  position: relative;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background-color: var(--white);
  color: var(--text-color);
}

.alert-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-xs);
}

.alert-primary {
  background-color: var(--primary-ultra-light);
  border-color: var(--primary-light);
  color: var(--primary-color);
}

.alert-secondary {
  background-color: var(--secondary-ultra-light);
  border-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.alert-success {
  background-color: var(--color-success-light);
  border-color: var(--color-success);
  color: var(--color-success);
}

.alert-warning {
  background-color: var(--color-warning-light);
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.alert-danger {
  background-color: var(--color-danger-light);
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.alert-info {
  background-color: var(--color-info-light);
  border-color: var(--color-info);
  color: var(--color-info);
}

.alert-dismissible {
  padding-right: 3rem;
}

.alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: var(--space-sm);
  font-size: var(--text-xl);
  line-height: 1;
  color: inherit;
  opacity: 0.5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.alert-dismissible .close:hover {
  opacity: 1;
}

/* List groups */
.list-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.list-group-item {
  position: relative;
  display: block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--white);
  border: 1px solid var(--color-border);
}

.list-group-item:first-child {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.list-group-item:last-child {
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.list-group-item:not(:first-child) {
  border-top: 0;
}

.list-group-item-action {
  width: 100%;
  color: var(--text-color);
  text-align: inherit;
  transition: all var(--transition-base);
}

.list-group-item-action:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
  z-index: 1;
}

.list-group-item-primary {
  background-color: var(--primary-ultra-light);
  color: var(--primary-color);
}

.list-group-item-secondary {
  background-color: var(--secondary-ultra-light);
  color: var(--secondary-dark);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: var(--space-xs);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all var(--transition-base);
}

.social-icon:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.social-icon-sm {
  width: 32px;
  height: 32px;
  font-size: var(--text-sm);
}

.social-icon-lg {
  width: 48px;
  height: 48px;
  font-size: var(--text-lg);
}

/* Avatars */
.avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--gray-200);
  color: var(--gray-700);
  font-weight: var(--font-medium);
  overflow: hidden;
}

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

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: var(--text-xs);
}

.avatar-lg {
  width: 56px;
  height: 56px;
  font-size: var(--text-lg);
}

.avatar-xl {
  width: 72px;
  height: 72px;
  font-size: var(--text-xl);
}

.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  border: 2px solid var(--white);
  margin-left: -8px;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  z-index: var(--z-tooltip);
  width: max-content;
  max-width: 200px;
  padding: 0.5rem 1rem;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--black) transparent transparent transparent;
}

.tooltip-top .tooltip-text {
  bottom: 125%;
}

.tooltip-right .tooltip-text {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  margin-left: 10px;
}

.tooltip-right .tooltip-text::after {
  top: 50%;
  left: -10px;
  margin-top: -5px;
  border-color: transparent var(--black) transparent transparent;
}

.tooltip-bottom .tooltip-text {
  top: 125%;
  bottom: auto;
}

.tooltip-bottom .tooltip-text::after {
  bottom: 100%;
  top: auto;
  border-color: transparent transparent var(--black) transparent;
}

.tooltip-left .tooltip-text {
  top: 50%;
  right: 100%;
  left: auto;
  transform: translateY(-50%);
  margin-right: 10px;
}

.tooltip-left .tooltip-text::after {
  top: 50%;
  left: auto;
  right: -10px;
  margin-top: -5px;
  border-color: transparent transparent transparent var(--black);
}

/* ===== 7. HEADER & NAVIGATION ===== */
/* Top Bar */
.top-bar {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: var(--white);
  padding: 0.5rem 0;
  font-size: var(--text-sm);
  position: relative;
  z-index: var(--z-header);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.top-link {
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-link:hover {
  color: var(--white);
}

.top-link i {
  color: var(--secondary-color);
}

.top-address {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-address i {
  color: var(--secondary-color);
}

.top-social {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.language-selector {
  margin-left: var(--space-sm);
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: var(--space-sm);
}

.language-selector a {
  padding: 0 0.35rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: all var(--transition-base);
  position: relative;
}

.language-selector a:hover,
.language-selector a.active {
  color: var(--white);
}

.language-selector a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 1px;
}

/* ===== RESET CSS PER IL MENU DI NAVIGAZIONE ===== */
.site-header *,
.site-header *::before,
.site-header *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== VARIABILI CSS GLOBALI ===== */
:root {
  --menu-primary-color: #152642;  /* Colore blu scuro principale */
  --menu-secondary-color: #D0962D;  /* Colore oro/ocra per accenti */
  --menu-text-color: #333333;  /* Colore testo principale */
  --menu-text-color-light: #666666;  /* Colore testo secondario */
  --menu-active-color: #D0962D;  /* Colore elemento attivo */
  --menu-hover-color: #D0962D;  /* Colore hover */
  --menu-bg-color: #ffffff;  /* Colore sfondo menu */
  --menu-mobile-bg: rgba(255, 255, 255, 0.98);  /* Sfondo mobile leggermente trasparente */
  --menu-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Ombra standard */
  --menu-transition: all 0.3s ease;  /* Transizione standard */
  --menu-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;  /* Font principale */
  --menu-border-radius: 4px;  /* Bordo arrotondato standard */
  --menu-cta-color: #ffffff;  /* Colore testo pulsante CTA */
  --menu-cta-bg: #152642;  /* Sfondo pulsante CTA */
  --menu-cta-hover-bg: #0f1c31;  /* Sfondo hover pulsante CTA */
  --menu-height: 80px;  /* Altezza menu desktop */
  --menu-height-mobile: 70px;  /* Altezza menu mobile */
  --menu-z-index: 1000;  /* Z-index menu principale */
  --menu-z-index-mobile: 1001;  /* Z-index menu mobile */
}

/* ===== VARIABILI DEL MENU ===== */
:root {
    --menu-font-family: 'Roboto', sans-serif;
    --menu-z-index: 1000;
    --menu-z-index-mobile: 1001;
    --menu-height: 90px;
    --menu-height-mobile: 70px;
    --menu-transition: all 0.3s ease;
    --menu-bg-color: #ffffff;
    --menu-mobile-bg: #ffffff;
    --menu-text-color: #222;
    --menu-hover-color: #d0962d;
    --menu-active-color: #d0962d;
    --menu-secondary-color: #7a5c0b;
    --menu-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --menu-border-radius: 6px;
    --menu-cta-bg: #d0962d;
    --menu-cta-hover-bg: #b07b1b;
    --menu-cta-color: #ffffff;
}

/* ===== STILI PRINCIPALI DEL MENU ===== */
.site-header {
    position: relative;
    font-family: var(--menu-font-family);
    z-index: var(--menu-z-index);
}

.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--menu-bg-color);
    box-shadow: var(--menu-shadow);
    height: var(--menu-height);
    transition: var(--menu-transition);
    z-index: var(--menu-z-index);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo styling */
.site-logo {
    display: flex;
    align-items: center;
    z-index: var(--menu-z-index-mobile);
    position: relative;
}

.site-logo img {
    max-height: 75px;
    width: auto;
    transition: var(--menu-transition);
}

/* Main menu links */
.menu-primary {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.menu-link {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    color: var(--menu-text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    height: 100%;
    transition: var(--menu-transition);
    position: relative;
}

/* Hover effect con linea sotto */
.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--menu-active-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu-link:hover,
.menu-link.active {
    color: var(--menu-hover-color);
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 60%;
}

/* CTA Button */
.menu-cta {
    margin-left: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--menu-cta-bg);
    color: var(--menu-cta-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    border-radius: var(--menu-border-radius);
    transition: var(--menu-transition);
    box-shadow: 0 4px 6px rgba(21, 38, 66, 0.2);
    text-align: center;
    border: none;
    cursor: pointer;
    position: sticky;
    top: 25px;
}

.cta-button:hover {
    background-color: var(--menu-cta-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(21, 38, 66, 0.25);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(21, 38, 66, 0.2);
}

/* Mobile toggle button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: var(--menu-z-index-mobile);
}

.menu-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--menu-text-color);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: var(--menu-transition);
}

.menu-toggle-bar:nth-child(1) {
    top: 0;
}

.menu-toggle-bar:nth-child(2),
.menu-toggle-bar:nth-child(3) {
    top: 10px;
}

.menu-toggle-bar:nth-child(4) {
    top: 20px;
}

/* Active state for hamburger icon */
.menu-toggle.active .menu-toggle-bar:nth-child(1),
.menu-toggle.active .menu-toggle-bar:nth-child(4) {
    opacity: 0;
    transform: scale(0.2);
}

.menu-toggle.active .menu-toggle-bar:nth-child(2) {
    transform: rotate(45deg);
}

.menu-toggle.active .menu-toggle-bar:nth-child(3) {
    transform: rotate(-45deg);
}

/* ===== STILI PER MENU DROPDOWN ===== */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--menu-bg-color);
    min-width: 200px;
    box-shadow: var(--menu-shadow);
    border-radius: var(--menu-border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--menu-transition);
    z-index: calc(var(--menu-z-index) + 1);
    padding: 8px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--menu-text-color);
    text-decoration: none;
    font-size: 15px;
    transition: var(--menu-transition);
}

.dropdown-item:hover {
    background-color: rgba(208, 150, 45, 0.1);
    color: var(--menu-hover-color);
    padding-left: 25px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .main-navigation {
        height: var(--menu-height-mobile);
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .site-logo img {
        max-height: 75px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-primary {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 80%;
        height: 100vh;
        background-color: var(--menu-mobile-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 0 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: var(--menu-z-index-mobile);
    }
    
    .menu-primary.active {
        right: 0;
    }
    
    .menu-item {
        width: 100%;
        height: auto;
    }
    
    .menu-link {
        width: 100%;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: flex-start;
    }
    
    .menu-link::after {
        display: none;
    }
    
    /* Stile alternativo per hover su mobile */
    .menu-link:hover,
    .menu-link.active {
        background-color: rgba(208, 150, 45, 0.1);
        color: var(--menu-hover-color);
    }
    
    /* Stile CTA su mobile */
    .menu-cta {
        margin: 20px 25px;
        width: calc(100% - 50px);
    }
    
    .cta-button {
        width: 100%;
        padding: 15px;
    }
    
    /* Dropdown su mobile */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        background-color: rgba(0, 0, 0, 0.02);
    }
    
    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 8px 0;
    }
    
    .dropdown-toggle {
        position: absolute;
        right: 15px;
        top: 15px;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        cursor: pointer;
        z-index: 2;
    }
    
    .dropdown-toggle::after {
        content: '+';
        font-size: 20px;
        color: var(--menu-text-color);
        transition: var(--menu-transition);
    }
    
    .has-dropdown.active .dropdown-toggle::after {
        transform: rotate(45deg);
        color: var(--menu-hover-color);
    }
    
    .dropdown-item {
        padding: 12px 25px 12px 35px;
    }
}

/* Stile per schermi molto piccoli (telefoni) */
@media (max-width: 576px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .site-logo img {
        max-height: 75px;
    }
    
    .menu-primary {
        width: 260px;
    }
    
    .cta-button {
        padding: 12px;
        font-size: 14px;
    }
}

/* ===== OVERLAY PER MOBILE ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: calc(var(--menu-z-index-mobile) - 1);
    opacity: 0;
    visibility: hidden;
    transition: var(--menu-transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== PREVENZIONE SCROLL SU BODY QUANDO MENU MOBILE È APERTO ===== */
body.menu-open {
    overflow: hidden;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.menu-link:focus-visible,
.cta-button:focus-visible,
.menu-toggle:focus-visible,
.dropdown-item:focus-visible {
    outline: 2px solid var(--menu-secondary-color);
    outline-offset: 2px;
}

/* ===== ANIMAZIONI PER CARICAMENTO DEL MENU ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    animation: fadeInDown 0.3s ease forwards;
    opacity: 0;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.15s; }
.menu-item:nth-child(3) { animation-delay: 0.2s; }
.menu-item:nth-child(4) { animation-delay: 0.25s; }
.menu-item:nth-child(5) { animation-delay: 0.3s; }
.menu-item:nth-child(6) { animation-delay: 0.35s; }
.menu-item:nth-child(7) { animation-delay: 0.4s; }

.menu-cta {
    animation: fadeInDown 0.3s ease forwards;
    animation-delay: 0.45s;
    opacity: 0;
}

/* ===== SUPPORTO BROWSER LEGACY ===== */
@supports not (backdrop-filter: blur(3px)) {
    .menu-overlay {
        background-color: rgba(0, 0, 0, 0.7);
    }
    
    .menu-primary {
        background-color: var(--menu-bg-color);
    }
}

/* ===== STICKY HEADER CON EFFETTO SHRINK ===== */
.main-navigation.sticky {
    height: 85px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-navigation.sticky .site-logo img {
    max-height: 75px;
}

@media (max-width: 992px) {
    .main-navigation.sticky {
        height: 80px;
    }
    
    .main-navigation.sticky .site-logo img {
        max-height: 75px;
    }
}

/* CSS migliorato per risolvere tutti i problemi del menu mobile */

/* Variabili per facilità di manutenzione */
:root {
    --menu-z-index: 1000;
    --menu-z-index-overlay: 1001;
    --menu-z-index-menu: 1002;
    --menu-z-index-toggle: 1003;
    --menu-transition: all 0.3s ease;
    --menu-bg-color: #ffffff;
    --menu-text-color: #222;
    --menu-hover-color: #d0962d;
    --menu-active-color: #d0962d;
    --menu-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  /* ===== STILI PRINCIPALI DEL MENU ===== */
  .site-header {
    position: relative;
    font-family: var(--menu-font-family, 'Roboto', sans-serif);
    z-index: var(--menu-z-index);
  }
  
  .main-navigation {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--menu-bg-color);
    box-shadow: var(--menu-shadow);
    height: var(--menu-height, 90px);
    transition: var(--menu-transition);
    z-index: var(--menu-z-index);
  }
  
  /* Mobile toggle button con z-index corretto */
  .menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: var(--menu-z-index-toggle);
  }
  
  /* Garantisci che l'icona sia sempre visibile e cliccabile */
  @media (max-width: 992px) {
    .menu-toggle {
      display: block !important;
    }
  }
  
  /* Barre del menu toggle */
  .menu-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--menu-text-color);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: var(--menu-transition);
  }
  
  .menu-toggle-bar:nth-child(1) {
    top: 0;
  }
  
  .menu-toggle-bar:nth-child(2),
  .menu-toggle-bar:nth-child(3) {
    top: 10px;
  }
  
  .menu-toggle-bar:nth-child(4) {
    top: 20px;
  }
  
  /* Animazione burger quando attivo */
  .menu-toggle.active .menu-toggle-bar:nth-child(1),
  .menu-toggle.active .menu-toggle-bar:nth-child(4) {
    opacity: 0;
    transform: scale(0.2);
  }
  
  .menu-toggle.active .menu-toggle-bar:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .menu-toggle.active .menu-toggle-bar:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  /* Menu mobile con z-index corretto */
  @media (max-width: 992px) {
    .menu-primary {
      position: fixed;
      top: 0;
      right: -100%;
      width: 300px;
      max-width: 80%;
      height: 100vh;
      background-color: var(--menu-bg-color);
      flex-direction: column;
      justify-content: flex-start;
      padding: 80px 0 30px;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      overflow-y: auto;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: var(--menu-z-index-menu);
    }
    
    /* Classe active garantisce visibilità */
    .menu-primary.active {
      right: 0 !important;
      display: flex !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    /* Overlay per menu mobile */
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(3px);
      -webkit-backdrop-filter: blur(3px);
      z-index: var(--menu-z-index-overlay);
      opacity: 0;
      visibility: hidden;
      transition: var(--menu-transition);
    }
    
    .menu-overlay.active {
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    /* Stile menu items */
    .menu-item {
      width: 100%;
      height: auto;
    }
    
    .menu-link {
      width: 100%;
      padding: 15px 25px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
      justify-content: flex-start;
    }
    
    /* Disabilita l'animazione della linea sotto quando su mobile */
    .menu-link::after {
      display: none;
    }
    
    /* Stile alternativo per hover su mobile */
    .menu-link:hover,
    .menu-link.active {
      background-color: rgba(208, 150, 45, 0.1);
      color: var(--menu-hover-color);
    }
    
    /* Dropdown su mobile */
    .dropdown-menu {
      position: static;
      width: 100%;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      max-height: 0;
      overflow: hidden;
      padding: 0;
      background-color: rgba(0, 0, 0, 0.02);
      transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .has-dropdown.active .dropdown-menu {
      max-height: 500px !important;
      padding: 8px 0;
      overflow: visible;
    }
    
    /* Toggle dropdown */
    .dropdown-toggle {
      position: absolute;
      right: 15px;
      top: 15px;
      width: 30px;
      height: 30px;
      text-align: center;
      line-height: 30px;
      cursor: pointer;
      z-index: 2;
      background: transparent;
      border: none;
      padding: 0;
    }
    
    .dropdown-toggle::after {
      content: '+';
      font-size: 20px;
      color: var(--menu-text-color);
      transition: var(--menu-transition);
    }
    
    .has-dropdown.active .dropdown-toggle::after {
      transform: rotate(45deg);
      color: var(--menu-hover-color);
    }
    
    .dropdown-item {
      padding: 12px 25px 12px 35px;
    }
    
    /* Stile CTA su mobile */
    .menu-cta {
      margin: 20px 25px;
      width: calc(100% - 50px);
    }
    
    .cta-button {
      width: 100%;
      padding: 15px;
    }
  }
  
  /* Blocca scrolling quando menu è aperto */
  body.menu-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
  }
/* ===== HERO SECTION - CSS COMPLETAMENTE OTTIMIZZATO ===== */

/* Struttura base della sezione Hero */
.hero {
    --hero-padding-top: clamp(6rem, 10vh, 8rem);
    --hero-padding-bottom: clamp(4rem, 8vh, 6rem);
    
    position: relative;
    min-height: 90vh;
    padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
    overflow: hidden;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    z-index: 1;
  }
  
  /* Pattern di sfondo decorativo */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23152642' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    animation: patternMove 60s linear infinite;
  }
  
  /* Container principale che contiene tutto il contenuto della Hero */
  .hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
    position: relative;
  }
  
  /* Contenuto testuale della Hero (titoli, sottotitoli, CTA) */
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
    position: relative;
    z-index: 2;
  }
  
  /* Badge "Dal 1982" in alto */
  .hero-subtitle-top {
    display: inline-block;
    font-size: clamp(0.875rem, 0.8rem + 0.5vw, 1rem);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #D0962D;
    background: linear-gradient(to right, rgba(208, 150, 45, 0.12) 0%, rgba(208, 150, 45, 0.03) 100%);
    padding: 0.4em 1.2em;
    border-radius: 100px;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(208, 150, 45, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(208, 150, 45, 0.15);
  }
  
  /* Effetto shine animation sul badge */
  .hero-subtitle-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    animation: shine 4s infinite;
  }
  
  /* Titolo principale */
  .hero-title {
    font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: #152642;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
    position: relative;
  }
  
  /* Linea decorativa dopo il titolo */
  .hero-title::after {
    content: '';
    display: block;
    width: clamp(60px, 10vw, 100px);
    height: 4px;
    margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
    background: linear-gradient(to right, #D0962D, #e5ba5c);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(208, 150, 45, 0.2);
  }
  
  /* Sottotitolo descrittivo */
  .hero-subtitle {
    font-size: clamp(1.125rem, 1rem + 0.8vw, 1.375rem);
    line-height: 1.6;
    color: #666666;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 600px;
  }
  
  /* Container per i pulsanti CTA */
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
  }
  
  /* Stile dei pulsanti primari con effetto shine */
  .hero-cta .btn-primary {
    background: linear-gradient(135deg, #152642, #1d3259);
    color: white;
    padding: clamp(0.875rem, 1.5vw, 1.125rem) clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 100px;
    font-weight: 600;
    font-size: clamp(0.9375rem, 0.875rem + 0.5vw, 1.0625rem);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 25px rgba(21, 38, 66, 0.2);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    z-index: 1;
  }
  
  .hero-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(21, 38, 66, 0.25);
  }
  
  .hero-cta .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(21, 38, 66, 0.2);
  }
  
  /* Effetto shine per il pulsante primario */
  .btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    z-index: -1;
    animation: btnShine 3s infinite;
  }
  
  /* Pulsante secondario outline */
  .hero-cta .btn-outline {
    background-color: transparent;
    color: #152642;
    padding: clamp(0.8125rem, 1.4vw, 1.0625rem) clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 100px;
    font-weight: 500;
    font-size: clamp(0.9375rem, 0.875rem + 0.5vw, 1.0625rem);
    border: 2px solid #152642;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    white-space: nowrap;
  }
  
  .hero-cta .btn-outline:hover {
    background-color: #152642;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(21, 38, 66, 0.15);
  }
  
  .hero-cta .btn-outline:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 38, 66, 0.1);
  }
  
  /* Features di fiducia nella parte inferiore */
  .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.25rem);
  }
  
  .hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.875rem, 0.8rem + 0.5vw, 1rem);
    font-weight: 500;
    color: #555555;
    position: relative;
  }
  
  .hero-feature i {
    color: #D0962D;
    font-size: 1.1em;
  }
  
  /* Container per l'immagine principale */
  .hero-image {
    position: relative;
    height: clamp(300px, 60vw, 550px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  /* Overlay per l'immagine */
  .hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(21, 38, 66, 0.4), rgba(21, 38, 66, 0.1));
    z-index: 1;
    pointer-events: none;
  }
  
  .hero-image img {
    transform: scale(1.05) !important; /* Forza il valore iniziale */
    transition: none !important; /* Disabilita transizioni */
    will-change: auto !important; /* Ottimizzazione */
  }
  
  /* Prevenzione effetto parallasse su mobile */
  .parallax-bg {
    transform: none !important;
  }

  
  
  .hero-image:hover img {
    transform: scale(1.12);
  }
  
  /* Badge con gli anni di esperienza */
  .hero-badge {
    position: absolute;
    right: clamp(1rem, 3vw, 2rem);
    top: clamp(1rem, 3vw, 2rem);
    width: clamp(90px, 20vw, 130px);
    height: clamp(90px, 20vw, 130px);
    background: linear-gradient(135deg, #D0962D, #e5ba5c);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(208, 150, 45, 0.25);
    transform: rotate(10deg);
    border: 3px solid rgba(255, 255, 255, 0.25);
    animation: float 6s infinite ease-in-out;
  }
  
  .badge-content {
    text-align: center;
    color: white;
    transform: rotate(-10deg);
    padding: 0.5rem;
  }
  
  .badge-years {
    font-size: clamp(1.75rem, 1.5rem + 2vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .badge-text {
    font-size: clamp(0.6875rem, 0.65rem + 0.5vw, 0.8125rem);
    font-weight: 500;
    line-height: 1.3;
    max-width: 80px;
    margin-top: 0.5rem;
  }
  
  /* Indicatore di scroll */
  .hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666666;
    font-size: clamp(0.8125rem, 0.75rem + 0.5vw, 0.9375rem);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s forwards 1s, bounce 2s infinite 2s;
  }
  
  .scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #666666;
    border-radius: 100px;
    position: relative;
    margin-bottom: 0.5rem;
  }
  
  .scroll-wheel {
    width: 6px;
    height: 6px;
    background-color: #666666;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
  }
  
  /* ===== MEDIA QUERIES PER RESPONSIVITÀ PERFETTA ===== */
  
  /* Extra large devices (above 1400px) */
  @media (min-width: 1400px) {
    .hero-container {
      grid-template-columns: 1fr 1fr;
    }
    
    .hero-content {
      margin-right: 2rem;
    }
    
    .hero-badge {
      right: 2.5rem;
      top: 2.5rem;
    }
  }
  
  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) and (max-width: 1399px) {
    .hero-container {
      grid-template-columns: 1fr 1fr;
    }
    
    .hero-content {
      padding-right: 1rem;
    }
  }
  
  /* Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) and (max-width: 991px) {
    .hero-container {
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    
    .hero-content {
      padding-right: 0;
    }
    
    .hero-title {
      font-size: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    }
    
    .hero-image {
      height: clamp(280px, 50vw, 400px);
    }
    
    .hero-badge {
      width: 100px;
      height: 100px;
    }
    
    .badge-years {
      font-size: 2rem;
    }
  }
  
  /* Small devices (landscape phones, 576px and up) */
  @media (min-width: 576px) and (max-width: 767px) {
    .hero-container {
      grid-template-columns: 1fr;
    }
    
    .hero-content {
      order: 2;
      text-align: center;
      margin: 0 auto;
    }
    
    .hero-title::after {
      margin: 1rem auto 0;
    }
    
    .hero-subtitle {
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-image {
      order: 1;
      max-width: 500px;
      margin: 0 auto;
      height: 350px;
    }
    
    .hero-cta {
      justify-content: center;
    }
    
    .hero-features {
      justify-content: center;
    }
  }
  
  /* Extra small devices (portrait phones, less than 576px) */
  @media (max-width: 575px) {
    .hero {
      --hero-padding-top: 5rem;
      --hero-padding-bottom: 3rem;
    }
    
    .hero-container {
      grid-template-columns: 1fr;
    }
    
    .hero-content {
      order: 2;
      text-align: center;
    }
    
    .hero-title {
      font-size: clamp(2rem, 1.5rem + 2.5vw, 2.5rem);
    }
    
    .hero-title::after {
      margin: 0.75rem auto 0;
    }
    
    .hero-subtitle {
      font-size: 1rem;
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-image {
      order: 1;
      height: 280px;
      margin-bottom: 2rem;
    }
    
    .hero-badge {
      width: 80px;
      height: 80px;
      right: 1rem;
      top: 1rem;
    }
    
    .badge-years {
      font-size: 1.5rem;
    }
    
    .badge-text {
      font-size: 0.675rem;
      max-width: 60px;
    }
    
    .hero-cta {
      flex-direction: column;
      align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
      width: 100%;
    }
    
    .hero-features {
      justify-content: center;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
  }
  
  /* ===== ANIMAZIONI ===== */
  @keyframes shine {
    to {
      left: 200%;
    }
  }
  
  @keyframes btnShine {
    0% {
      left: -100%;
    }
    20%, 100% {
      left: 100%;
    }
  }
  
  @keyframes float {
    0%, 100% {
      transform: rotate(10deg) translateY(0);
    }
    50% {
      transform: rotate(10deg) translateY(-10px);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-10px);
    }
    60% {
      transform: translateX(-50%) translateY(-5px);
    }
  }
  
  @keyframes scrollWheel {
    0% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
  }
  
  @keyframes patternMove {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 100px 100px;
    }
  }
  

 /* ===== ABOUT & STORY SECTION - MINIMALIST PREMIUM REDESIGN 2025 ===== */
.about-story {
    position: relative;
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: linear-gradient(135deg, var(--primary-dark, #091423) 0%, #0b1525 100%);
    color: #fff;
    overflow: hidden;
    z-index: 1;
  }
  
  /* Background elements */
  .about-story-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
  }
  
  /* Subtle background pattern */
  .about-story-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px;
    opacity: 0.4;
  }
  
  /* Decorative nebula */
  .about-story-nebula {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(
      ellipse at center,
      rgba(208, 150, 45, 0.15) 0%,
      rgba(208, 150, 45, 0.05) 40%,
      rgba(21, 38, 66, 0) 70%
    );
    filter: blur(50px);
    opacity: 0.4;
    border-radius: 50%;
    animation: nebulaGlow 15s infinite alternate ease-in-out;
    z-index: -1;
  }
  
  /* Container */
  .about-story-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
  }
  
  /* Header styles */
  .about-story-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  
  .about-story .section-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #D0962D;
    margin-bottom: 1rem;
    background-color: rgba(208, 150, 45, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* History icon */
  .about-story .section-subtitle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .about-story .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Underline effect */
  .about-story .section-title::after {
    content: '';
    display: block;
    width: clamp(60px, 12vw, 100px);
    height: 3px;
    background: linear-gradient(to right, #D0962D, rgba(208, 150, 45, 0.3));
    margin: 1rem auto 0;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(208, 150, 45, 0.2);
  }
  
  .about-story .section-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
  }
  
  /* ===== MOBILE TIMELINE CAROUSEL ===== */
  .story-timeline-carousel {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden; /* Ensure proper containment */
    width: 100%;
    height: auto;
  }
  
  .story-timeline-carousel .swiper-wrapper {
    display: flex;
    transition-property: transform;
  }
  
  .story-timeline-carousel .swiper-slide {
    width: 100%;
    flex-shrink: 0;
    height: auto;
    position: relative;
  }
  
  /* Desktop Grid (hidden on mobile) */
  .story-timeline-grid {
    display: none;
  }
  
  /* Swiper controls */
  .story-timeline-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
  }
  
  .story-timeline-carousel .swiper-pagination {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0.5rem;
  }
  
  .story-timeline-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
  }
  
  .story-timeline-carousel .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background-color: #D0962D;
  }
  
  .story-timeline-carousel .swiper-button-next,
  .story-timeline-carousel .swiper-button-prev {
    position: relative;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #D0962D;
    transition: all 0.3s ease;
    cursor: pointer;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
  }
  
  .story-timeline-carousel .swiper-button-next:after,
  .story-timeline-carousel .swiper-button-prev:after {
    font-family: "swiper-icons";
    font-size: 1.25rem;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
  }
  
  .story-timeline-carousel .swiper-button-next:after {
    content: 'next';
  }
  
  .story-timeline-carousel .swiper-button-prev:after {
    content: 'prev';
  }
  
  .story-timeline-carousel .swiper-button-next:hover,
  .story-timeline-carousel .swiper-button-prev:hover {
    background-color: rgba(208, 150, 45, 0.2);
  }
  
  /* ===== STORY CARD DESIGN ===== */
  .story-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: clamp(1.5rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  /* Swiper slide containing the story card */
  .story-timeline-carousel .swiper-slide .story-card {
    margin: 0 auto;
    max-width: 90%;
  }
  
  .story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(208, 150, 45, 0.2);
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Glowing border effect */
  .story-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
      transparent, 
      rgba(208, 150, 45, 0.05), 
      transparent);
    z-index: -1;
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .story-card:hover::before {
    opacity: 1;
    animation: glowingBorder 3s infinite linear;
  }
  
  .story-year {
    position: absolute;
    top: clamp(1rem, 2vw, 1.5rem);
    right: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 50%;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .story-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding-right: clamp(60px, 12vw, 70px); /* Space for year badge */
  }
  
  .story-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    line-height: 1.6;
    margin-top: auto; /* Pushes the text to the bottom of flexbox */
  }
  
  /* Emphasis on strong tags */
  .story-text strong {
    color: #D0962D;
    font-weight: 600;
    position: relative;
    display: inline-block;
  }
  
  /* Animation for emphasized words */
  .story-text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D0962D;
    opacity: 0.6;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .story-card:hover .story-text strong::after {
    transform: scaleX(1);
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes nebulaGlow {
    0%, 100% {
      opacity: 0.4;
      transform: scale(1);
    }
    50% {
      opacity: 0.6;
      transform: scale(1.05);
    }
  }
  
  @keyframes glowingBorder {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 200% 0%;
    }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .story-timeline-carousel .swiper-slide .story-card {
      max-width: 95%;
    }
    
    .story-timeline-carousel {
      padding: 0 1rem;
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    .story-timeline-carousel .swiper-slide {
      width: 80%;
    }
    
    .story-year {
      top: clamp(1.25rem, 2.5vw, 1.75rem);
      right: clamp(1.25rem, 2.5vw, 1.75rem);
      width: clamp(56px, 11vw, 70px);
      height: clamp(56px, 11vw, 70px);
      font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    }
    
    .story-title {
      font-size: clamp(1.375rem, 2.5vw, 1.75rem);
      margin-bottom: 1.25rem;
    }
    
    .story-text {
      font-size: clamp(1rem, 1.5vw, 1.125rem);
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    /* Hide mobile carousel and show desktop grid */
    .story-timeline-carousel {
      display: none !important;
    }
    
    .story-timeline-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(1rem, 2vw, 2rem);
      margin-top: 3rem;
    }
    
    .about-story-header {
      text-align: left;
      max-width: 80%;
      margin-bottom: clamp(3rem, 6vw, 4.5rem);
    }
    
    .about-story .section-title::after {
      margin-left: 0;
      margin-right: auto;
    }
    
    .about-story .section-desc {
      margin-left: 0;
      margin-right: auto;
    }
    
    .story-card {
      min-height: 220px;
      margin-bottom: 0;
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    .about-story {
      padding: clamp(5rem, 12vw, 9rem) 0;
    }
    
    .about-story-container {
      max-width: 1300px;
    }
    
    .story-timeline-grid {
      gap: clamp(1.5rem, 2.5vw, 2.5rem);
    }
    
    .story-card {
      padding: clamp(2rem, 5vw, 2.5rem);
      min-height: 240px;
    }
    
    /* Add more desktop-specific decorative elements */
    .about-story::after {
      content: '';
      position: absolute;
      bottom: -50px;
      right: -50px;
      width: 200px;
      height: 200px;
      border: 2px dashed rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      z-index: 0;
    }
  }
  
/* ==========================================================================
   MODENA FORNI - SEZIONE PRODOTTI AVANZATA
   Stile CSS ottimizzato per la sezione prodotti e relativi modal
   Realizzato per garantire un'esperienza utente eccellente su ogni dispositivo
   ========================================================================== */

/* ===== VARIABILI PERSONALIZZATE PER I PRODOTTI ===== */
:root {
    /* Colori specifici per i prodotti */
    --product-highlight: rgba(208, 150, 45, 0.08);
    --product-hover-bg: rgba(21, 38, 66, 0.02);
    --product-active-border: rgba(208, 150, 45, 0.5);
    --product-shadow: 0 10px 30px rgba(21, 38, 66, 0.08);
    --product-hover-shadow: 0 20px 40px rgba(21, 38, 66, 0.12);
    --product-card-radius: 16px;
    --product-badge-radius: 30px;
    
    /* Animazioni */
    --product-transition: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --product-hover-scale: scale(1.02);
    --product-image-hover-scale: scale(1.08);
    
    /* Spaziatura specifica */
    --product-card-padding: clamp(1.25rem, 1rem + 1vw, 1.5rem);
    --product-grid-gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
    
    /* Z-index specifici */
    --z-product-badge: 2;
    --z-product-quick-actions: 3;
    
    /* Dimensioni card prodotti */
    --product-card-height: 470px;
    --product-image-height: 240px;
    --product-modal-image-height: clamp(300px, 30vw, 450px);
    
    /* Effetti overlay */
    --product-overlay-gradient: linear-gradient(to top, rgba(21, 38, 66, 0.85), rgba(21, 38, 66, 0.2));
    --product-badge-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  }
  
/* ===== FEATURED PRODUCTS SECTION - LUXURY REDESIGN 2025 ===== */
.featured-products {
    position: relative;
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: linear-gradient(170deg, #f8f9fb 0%, #ffffff 100%);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Background accent elements */
  .featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23152642' fill-opacity='0.02'/%3E%3C/svg%3E");
    background-attachment: fixed;
    opacity: 0.7;
    z-index: -1;
  }
  
  .featured-products::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(208, 150, 45, 0.05) 0%, rgba(208, 150, 45, 0) 70%);
    z-index: -1;
  }
  
  /* Section container */
  .product-section-container {
    position: relative;
    z-index: 2;
  }
  
  /* Section header */
  .product-section-header {
    text-align: center;
    position: relative;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
  }
  
  .product-section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background-color: rgba(208, 150, 45, 0.05);
    border-radius: 10px;
    z-index: -1;
  }
  
  .product-section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
    padding: 0.5rem 1.5rem;
    background-color: rgba(208, 150, 45, 0.08);
    border-radius: 100px;
    box-shadow: 0 3px 10px rgba(208, 150, 45, 0.1);
  }
  
  .product-section-subtitle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .product-section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    position: relative;
  }
  
  .product-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), rgba(208, 150, 45, 0.3));
    margin: var(--space-sm) auto 0;
    border-radius: 3px;
  }
  
  .product-section-desc {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
  }
  
  /* Product Quick Filters */
  .product-quick-filters {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 2;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    align-items: center;
  }
  
  .product-quick-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }
  
  /* Style for filter pills */
  .product-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    min-width: 80px;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
  }
  
  /* Pill hover & active states */
  .product-filter-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(208, 150, 45, 0.2);
  }
  
  .product-filter-pill.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(21, 38, 66, 0.2);
    transform: translateY(-3px);
  }
  
  /* Add animated dot indicator for active state */
  .product-filter-pill.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  /* Product grid styling */
  .featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    position: relative;
    z-index: 2;
  }
  
  /* Product Card Styling */
  .product-card {
    position: relative;
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
  }
  
  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(208, 150, 45, 0.08);
  }
  
  /* Product image container */
  .product-image-container {
    position: relative;
    height: clamp(200px, 50vw, 280px);
    overflow: hidden;
    background-color: var(--gray-50);
  }
  
  .product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  .product-card:hover .product-image-container img {
    transform: scale(1.1);
  }
  
  /* Product badges */
  .product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(208, 150, 45, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .product-status {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 0.4rem 0.9rem;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    border-radius: 8px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .product-status.available {
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--color-success);
  }
  
  .product-status.sold {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--color-danger);
  }
  
  .product-status.new {
    background-color: rgba(2, 119, 189, 0.1);
    color: var(--color-info);
  }
  
  /* Product content area */
  .product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .product-category {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
  }
  
  .product-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
  }
  
  .product-card:hover .product-title {
    color: var(--secondary-color);
  }
  
  /* Product specifications */
  .product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  }
  
  .product-spec {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--text-xs);
    color: var(--text-light);
  }
  
  .product-spec i {
    color: var(--primary-color);
    font-size: 0.9em;
  }
  
  .product-card:hover .product-spec {
    color: var(--text-dark);
  }
  
  .product-card:hover .product-spec i {
    color: var(--secondary-color);
  }
  
  /* Price and details container */
  .product-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }
  
  .product-price {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    transition: color 0.3s ease;
    display: flex;
    align-items: baseline;
  }
  
  .product-card:hover .product-price {
    color: var(--secondary-color);
  }
  
  .product-price .currency {
    font-size: 0.6em;
    font-weight: var(--font-medium);
    margin-left: 0.25rem;
    opacity: 0.8;
  }
  
  /* Details button */
  .product-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--gray-100);
    color: var(--primary-color);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    padding: 0.5rem 0.9rem;
    border-radius: 100px;
    transition: all 0.3s ease;
  }
  
  .product-detail-btn i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
  }
  
  .product-card:hover .product-detail-btn {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(21, 38, 66, 0.2);
  }
  
  .product-card:hover .product-detail-btn i {
    transform: translateX(3px);
  }
  
  /* Image overlay with quick actions */
  .product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 38, 66, 0.8), rgba(21, 38, 66, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  .product-card:hover .product-image-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Quick action buttons */
  .product-quick-action {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--text-md);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    transform: translateY(20px);
    opacity: 0;
    cursor: pointer;
  }
  
  .product-card:hover .product-quick-action {
    transform: translateY(0);
    opacity: 1;
  }
  
  .product-card:hover .product-quick-action:nth-child(1) {
    transition-delay: 0.05s;
  }
  
  .product-card:hover .product-quick-action:nth-child(2) {
    transition-delay: 0.1s;
  }
  
  .product-quick-action:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
  }
  
  /* Loading skeleton styles */
  .product-skeleton {
    background-color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    height: 100%;
  }
  
  .product-skeleton-image {
    height: clamp(200px, 50vw, 280px);
    background: linear-gradient(110deg, var(--gray-200) 8%, var(--gray-100) 18%, var(--gray-200) 33%);
    background-size: 200% 100%;
    animation: shimmerEffect 1.5s infinite linear;
  }
  
  .product-skeleton-content {
    padding: 1.5rem;
  }
  
  .skeleton-text {
    height: 12px;
    margin-bottom: 12px;
    background: linear-gradient(110deg, var(--gray-200) 8%, var(--gray-100) 18%, var(--gray-200) 33%);
    background-size: 200% 100%;
    animation: shimmerEffect 1.5s infinite linear;
    border-radius: var(--radius-sm);
  }
  
  .skeleton-text.sm { width: 40%; height: 10px; }
  .skeleton-text.md { width: 70%; height: 15px; }
  .skeleton-text.lg { width: 85%; height: 20px; }
  
  @keyframes shimmerEffect {
    to { background-position-x: -200%; }
  }
  
  /* View all products button */
  .products-cta {
    text-align: center;
    margin-top: clamp(2rem, 4vw, 3rem);
  }
  
  .view-all-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-size: clamp(0.9375rem, 1vw, 1rem);
    font-weight: var(--font-semibold);
    padding: 1rem 2rem;
    border-radius: 100px;
    box-shadow: 0 15px 30px rgba(21, 38, 66, 0.2);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
  }
  
  /* Button background animation */
  .view-all-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(21, 38, 66, 0.3);
  }
  
  .view-all-btn:hover::before {
    opacity: 1;
  }
  
  .view-all-btn i {
    font-size: 0.85em;
    transition: transform 0.3s ease;
  }
  
  .view-all-btn:hover i {
    transform: translateX(5px);
  }
  
  /* Product count indicator */
  .product-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }
  
  .view-all-btn:hover .product-count {
    transform: scale(1.1);
  }
  
/* ===== MODENA FORNI - MODAL PRODOTTI OTTIMIZZATO PER MOBILE 2025 ===== */
/* Questo CSS sovrascrive le regole esistenti per garantire un'esperienza mobile eccellente */

/* ===== STRUTTURA BASE DEL MODALE ===== */
.modal#product-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
  }
  
  .modal#product-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
    background-color: #fff;
    box-shadow: none;
    border-radius: 0;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
    overflow: hidden;
  }
  
  .modal#product-modal[aria-hidden="false"] .modal-container {
    transform: translateY(0);
    opacity: 1;
  }
  
  /* ===== HEADER DEL MODALE ===== */
  .modal-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 60px;
  }
  
  .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1rem;
  }
  
  .modal-close {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    margin-left: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
  }
  
  .modal-close:active {
    transform: scale(0.92);
    background-color: var(--primary-light);
    color: white;
  }
  
  .modal-close i {
    font-size: 1.1rem;
  }
  
  /* ===== BODY DEL MODALE ===== */
  .modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    background-color: #f5f7fa;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
  
  .modal-body::-webkit-scrollbar {
    width: 5px;
  }
  
  .modal-body::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  
  .product-details {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  /* ===== GALLERIA PRODOTTO ===== */
  .product-gallery {
    background-color: white;
    padding: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .product-main-image {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 350px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
  }

  /* Stile quando l'immagine è zoomata */
.product-main-image.zoomed {
  cursor: zoom-out;
}

.product-main-image.zoomed img {
  transform: scale(2.5);
  transition: transform 0.3s ease;
}

/* Stile per overlay durante lo zoom */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

.zoom-overlay.active {
  display: block;
}

/* Stile per immagine a schermo intero */
.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
}

.fullscreen-image.active {
  display: flex;
}

.fullscreen-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.fullscreen-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fullscreen-close:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}
  
  /* Overlay per lo zoom */
  .product-main-image::after {
    content: "";
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' stroke='%23152642' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.7;
  }
  
  /* Thumbnails Gallery */
  .product-thumbnails {
    display: flex;
    gap: 10px;
    padding: 0.5rem 0;
    margin: 0 -0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.5rem;
  }
  
  .product-thumbnails::-webkit-scrollbar {
    display: none;
  }
  
  .product-thumbnail {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    border: 2px solid #eaeaea;
    transition: all 0.2s ease-out;
    scroll-snap-align: start;
    position: relative;
    cursor: pointer;
  }
  
  .product-thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Pulsanti navigazione galleria */
  .gallery-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
  }
  
  .gallery-prev,
  .gallery-next {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  
  .gallery-prev:active,
  .gallery-next:active {
    transform: scale(0.92);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: white;
  }
  
  /* Condivisione social minimale ma efficace */
  .product-social-share {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 100px;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
    scrollbar-width: none;
  }
  /* Colori per i bottoni social del product modal */
.product-social-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
  color: white;
}

/* Facebook */
.product-social-share .share-facebook {
  background-color: #3b5998;
}
.product-social-share .share-facebook:hover {
  background-color: #4c70ba;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 89, 152, 0.4);
}

/* Twitter */
.product-social-share .share-twitter {
  background-color: #1da1f2;
}
.product-social-share .share-twitter:hover {
  background-color: #4db5f5;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

/* WhatsApp */
.product-social-share .share-whatsapp {
  background-color: #25d366;
}
.product-social-share .share-whatsapp:hover {
  background-color: #3ee677;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* LinkedIn */
.product-social-share .share-linkedin {
  background-color: #0077b5;
}
.product-social-share .share-linkedin:hover {
  background-color: #0d8fd5;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

/* Email */
.product-social-share .share-email {
  background-color: #ea4335;
}
.product-social-share .share-email:hover {
  background-color: #f25b4e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(234, 67, 53, 0.4);
}
  
  .product-social-share::-webkit-scrollbar {
    display: none;
  }
  
  .product-social-share span {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-right: 0.75rem;
    white-space: nowrap;
  }
  
  .product-social-share a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  
  .product-social-share a:active {
    transform: scale(0.92);
  }
  
  /* ===== PRODUCT INFO STYLING ===== */
  .product-info {
    padding: 1.25rem 1rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  /* Identificativo prodotto */
  .product-id {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-light);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
    width: fit-content;
    margin-bottom: 0.5rem;
  }
  
  .product-id .label {
    font-weight: 500;
    margin-right: 0.3rem;
  }
  
  .product-id .value {
    font-family: monospace;
    color: var(--primary-color);
  }
  
  /* Badge prodotto */
  .product-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    box-shadow: 0 3px 8px rgba(208, 150, 45, 0.2);
  }
  
  /* Titolo prodotto */
  #modal-product-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
    margin-bottom: 0.75rem;
  }
  
  /* Metadati prodotto */
  .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .product-rating {
    color: #FFD700;
    display: flex;
    gap: 2px;
  }
  
  .product-category,
  .product-brand,
  .product-condition,
  .product-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-color);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  }
  
  /* Box del prezzo */
  .product-price-container {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 3px solid var(--secondary-color);
  }
  
  .product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
  }
  
  .price-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-light);
  }
  
  .vat-status,
  .additional-costs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  .vat-status i,
  .additional-costs i {
    color: var(--secondary-color);
    font-size: 0.75rem;
  }
  
  /* Descrizione */
  .product-description {
    position: relative;
    background-color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
  }
  
  .product-description p:last-child {
    margin-bottom: 0;
  }
  
  /* Gruppo dimensioni, specifiche, caratteristiche */
  .product-dimensions,
  .product-specs,
  .product-features,
  .product-included,
  .product-warranty {
    padding: 1.25rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.25rem;
  }
  
  .product-dimensions h4,
  .product-specs h4,
  .product-features h4,
  .product-included h4,
  .product-warranty h4 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }
  
  .product-dimensions h4::before,
  .product-specs h4::before,
  .product-features h4::before,
  .product-included h4::before,
  .product-warranty h4::before {
    content: '';
    width: 4px;
    height: 18px;
    background-color: var(--secondary-color);
    margin-right: 0.5rem;
    border-radius: 2px;
  }
  
  .product-dimensions ul,
  .product-specs ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .product-dimensions li,
  .product-specs li {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--color-border-light);
    gap: 0.25rem;
  }
  
  .product-dimensions li:last-child,
  .product-specs li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .dim-label,
  .spec-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
  }
  
  .dim-value,
  .spec-value {
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  /* Liste caratteristiche */
  .product-features ul,
  .product-included ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: none;
  }
  
  .product-features li,
  .product-included li {
    position: relative;
    padding: 0.35rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  .product-features li::before,
  .product-included li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--secondary-color);
    font-weight: bold;
  }
  
  /* Garanzia */
  .product-warranty {
    background-color: var(--primary-ultra-light);
  }
  
  #warranty-text {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  #warranty-duration {
    font-weight: 600;
    color: var(--primary-color);
  }
  
  /* Data di pubblicazione */
  .product-dates {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: right;
    margin-top: 1rem;
  }
  
  /* ===== FOOTER DEL MODALE ===== */
  .modal-footer {
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    z-index: 5;
    transition: transform 0.3s ease;
  }
  
  /* Bottone richiesta informazioni */
  .product-contact-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    box-shadow: 0 5px 15px rgba(21, 38, 66, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .product-contact-modal-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(21, 38, 66, 0.1);
  }
  
  /* Bottone condivisione */
  .share-product {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    background-color: var(--gray-100);
    color: var(--text-color);
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .share-product:active {
    background-color: var(--gray-200);
    transform: translateY(2px);
  }
  
  .share-product i {
    margin-right: 0.5rem;
  }
  
  /* Bottone chiusura */
  .modal-close-btn {
    display: none; /* Nascondiamo il terzo bottone su mobile */
  }
  
  /* ===== FIXED HEADER ON SCROLL ===== */
  .is-scrolling .modal-header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }
  
  .is-scrolling-down .modal-footer {
    transform: translateY(100%);
  }
  
  .is-scrolling-up .modal-footer {
    transform: translateY(0);
  }
  
  /* ===== HOVER STATES SU DESKTOP ===== */
  @media (hover: hover) {
    .modal-close:hover {
      background-color: var(--primary-color);
      color: white;
      transform: rotate(90deg);
    }
    
    .gallery-prev:hover,
    .gallery-next:hover {
      background-color: var(--primary-color);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(21, 38, 66, 0.15);
    }
    
    .product-social-share a:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .product-contact-modal-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(21, 38, 66, 0.2);
    }
    
    .share-product:hover {
      background-color: var(--gray-200);
      transform: translateY(-3px);
    }
  }
  
  /* ===== LOADING ANIMATION ===== */
  .product-gallery.loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-gallery.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(21, 38, 66, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    z-index: 11;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
  }
  
  /* ===== RESPONSIVE BREAKPOINTS ===== */
  /* Small devices (576px and up) */
  @media (min-width: 576px) {
    .modal-container {
      border-radius: 16px;
      max-height: 90vh;
      max-width: 95vw;
      height: auto;
    }
    
    .modal-footer {
      grid-template-columns: 1fr 1fr;
    }
    
    .modal-close-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      grid-column: span 2;
      padding: 0.75rem 1.5rem;
      background-color: transparent;
      color: var(--text-color);
      font-size: 0.95rem;
      border-radius: 100px;
      border: 1px solid var(--color-border);
      transition: all 0.2s ease;
    }
    
    .modal-close-btn:active {
      background-color: var(--gray-100);
      transform: translateY(2px);
    }
    
    @media (hover: hover) {
      .modal-close-btn:hover {
        background-color: var(--gray-100);
        transform: translateY(-3px);
      }
    }
  }
  
  /* Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    .modal-header {
      padding: 1.25rem 1.5rem;
    }
    
    .modal-title {
      font-size: 1.25rem;
    }
    
    .product-details {
      flex-direction: row;
    }
    
    .product-gallery,
    .product-info {
      width: 50%;
      padding: 1.5rem;
    }
    
    .product-main-image {
      height: 350px;
    }
    
    .modal-footer {
      padding: 1.25rem 1.5rem;
      grid-template-columns: auto auto 1fr;
      gap: 1rem;
    }
    
    .modal-close-btn {
      grid-column: auto;
    }
  }
  
  /* Large devices (desktops, 992px and up) */
  @media (min-width: 992px) {
    .modal-container {
      max-width: 900px;
    }
    
    .product-main-image {
      height: 400px;
    }
    
    .product-thumbnail {
      width: 70px;
      height: 70px;
    }
  }
  
  /* Extra large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
    .modal-container {
      max-width: 1000px;
    }
  }
  
  
  /* ===== ANIMAZIONI AVANZATE ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .product-main-image,
  .product-badge,
  #modal-product-title,
  .product-meta,
  .product-price-container,
  .product-description,
  .product-dimensions,
  .product-specs,
  .product-features,
  .product-included,
  .product-warranty,
  .product-social-share {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
  }
  
  #modal-product-title { animation-delay: 0.05s; }
  .product-meta { animation-delay: 0.1s; }
  .product-price-container { animation-delay: 0.15s; }
  .product-description { animation-delay: 0.2s; }
  .product-dimensions { animation-delay: 0.25s; }
  .product-specs { animation-delay: 0.3s; }
  .product-features { animation-delay: 0.35s; }
  .product-included { animation-delay: 0.4s; }
  .product-warranty { animation-delay: 0.45s; }
  .product-social-share { animation-delay: 0.5s; }
  
  /* ===== PREFERISC MOTION RIDOTTO ===== */
  @media (prefers-reduced-motion: reduce) {
    .product-main-image,
    .product-badge,
    #modal-product-title,
    .product-meta,
    .product-price-container,
    .product-description,
    .product-dimensions,
    .product-specs,
    .product-features,
    .product-included,
    .product-warranty,
    .product-social-share {
      animation: none;
      opacity: 1;
    }
    
    .modal-container,
    .modal-close,
    .product-contact-modal-btn,
    .share-product,
    .modal-close-btn,
    .product-thumbnail,
    .gallery-prev,
    .gallery-next,
    .product-social-share a {
      transition: none;
    }
  }
  /* ===== RESPONSIVE STYLES ===== */
  /* Mobile first - base layout is for mobile */
  
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .featured-products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust modal spacing */
    .modal-body {
      display: flex;
      flex-direction: column;
    }
    
    /* Improve modal footer layout */
    .modal-footer {
      flex-wrap: wrap;
    }
    
    .product-contact-modal-btn,
    .share-product,
    .modal-close-btn {
      flex: 1;
      min-width: unset;
      justify-content: center;
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    /* Show more products */
    .featured-products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    /* Improve modal layout */
    .product-details {
      grid-template-columns: 1fr 1fr;
    }
    
    .product-gallery,
    .product-info {
      padding: 2rem;
    }
    
    .modal-footer {
      flex-wrap: nowrap;
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    /* Show more products */
    .featured-products-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    
    /* Enhanced product card hover effects */
    .product-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    }
    
    /* Improve modal layout */
    .product-main-image {
      height: 400px;
    }
    
    .product-thumbnail {
      width: 80px;
      height: 80px;
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    /* Maximum of 4 products on large screens */
    .featured-products-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    /* Enhanced modal experience */
    .modal-container {
      max-width: 1200px;
    }
    
    .product-gallery {
      border-bottom-left-radius: 24px;
    }
    
    /* More space in product modal */
    .product-gallery,
    .product-info {
      padding: 2.5rem;
    }
  }
  
  
  /* ===== REDUCED MOTION PREFERENCES ===== */
  @media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card:hover,
    .product-image-container img,
    .product-card:hover .product-image-container img,
    .product-quick-action,
    .product-card:hover .product-quick-action,
    .product-image-overlay,
    .product-card:hover .product-image-overlay,
    .view-all-btn:hover,
    .product-thumbnail,
    .product-thumbnail:hover,
    .product-main-image:hover img,
    .gallery-prev:hover,
    .gallery-next:hover,
    .product-price-container:hover,
    .product-social-share a:hover,
    .product-contact-modal-btn:hover,
    .share-product:hover,
    .modal-close:hover {
      transition: none;
      transform: none;
      animation: none;
    }
  }
  
  /* ===== PRINT STYLES ===== */
  @media print {
    .featured-products {
      background: none !important;
      padding: 2cm 0;
    }
    
    .featured-products::before,
    .featured-products::after {
      display: none;
    }
    
    .product-card {
      break-inside: avoid;
      box-shadow: none;
      border: 1px solid #000;
    }
    
    .product-image-overlay {
      display: none;
    }
    
    .products-cta {
      display: none;
    }
    
    /* Modal print optimization */
    .modal#product-modal {
      position: relative;
      display: block;
      background: none;
      padding: 0;
    }
    
    .modal-overlay {
      display: none;
    }
    
    .modal-container {
      box-shadow: none;
      max-height: none;
      transform: none;
      opacity: 1;
    }
    
    .product-social-share,
    .modal-footer {
      display: none;
    }
  }
/* ===== WHY CHOOSE US SECTION - PREMIUM DARK REDESIGN 2025 ===== */
.why-choose-us {
    position: relative;
    padding: clamp(5rem, 15vw, 10rem) 0;
    background: linear-gradient(135deg, #0f172a 0%, #0b1525 100%);
    color: var(--white);
    overflow: hidden;
    z-index: 1;
  }
  
  /* ===== BACKGROUND ELEMENTS ===== */
  .why-choose-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
  }
  
  /* Deep space pattern */
  .why-choose-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h10v10H0V0zm10 10h10v10H10V10zm10 0h10v10H20V10zm10 0h10v10H30V10zm10 0h10v10H40V10zm10 0h10v10H50V10zm10 0h10v10H60V10zm10 0h10v10H70V10zM0 20h10v10H0V20zm10 0h10v10H10V20zm10 0h10v10H20V20zm10 0h10v10H30V20zm10 0h10v10H40V20zm10 0h10v10H50V20zm10 0h10v10H60V20zm10 0h10v10H70V20zM0 30h10v10H0V30zm10 0h10v10H10V30zm10 0h10v10H20V30zm10 0h10v10H30V30zm10 0h10v10H40V30zm10 0h10v10H50V30zm10 0h10v10H60V30zm10 0h10v10H70V30zM0 40h10v10H0V40zm10 0h10v10H10V40zm10 0h10v10H20V40zm10 0h10v10H30V40zm10 0h10v10H40V40zm10 0h10v10H50V40zm10 0h10v10H60V40zm10 0h10v10H70V40zM0 50h10v10H0V50zm10 0h10v10H10V50zm10 0h10v10H20V50zm10 0h10v10H30V50zm10 0h10v10H40V50zm10 0h10v10H50V50zm10 0h10v10H60V50zm10 0h10v10H70V50zM0 60h10v10H0V60zm10 0h10v10H10V60zm10 0h10v10H20V60zm10 0h10v10H30V60zm10 0h10v10H40V60zm10 0h10v10H50V60zm10 0h10v10H60V60zm10 0h10v10H70V60zM0 70h10v10H0V70zm10 0h10v10H10V70zm10 0h10v10H20V70zm10 0h10v10H30V70zm10 0h10v10H40V70zm10 0h10v10H50V70zm10 0h10v10H60V70zm10 0h10v10H70V70z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
  }
  
  /* Glowing accent */
  .why-choose-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(
      ellipse at center,
      rgba(208, 150, 45, 0.15) 0%,
      rgba(208, 150, 45, 0.05) 40%,
      rgba(21, 38, 66, 0) 70%
    );
    filter: blur(70px);
    opacity: 0.6;
    border-radius: 50%;
    animation: glowPulse 15s infinite alternate ease-in-out;
    z-index: -1;
  }
  
  /* Secondary glow accent */
  .why-choose-glow-secondary {
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(
      ellipse at center,
      rgba(21, 38, 66, 0.3) 0%,
      rgba(21, 38, 66, 0.1) 40%,
      rgba(21, 38, 66, 0) 70%
    );
    filter: blur(70px);
    opacity: 0.6;
    border-radius: 50%;
    animation: glowPulse 20s infinite alternate-reverse ease-in-out;
    z-index: -1;
  }
  
  /* Constellation stars */
  .constellation {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .constellation-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.3);
    opacity: var(--opacity, 0.7);
    animation: twinkleStar var(--duration, 3s) infinite ease-in-out;
  }
  
  .constellation-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 20px 3px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: starGlow var(--duration, 3s) infinite ease-in-out;
    animation-delay: calc(var(--duration) / 2);
  }
  
  /* Individual star positioning */
  .constellation-star:nth-child(1) { top: 15%; left: 10%; --duration: 4s; --opacity: 0.8; }
  .constellation-star:nth-child(2) { top: 25%; left: 20%; --duration: 5s; --opacity: 0.6; }
  .constellation-star:nth-child(3) { top: 10%; left: 30%; --duration: 3s; --opacity: 0.9; }
  .constellation-star:nth-child(4) { top: 40%; left: 40%; --duration: 6s; --opacity: 0.7; }
  .constellation-star:nth-child(5) { top: 20%; left: 50%; --duration: 4.5s; --opacity: 0.8; }
  .constellation-star:nth-child(6) { top: 30%; left: 60%; --duration: 3.5s; --opacity: 0.9; }
  .constellation-star:nth-child(7) { top: 15%; left: 70%; --duration: 5s; --opacity: 0.6; }
  .constellation-star:nth-child(8) { top: 35%; left: 80%; --duration: 4s; --opacity: 0.7; }
  .constellation-star:nth-child(9) { top: 25%; left: 90%; --duration: 5.5s; --opacity: 0.8; }
  .constellation-star:nth-child(10) { top: 60%; left: 15%; --duration: 4s; --opacity: 0.7; }
  .constellation-star:nth-child(11) { top: 70%; left: 25%; --duration: 5s; --opacity: 0.6; }
  .constellation-star:nth-child(12) { top: 80%; left: 35%; --duration: 3.5s; --opacity: 0.8; }
  .constellation-star:nth-child(13) { top: 65%; left: 55%; --duration: 4.5s; --opacity: 0.7; }
  .constellation-star:nth-child(14) { top: 75%; left: 65%; --duration: 3s; --opacity: 0.9; }
  .constellation-star:nth-child(15) { top: 85%; left: 75%; --duration: 5s; --opacity: 0.6; }
  .constellation-star:nth-child(16) { top: 55%; left: 85%; --duration: 4s; --opacity: 0.8; }
  
  /* Brighter stars (larger) */
  .constellation-star.bright {
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.4);
  }
  
  .constellation-star:nth-child(3),
  .constellation-star:nth-child(6),
  .constellation-star:nth-child(9),
  .constellation-star:nth-child(12),
  .constellation-star:nth-child(15) {
    width: 3px;
    height: 3px;
  }
  
  /* Connect stars with lines */
  .constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0.3;
    transform-origin: left center;
  }
  
  .constellation-line:nth-child(17) {
    top: 15%;
    left: 10%;
    width: 10%;
    transform: rotate(30deg);
  }
  
  .constellation-line:nth-child(18) {
    top: 25%;
    left: 20%;
    width: 10%;
    transform: rotate(15deg);
  }
  
  .constellation-line:nth-child(19) {
    top: 20%;
    left: 50%;
    width: 10%;
    transform: rotate(-20deg);
  }
  
  .constellation-line:nth-child(20) {
    top: 70%;
    left: 25%;
    width: 10%;
    transform: rotate(45deg);
  }
  
  .constellation-line:nth-child(21) {
    top: 65%;
    left: 55%;
    width: 10%;
    transform: rotate(15deg);
  }
  
  /* Main layout container */
  .why-choose-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  /* ===== SECTION HEADER ===== */
  .why-choose-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
    position: relative;
  }
  
  .why-choose-us .section-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
    background-color: rgba(208, 150, 45, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Icon before subtitle */
  .why-choose-us .section-subtitle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .why-choose-us .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  
  /* Underline effect */
  .why-choose-us .section-title::after {
    content: '';
    display: block;
    width: clamp(80px, 15vw, 120px);
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), rgba(208, 150, 45, 0.3));
    margin: var(--space-sm) auto 0;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(208, 150, 45, 0.2);
  }
  
  .why-choose-us .section-desc {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
  }
  
  /* ===== VALUES GRID/CAROUSEL ===== */
  .values-container {
    position: relative;
    margin-bottom: clamp(4rem, 10vw, 6rem);
  }
  
  /* Mobile carousel becomes grid on desktop */
  .values-carousel {
    position: relative;
    margin-bottom: clamp(2rem, 5vw, 3rem);
  }
  
  /* Card design */
  .value-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    padding: clamp(1.75rem, 5vw, 2.5rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    border-color: rgba(208, 150, 45, 0.2);
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Glowing border effect */
  .value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
      transparent, 
      rgba(208, 150, 45, 0.05), 
      transparent);
    z-index: -1;
    animation: glowingBorder 3s infinite linear;
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .value-card:hover::before {
    opacity: 1;
  }
  
  /* Icon container */
  .value-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
  }
  
  /* Animated background circle */
  .value-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(208, 150, 45, 0.2), rgba(208, 150, 45, 0.05));
    border-radius: 24px;
    transform: rotate(45deg);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .value-card:hover .value-icon-bg {
    transform: rotate(225deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    box-shadow: 0 15px 40px rgba(208, 150, 45, 0.3);
  }
  
  /* Icon styling */
  .value-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .value-card:hover .value-icon {
    color: var(--white);
    transform: rotate(-180deg);
  }
  
  /* Title styling */
  .value-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: var(--font-semibold);
    color: var(--white);
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    line-height: 1.3;
    position: relative;
    padding-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* Custom underline */
  .value-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
    transition: width 0.4s ease;
  }
  
  .value-card:hover .value-title::after {
    width: 100px;
  }
  
  /* Description text */
  .value-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    flex-grow: 1;
  }
  
  /* Features list */
  .value-features {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .value-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .value-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }
  
  .value-feature-item:hover {
    transform: translateX(5px);
    color: var(--white);
  }
  
  .value-feature-icon {
    color: var(--secondary-color);
    font-size: 0.8em;
    margin-top: 0.4em;
    transition: all 0.3s ease;
  }
  
  .value-feature-item:hover .value-feature-icon {
    transform: scale(1.2);
  }
  
  /* Swiper pagination & navigation */
  .values-carousel .swiper-pagination {
    bottom: -40px;
  }
  
  .values-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
  }
  
  .values-carousel .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background-color: var(--secondary-color);
  }
  
  .values-carousel .swiper-button-next,
  .values-carousel .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.1);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .values-carousel .swiper-button-next::after,
  .values-carousel .swiper-button-prev::after {
    font-size: 20px;
  }
  
  .values-carousel .swiper-button-next:hover,
  .values-carousel .swiper-button-prev:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  /* ===== CERTIFICATIONS BAR ===== */
  .certification-container {
    position: relative;
    z-index: 2;
  }
  
  .certification-title {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Shine effect on title */
  .certification-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerEffect 3s infinite;
  }
  
  .certification-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(2rem, 5vw, 3rem);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
  }
  
  /* Glowing borders for certification bar */
  .certification-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
      transparent, 
      rgba(255, 255, 255, 0.05), 
      transparent);
    z-index: -1;
    animation: glowingBorder 5s infinite linear;
    background-size: 200% 200%;
  }
  
  .certification-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex: 1 1 clamp(150px, 20%, 250px);
    max-width: 250px;
    position: relative;
    overflow: hidden;
  }
  
  .certification-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  /* Icon container with glow effect */
  .certification-icon {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .certification-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(208, 150, 45, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
    animation: pulseGlow 3s infinite alternate;
  }
  
  .certification-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
  }
  
  .certification-item:hover .certification-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(208, 150, 45, 0.5));
    transform: scale(1.1);
  }
  
  .certification-text {
    text-align: center;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }
  
  .certification-item:hover .certification-text {
    color: var(--white);
  }
  
  /* Year badge */
  .year-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-secondary);
    font-weight: var(--font-bold);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    box-shadow: 0 5px 15px rgba(208, 150, 45, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: rotate(10deg);
    transition: all 0.4s ease;
  }
  
  .certification-item:hover .year-badge {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(208, 150, 45, 0.4);
  }
  
  /* ===== CTA SECTION ===== */
  .why-choose-cta {
    margin-top: clamp(4rem, 10vw, 6rem);
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .why-choose-cta-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
  }
  
  .why-choose-cta-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    border-color: rgba(208, 150, 45, 0.2);
  }
  
  /* Glowing border effect */
  .why-choose-cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
      transparent, 
      rgba(208, 150, 45, 0.05), 
      transparent);
    z-index: -1;
    animation: glowingBorder 3s infinite linear;
    background-size: 200% 200%;
  }
  
  .why-choose-cta-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .why-choose-cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
  }
  
  .why-choose-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: clamp(0.875rem, 1.25vw, 1.125rem) clamp(1.75rem, 2.5vw, 2.25rem);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: var(--font-semibold);
    letter-spacing: 0.02em;
    border-radius: 100px;
    box-shadow: 0 15px 30px rgba(208, 150, 45, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
  }
  
  /* Button shine effect */
  .why-choose-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    z-index: -1;
    animation: shimmerEffect 3s infinite;
  }
  
  .why-choose-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(208, 150, 45, 0.4);
  }
  
  .why-choose-cta-btn i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
  }
  
  .why-choose-cta-btn:hover i {
    transform: translateX(5px);
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes glowPulse {
    0%, 100% {
      opacity: 0.6;
      transform: scale(1);
    }
    50% {
      opacity: 0.8;
      transform: scale(1.1);
    }
  }
  
  @keyframes twinkleStar {
    0%, 100% {
      opacity: var(--opacity, 0.7);
      transform: scale(1);
    }
    50% {
      opacity: 0.3;
      transform: scale(0.5);
    }
  }
  
  @keyframes starGlow {
    0%, 100% {
      opacity: 0;
      transform: scale(1);
    }
    50% {
      opacity: 0.5;
      transform: scale(2);
    }
  }
  
  @keyframes glowingBorder {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 200% 0%;
    }
  }
  
  @keyframes shimmerEffect {
    0% {
      left: -100%;
    }
    20%, 100% {
      left: 100%;
    }
  }
  
  @keyframes pulseGlow {
    0%, 100% {
      opacity: 0.5;
      transform: scale(1);
    }
    50% {
      opacity: 0.8;
      transform: scale(1.2);
    }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .certification-bar {
      justify-content: space-between;
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    /* Adjust stars and lines for tablets */
    .constellation-star {
      width: 3px;
      height: 3px;
    }
    
    .constellation-star.bright {
      width: 4px;
      height: 4px;
    }
    
    .values-carousel .swiper-slide {
      height: auto;
    }
    
    .certification-bar {
      padding: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .certification-item {
      max-width: 220px;
    }
    
    .value-card {
      height: 100%;
      min-height: 400px;
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    /* Switch from carousel to grid */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .values-carousel .swiper-wrapper {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .values-carousel .swiper-slide {
      width: auto;
      margin-right: 0;
    }
    
    .values-carousel .swiper-pagination,
    .values-carousel .swiper-button-next,
    .values-carousel .swiper-button-prev {
      display: none;
    }
    
    /* Desktop-specific styling */
    .why-choose-header {
      text-align: center;
      max-width: 80%;
      margin-left: auto;
      margin-right: auto;
    }
    
    /* Enhanced decoration for desktop */
    .constellation-line {
      opacity: 0.5;
    }
    
    .why-choose-cta-content {
      max-width: 90%;
      margin: 0 auto;
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    .why-choose-container {
      max-width: 1400px;
    }
    
    .value-card {
      min-height: 450px;
    }
    
    .certification-item {
      max-width: 250px;
    }
    
    .why-choose-cta-content {
      max-width: 80%;
    }
    
    /* Add more desktop decorative elements */
    .why-choose-us::after {
      content: '';
      position: absolute;
      bottom: -100px;
      right: -100px;
      width: 400px;
      height: 400px;
      border: 2px dashed rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      z-index: 0;
    }
  }
  
  
  /* ===== REDUCED MOTION PREFERENCES ===== */
  @media (prefers-reduced-motion: reduce) {
    .why-choose-glow,
    .why-choose-glow-secondary,
    .constellation-star,
    .constellation-star::after,
    .value-card:hover,
    .value-card:hover .value-icon,
    .value-card:hover .value-icon-bg,
    .certification-item:hover,
    .certification-item:hover .certification-icon img,
    .certification-item:hover .year-badge,
    .why-choose-cta-content:hover,
    .why-choose-cta-btn:hover,
    .why-choose-cta-btn::before,
    .certification-icon::before,
    .certification-bar::before,
    .value-card::before {
      animation: none !important;
      transition: none !important;
      transform: none !important;
    }
  }
  
  /* ===== PRINT STYLES ===== */
  @media print {
    .why-choose-us {
      background: white !important;
      color: black !important;
      padding: 2cm 0;
    }
    
    .why-choose-bg,
    .why-choose-glow,
    .why-choose-glow-secondary,
    .constellation {
      display: none !important;
    }
    
    .why-choose-us .section-title,
    .why-choose-us .section-desc,
    .value-title,
    .value-desc,
    .value-feature-item,
    .certification-text,
    .why-choose-cta-title,
    .why-choose-cta-text {
      color: black !important;
      text-shadow: none !important;
    }
    
    .value-card,
    .certification-item,
    .why-choose-cta-content {
      break-inside: avoid;
      page-break-inside: avoid;
      background: none !important;
      border: 1px solid black !important;
      box-shadow: none !important;
    }
    
    .values-carousel .swiper-wrapper {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1cm;
    }
    
    .values-carousel .swiper-slide {
      width: auto;
      height: auto;
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    .values-carousel .swiper-pagination,
    .values-carousel .swiper-button-next,
    .values-carousel .swiper-button-prev {
      display: none !important;
    }
    
    .certification-icon img {
      filter: none !important;
    }
    
    .year-badge {
      border: 1px solid black !important;
      background: white !important;
      color: black !important;
    }
  }
/* ===== SETTORI PROFESSIONALI - REDESIGN ESCLUSIVO 2025 ===== */
.sectors-we-serve {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  overflow: hidden;
  z-index: 1;
}

/* Pattern decorativo di fondo - texture sottile che richiama attrezzature da forno */
.sectors-we-serve::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50L20 20H0v30h20v30h30V50zm0 0L80 20h20v30H80v30H50V50zm0 0L20 80v20h30V80h30V50H50z' fill='%23152642' fill-opacity='0.02'/%3E%3C/svg%3E");
  background-size: 60px;
  opacity: 0.3;
  z-index: -1;
}

/* Accento decorativo posteriore - pasta che lievita */
.sectors-we-serve::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -10%;
  width: 35%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(208, 150, 45, 0.08) 0%, rgba(208, 150, 45, 0) 70%);
  border-radius: 50% / 70%;
  transform: rotate(-15deg);
  z-index: -1;
  filter: blur(40px);
}

/* Stile dell'header della sezione, rivisto completamente */
.sectors-we-serve .section-header {
  position: relative;
  margin-bottom: clamp(2.5rem, 8vw, 4.5rem);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Decorazione visuale del sottotitolo */
.sectors-we-serve .section-subtitle {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary-color);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  padding: 8px 20px;
  background-color: var(--secondary-ultra-light);
  border-radius: 50px;
  box-shadow: inset 0 0 0 1px rgba(208, 150, 45, 0.2);
}

/* Decorazione "spighe di grano" */
.sectors-we-serve .section-subtitle::before,
.sectors-we-serve .section-subtitle::after {
  content: '';
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
  opacity: 0.4;
  margin: 0 10px;
  display: none;
}

/* Titolo principale con nuovo stile */
.sectors-we-serve .section-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  position: relative;
}

/* Decorazione unica per il titolo - effetto farinoso */
.sectors-we-serve .section-title span {
  position: relative;
  display: inline-block;
}

.sectors-we-serve .section-title span::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-ultra-light);
  border-radius: 4px;
  z-index: -1;
}

/* Descrizione con miglior leggibilità */
.sectors-we-serve .section-desc {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.8;
  color: var(--text-color);
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CAROSELLO DEI SETTORI - DESIGN INNOVATIVO ===== */
.sectors-carousel {
  position: relative;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  overflow: visible; /* Permette alle card di uscire dal contenitore */
}

/* Personalizzazione pulsanti navigazione Swiper */
.sectors-carousel .swiper-button-next,
.sectors-carousel .swiper-button-prev {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: transpartent!important;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(21, 38, 66, 0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sectors-carousel .swiper-button-next:hover,
.sectors-carousel .swiper-button-prev:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(21, 38, 66, 0.25);
}

.sectors-carousel .swiper-button-next:active,
.sectors-carousel .swiper-button-prev:active {
  transform: translateY(-1px);
}

.sectors-carousel .swiper-button-next::after,
.sectors-carousel .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Stile paginazione */
.sectors-carousel .swiper-pagination {
  position: relative;
  bottom: -10px;
  margin-top: 30px;
}

.sectors-carousel .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--gray-300);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.sectors-carousel .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  opacity: 1;
}

/* ===== CARD DEI SETTORI - DESIGN PREMIUM ===== */
.sector-card {
  position: relative;
  height: 100%;
  min-height: clamp(420px, 60vh, 520px);
  padding: clamp(1.5rem, 2vw, 2rem);
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(21, 38, 66, 0.1), 0 8px 24px -8px rgba(21, 38, 66, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  isolation: isolate; /* Crea un nuovo stacking context */
  border: 1px solid rgba(21, 38, 66, 0.05);
  transform-origin: center bottom;
}

/* Effetto sulla hover */
.sector-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(21, 38, 66, 0.15), 0 15px 30px -10px rgba(21, 38, 66, 0.1);
  border-color: rgba(208, 150, 45, 0.2);
}

/* Decorazione angolo */
.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(208, 150, 45, 0.05) 0%, transparent 70%);
  border-radius: 0 0 0 100%;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.sector-card:hover::before {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(208, 150, 45, 0.1) 0%, transparent 70%);
}

/* Pattern decorativo unico per ogni settore */
.sector-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background-image: var(--sector-pattern, url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25 10c-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15zm0 5c5.523 0 10 4.477 10 10s-4.477 10-10 10-10-4.477-10-10 4.477-10 10-10z' fill='%23152642' fill-opacity='0.02'/%3E%3C/svg%3E"));
  background-size: 50px;
  background-position: bottom right;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sector-card:hover::after {
  opacity: 1;
}

/* Pattern personalizzato per diverse categorie di settori */
.sector-card[data-sector="panificazione"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20c-5.523 0-10 4.477-10 10s4.477 10 10 10 10-4.477 10-10-4.477-10-10-10zm-25 5c-2.761 0-5 2.239-5 5s2.239 5 5 5 5-2.239 5-5-2.239-5-5-5zm50 0c-2.761 0-5 2.239-5 5s2.239 5 5 5 5-2.239 5-5-2.239-5-5-5z' fill='%23152642' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.sector-card[data-sector="pasticceria"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C16.215 5 5 16.215 5 30s11.215 25 25 25 25-11.215 25-25S43.785 5 30 5zm0 5c11.046 0 20 8.954 20 20s-8.954 20-20 20-20-8.954-20-20 8.954-20 20-20z' fill='%23D0962D' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.sector-card[data-sector="pizzerie"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5l25 43.3H5L30 5z' fill-opacity='0' stroke='%23152642' stroke-opacity='0.03' stroke-width='2'/%3E%3C/svg%3E");
}

.sector-card[data-sector="gdo"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h40v40H10V10z M20 20h20v20H20V20z' fill-opacity='0' stroke='%23152642' stroke-opacity='0.03' stroke-width='2'/%3E%3C/svg%3E");
}

.sector-card[data-sector="ristorazione"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10l15 25.98H15L30 10z M30 50L15 24.02h30L30 50z' fill-opacity='0' stroke='%23D0962D' stroke-opacity='0.03' stroke-width='2'/%3E%3C/svg%3E");
}

.sector-card[data-sector="industria"]::after {
  --sector-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h10v10H10V10zM30 10h10v10H30V10zM50 10h10v10H50V10zM10 30h10v10H10V30zM30 30h10v10H30V30zM50 30h10v10H50V30z' fill='%23152642' fill-opacity='0.03'/%3E%3C/svg%3E");
}

/* Icona del settore - stile distintivo */
.sector-icon {
  width: 85px;
  height: 85px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  background: linear-gradient(135deg, rgba(21, 38, 66, 0.05) 0%, rgba(21, 38, 66, 0.1) 100%);
  /* Ombra interessante */
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Effetto hover sull'icona */
.sector-card:hover .sector-icon {
  transform: scale(1.05) rotate(10deg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: var(--white);
  box-shadow: 
    0 10px 25px rgba(21, 38, 66, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

/* Forma decorativa sotto l'icona */
.sector-icon::after {
  content: '';
  position: absolute;
  left: 15%;
  bottom: -5px;
  width: 70%;
  height: 8px;
  background-color: rgba(208, 150, 45, 0.1);
  border-radius: 4px;
  transition: all 0.4s ease;
  opacity: 0.7;
}

.sector-card:hover .sector-icon::after {
  background-color: var(--secondary-color);
  transform: scaleX(0.7);
  opacity: 0.3;
}

/* Titolo del settore */
.sector-title {
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  position: relative;
  padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
  transition: color 0.3s ease;
}

/* Linea decorativa sotto il titolo */
.sector-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), rgba(208, 150, 45, 0.3));
  border-radius: 1.5px;
  transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sector-card:hover .sector-title::after {
  width: 80px;
}

/* Descrizione del settore */
.sector-desc {
  font-size: clamp(0.9375rem, 0.9rem + 0.1875vw, 1rem);
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  transition: color 0.3s ease;
}

.sector-card:hover .sector-desc {
  color: var(--text-dark);
}

/* Lista di funzionalità */
.sector-list {
  margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem);
}

.sector-list li {
  position: relative;
  padding-left: clamp(1.25rem, 1.5vw, 1.5rem);
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 0.9375rem);
  color: var(--text-color);
  transition: all 0.3s ease;
}

/* Stile marcatore lista */
.sector-list li::before {
  content: '';
  position: absolute;
  top: 0.625rem;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Effetto hover sugli elementi della lista */
.sector-card:hover .sector-list li {
  transform: translateX(5px);
  color: var(--primary-color);
}

.sector-card:hover .sector-list li::before {
  background-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(21, 38, 66, 0.1);
}

/* Link scopri - stile bottone testuale */
.sector-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: clamp(0.9375rem, 0.9rem + 0.1875vw, 1rem);
  font-weight: 500;
  color: var(--primary-color);
  padding-bottom: 3px;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Effetto underline animato */
.sector-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.3s ease;
  opacity: 0.5;
}

/* Animazione freccia */
.sector-link i {
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.sector-card:hover .sector-link {
  color: var(--secondary-color);
}

.sector-card:hover .sector-link::after {
  transform: scaleX(1);
  background-color: var(--secondary-color);
  opacity: 0.8;
}

.sector-card:hover .sector-link i {
  transform: translateX(5px);
}

/* ===== CALL TO ACTION ===== */
.sectors-action {
  position: relative;
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.sectors-action .btn {
  position: relative;
  padding: clamp(0.875rem, 1.25vw, 1rem) clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.9rem + 0.1875vw, 1rem);
  letter-spacing: 0.02em;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 
    0 10px 25px rgba(21, 38, 66, 0.2),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* Effetto hover elegante sul bottone CTA */
.sectors-action .btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 15px 35px rgba(21, 38, 66, 0.25),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

/* Effetto shine animato */
.sectors-action .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  z-index: -1;
  animation: btnShine 4s infinite;
}

@keyframes btnShine {
  100% {
    left: 200%;
  }
}

/* ===== RESPONSIVE DESIGN PERFEZIONATO ===== */

/* Small screens (576px and up) */
@media (min-width: 576px) {
  .sectors-we-serve .section-subtitle::before,
  .sectors-we-serve .section-subtitle::after {
    display: block;
  }
  
  .sector-card {
    min-height: 480px;
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .sectors-we-serve .section-desc {
    max-width: 80%;
  }
  
  .sector-card {
    padding: clamp(1.75rem, 2.5vw, 2.25rem);
  }
  
  .sector-icon {
    width: 90px;
    height: 90px;
    font-size: 2.25rem;
  }
  
  /* Effetto angolo premium */
  .sector-card::before {
    clip-path: polygon(100% 0, 100% 60%, 40% 0);
    background: linear-gradient(135deg, rgba(208, 150, 45, 0.1) 0%, transparent 70%);
  }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
  .sectors-we-serve {
    padding: clamp(5rem, 15vw, 8rem) 0;
  }
  
  /* Elemento decorativo visibile solo su schermi grandi */
  .sectors-we-serve::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -5%;
    width: 300px;
    height: 300px;
    border: 1px dashed rgba(21, 38, 66, 0.05);
    border-radius: 50%;
    z-index: 0;
  }
  
  .sector-card {
    min-height: 520px;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
  /* Effetti tridimensionali su schermi grandi */
  .sector-card:hover {
    transform: translateY(-20px) scale(1.03);
  }
  
  .sector-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
}

/* Extra large screens (1200px and up) */
@media (min-width: 1200px) {
  .sectors-we-serve .section-desc {
    max-width: 70%;
  }
  
  /* Nastrino decorativo in alto a destra */
  .sectors-we-serve .section-header::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -80px;
    width: 150px;
    height: 80px;
    background-color: rgba(208, 150, 45, 0.05);
    transform: rotate(-45deg);
    border-radius: 100px;
    z-index: -1;
  }
  
  .sectors-carousel .swiper-button-next,
  .sectors-carousel .swiper-button-prev {
    width: 60px;
    height: 60px;
  }
  
  .sectors-carousel .swiper-button-next::after,
  .sectors-carousel .swiper-button-prev::after {
    font-size: 22px;
  }
}


/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  .sector-card,
  .sector-card:hover,
  .sector-icon,
  .sector-card:hover .sector-icon,
  .sector-title::after,
  .sector-card:hover .sector-title::after,
  .sector-card:hover .sector-list li,
  .sector-link::after,
  .sector-card:hover .sector-link i,
  .sectors-action .btn:hover,
  .sectors-action .btn::before {
    transition: none;
    animation: none;
    transform: none;
  }
}

/* Keyboard focus styles */
.sector-link:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 3px;
}

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


/* ===== TESTIMONIALS SECTION - COMPLETE REDESIGN 2025 ===== */
.testimonials {
    position: relative;
    padding: clamp(4rem, 12vw, 8rem) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Background texture pattern */
  .testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.5;
  }
  
  /* Decorative circles */
  .testimonials::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
  }
  
  /* Section header styling */
  .testimonials .section-header {
    position: relative;
    margin-bottom: clamp(3rem, 8vw, 5rem);
  }
  
  .testimonials .section-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
    padding: 0.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Subtitle icon */
  .testimonials .section-subtitle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-3.64 9.61c-.43.37-1.03.62-1.73.62-.46 0-.87-.09-1.23-.26v.91c0 .42-.35.77-.77.77-.42 0-.77-.35-.77-.77v-4.67c0-.43.35-.77.77-.77.42 0 .77.35.77.77v.24c.35-.23.76-.36 1.23-.36.71 0 1.3.24 1.73.62.42.36.7.9.7 1.55s-.28 1.19-.7 1.55zm-5.59-2.77H8.61c-.35 0-.64.29-.64.64s.29.64.64.64h2.16v1.89c0 .42-.35.77-.77.77-.42 0-.77-.35-.77-.77v-4.67c0-.43.35-.77.77-.77h2.16c.35 0 .64.29.64.64s-.29.64-.64.64z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
  }
  
  .testimonials .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--white);
  }
  
  .testimonials .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), rgba(255, 255, 255, 0.5));
    margin-top: var(--space-sm);
    margin-left: auto;
    margin-right: auto;
    border-radius: 3px;
  }
  
  .testimonials .section-desc {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
  }
  
  /* ===== TESTIMONIAL GRID LAYOUT ===== */
  .testimonials-carousel {
    position: relative;
    z-index: 1;
  }
  
  /* Custom styling for swiper */
  .testimonials .swiper {
    overflow: visible;
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }
  
  .testimonials .swiper-slide {
    height: auto; /* Allow slides to size based on content */
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(0.5);
  }
  
  .testimonials .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0);
  }
  
  .testimonials .swiper-pagination {
    bottom: 0;
  }
  
  .testimonials .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
  }
  
  .testimonials .swiper-pagination-bullet-active {
    width: 30px;
    background-color: var(--secondary-color);
    border-radius: 10px;
  }
  
  .testimonials .swiper-button-next,
  .testimonials .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.15);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  
  .testimonials .swiper-button-next::after,
  .testimonials .swiper-button-prev::after {
    font-size: 20px;
  }
  
  .testimonials .swiper-button-next:hover,
  .testimonials .swiper-button-prev:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  .testimonials .swiper-button-next:active,
  .testimonials .swiper-button-prev:active {
    transform: translateY(0);
  }
  
  /* ===== TESTIMONIAL CARD STYLING ===== */
  .testimonial-content {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.12);
  }
  
  /* Decorative curve */
  .testimonial-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
  }
  
  /* Header styling with rating */
  .testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    position: relative;
  }
  
  /* Custom rating visualization */
  .testimonial-rating {
    display: flex;
    align-items: center;
    gap: 3px;
  }
  
  .testimonial-rating .star {
    position: relative;
    width: 24px;
    height: 24px;
    visibility: hidden;
  }
  
  .testimonial-rating .star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    visibility: visible;
    filter: drop-shadow(0 2px 4px rgba(208, 150, 45, 0.3));
  }
  
  .testimonial-rating .star.half::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.64-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z'/%3E%3C/svg%3E");
  }
  
  /* Quote icon */
  .testimonial-quote {
    position: relative;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.15);
    font-size: 40px;
    line-height: 1;
    margin-left: auto;
  }
  
  /* Quote icon using SVG for better styling */
  .testimonial-quote svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    fill: currentColor;
  }
  
  /* Text styling */
  .testimonial-text {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(2rem, 6vw, 2.5rem);
    position: relative;
    z-index: 1;
    flex-grow: 1;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  /* Large quote mark in background */
  .testimonial-text::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -1rem;
    font-family: var(--font-secondary);
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
  }
  
  /* ===== AUTHOR INFORMATION STYLING ===== */
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: auto;
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
  }
  
  /* Custom SVG author avatars instead of images */
  .author-avatar {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 
                inset 0 2px 10px rgba(255, 255, 255, 0.2);
    border: 3px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .testimonial-content:hover .author-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
  }
  
  /* SVG person icons - will be different for each testimonial */
  .author-avatar .avatar-svg {
    width: 85%;
    height: 85%;
    fill: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  }
  
  /* Client 1 - Male baker icon */
  .avatar-client-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='white'%3E%3Ccircle cx='50' cy='35' r='20' /%3E%3Cpath d='M50 60 C30 60, 15 80, 15 100 L85 100 C85 80, 70 60, 50 60 Z' /%3E%3Cpath d='M35 35 C32 35, 30 32, 30 30 C30 28, 32 25, 35 25 M65 35 C68 35, 70 32, 70 30 C70 28, 68 25, 65 25' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M42 45 C45 48, 55 48, 58 45' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M30 25 C30 15, 40 10, 50 10 C60 10, 70 15, 70 25' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
  }
  
  /* Client 2 - Female chef icon */
  .avatar-client-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='white'%3E%3Cpath d='M50 10 C35 10, 25 20, 25 35 C25 50, 35 55, 50 55 C65 55, 75 50, 75 35 C75 20, 65 10, 50 10 Z' /%3E%3Cpath d='M50 55 C30 55, 15 75, 15 100 L85 100 C85 75, 70 55, 50 55 Z' /%3E%3Cpath d='M35 35 C35 35, 33 32, 35 30 M65 35 C65 35, 67 32, 65 30' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M42 42 C45 45, 55 45, 58 42' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M30 20 C30 5, 70 5, 70 20' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
  }
  
  /* Client 3 - Male with glasses icon */
  .avatar-client-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='white'%3E%3Ccircle cx='50' cy='35' r='20' /%3E%3Cpath d='M50 60 C30 60, 15 80, 15 100 L85 100 C85 80, 70 60, 50 60 Z' /%3E%3Cpath d='M30 33 C30 30, 32 27, 35 27 C38 27, 40 30, 40 33 M60 33 C60 30, 62 27, 65 27 C68 27, 70 30, 70 33' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M42 45 C45 48, 55 48, 58 45' stroke='white' stroke-width='2' fill='none'/%3E%3Cpath d='M30 33 L70 33' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
  }
  
  /* Author information styling */
  .author-info {
    flex: 1;
  }
  
  .author-name {
    font-family: var(--font-secondary);
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: var(--font-semibold);
    color: var(--white);
    margin-bottom: 4px;
    position: relative;
  }
  
  /* Verified icon */
  .author-name::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
  }
  
  .author-business {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* Location icon */
  .author-business::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255, 255, 255, 0.7)'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.7;
  }
  
  /* CTA section at bottom of testimonials */
  .testimonials-cta {
    text-align: center;
    margin-top: clamp(3rem, 8vw, 5rem);
    position: relative;
    z-index: 2;
  }
  
  .testimonials-cta .cta-text {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .testimonials-cta .btn {
    position: relative;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: var(--font-medium);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(208, 150, 45, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  .testimonials-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-light), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .testimonials-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(208, 150, 45, 0.4);
  }
  
  .testimonials-cta .btn:hover::before {
    opacity: 1;
  }
  
  .testimonials-cta .btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(208, 150, 45, 0.3);
  }
  
  .testimonials-cta .btn i {
    font-size: 1.25em;
    transition: transform 0.3s ease;
  }
  
  .testimonials-cta .btn:hover i {
    transform: translateX(4px);
  }
  
  /* Trustmark row */
  .trust-marks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(2rem, 6vw, 3rem);
  }
  
  .trust-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
  }
  
  .trust-mark:hover {
    opacity: 1;
    transform: translateY(-3px);
  }
  
  .trust-mark-icon {
    width: 32px;
    height: 32px;
    fill: var(--white);
  }
  
  .trust-mark-text {
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 120px;
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .testimonials .swiper-slide {
      max-width: 400px;
      margin: 0 auto;
    }
    
    .trust-mark-icon {
      width: 40px;
      height: 40px;
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    .testimonials::before {
      background-size: 120px;
    }
    
    .testimonial-content {
      min-height: 500px;
    }
    
    .trust-marks {
      justify-content: space-between;
      padding: 0 clamp(1rem, 4vw, 3rem);
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    .testimonials {
      padding-bottom: clamp(6rem, 12vw, 10rem);
    }
    
    .testimonials::after {
      bottom: -50px;
      right: -50px;
      width: 500px;
      height: 500px;
    }
    
    .testimonials-carousel {
      width: 90%;
      max-width: 1400px;
      margin: 0 auto;
    }
    
    .testimonial-content {
      min-height: 520px;
    }
    
    /* Add second decorative circle - only visible on large screens */
    .testimonials::before {
      content: '';
      position: absolute;
      top: -150px;
      left: -150px;
      width: 400px;
      height: 400px;
      border: 2px dashed rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      z-index: 0;
      background-size: 150px;
    }
    
    .trust-mark-icon {
      width: 48px;
      height: 48px;
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    .testimonials-carousel .swiper-slide {
      opacity: 0.6;
      transform: scale(0.9);
    }
    
    .testimonials-carousel .swiper-slide-prev,
    .testimonials-carousel .swiper-slide-next {
      opacity: 0.8;
      transform: scale(0.95);
    }
    
    .testimonials-carousel .swiper-slide-active {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  
  /* Reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .testimonials .swiper-slide,
    .testimonial-content,
    .testimonial-content:hover,
    .testimonials-cta .btn,
    .testimonials-cta .btn:hover,
    .testimonials .swiper-button-next,
    .testimonials .swiper-button-prev,
    .trust-mark:hover,
    .testimonial-content:hover .author-avatar {
      transition: none;
      transform: none;
      animation: none;
    }
  }
  
  /* Print optimizations */
  @media print {
    .testimonials {
      background: none !important;
      color: black !important;
      padding: 2cm 0;
    }
    
    .testimonials::before,
    .testimonials::after {
      display: none;
    }
    
    .testimonial-content {
      page-break-inside: avoid;
      background: none !important;
      border: 1px solid #ccc;
      box-shadow: none;
      min-height: auto;
    }
    
    .author-avatar {
      border: 1px solid #000;
    }
    
    .testimonial-rating .star::before {
      filter: none;
    }
    
    .swiper-slide {
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
      display: none !important;
    }
    
    .testimonials-cta {
      display: none;
    }
  }

/* ===== CTA SECTION - PREMIUM REDESIGN 2025 ===== */
.cta {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: var(--white);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Glow effect behind the section - creates depth */
  .cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: -1;
  }
  
  /* Custom pattern overlay */
  .cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.35;
    z-index: -1;
  }
  
  /* Floating shapes - adds movement and dimension */
  .cta-shape-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 25vw;
    max-width: 500px;
    height: 25vw;
    max-height: 500px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 32% 68% 65% 35% / 59% 43% 57% 41%;
    filter: blur(15px);
    animation: floatShape 25s infinite linear alternate;
    z-index: -1;
  }
  
  .cta-shape-2 {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 35vw;
    max-width: 600px;
    height: 30vw;
    max-height: 500px;
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 39% 61% 42% 58% / 27% 37% 63% 73%;
    filter: blur(20px);
    animation: floatShape 30s infinite linear alternate-reverse;
    z-index: -1;
  }
  
  .cta-shape-3 {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 15vw;
    max-width: 250px;
    height: 15vw;
    max-height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: pulse 8s infinite ease-in-out;
    z-index: -1;
  }
  
  /* Sparkling dots pattern */
  .cta-sparkles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
  }
  
  .cta-sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: twinkle 5s infinite;
  }
  
  .cta-sparkle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
  .cta-sparkle:nth-child(2) { top: 25%; left: 20%; animation-delay: 0.5s; }
  .cta-sparkle:nth-child(3) { top: 35%; left: 30%; animation-delay: 1s; }
  .cta-sparkle:nth-child(4) { top: 15%; left: 40%; animation-delay: 1.5s; }
  .cta-sparkle:nth-child(5) { top: 25%; left: 50%; animation-delay: 2s; }
  .cta-sparkle:nth-child(6) { top: 35%; left: 60%; animation-delay: 2.5s; }
  .cta-sparkle:nth-child(7) { top: 45%; left: 70%; animation-delay: 3s; }
  .cta-sparkle:nth-child(8) { top: 55%; left: 80%; animation-delay: 3.5s; }
  .cta-sparkle:nth-child(9) { top: 65%; left: 90%; animation-delay: 4s; }
  .cta-sparkle:nth-child(10) { top: 75%; left: 15%; animation-delay: 4.5s; }
  .cta-sparkle:nth-child(11) { top: 85%; left: 25%; animation-delay: 0.2s; }
  .cta-sparkle:nth-child(12) { top: 90%; left: 35%; animation-delay: 0.7s; }
  .cta-sparkle:nth-child(13) { top: 80%; left: 45%; animation-delay: 1.2s; }
  .cta-sparkle:nth-child(14) { top: 70%; left: 55%; animation-delay: 1.7s; }
  .cta-sparkle:nth-child(15) { top: 60%; left: 65%; animation-delay: 2.2s; }
  .cta-sparkle:nth-child(16) { top: 50%; left: 75%; animation-delay: 2.7s; }
  .cta-sparkle:nth-child(17) { top: 40%; left: 85%; animation-delay: 3.2s; }
  .cta-sparkle:nth-child(18) { top: 30%; left: 95%; animation-delay: 3.7s; }
  .cta-sparkle:nth-child(19) { top: 20%; left: 5%; animation-delay: 4.2s; }
  .cta-sparkle:nth-child(20) { top: 10%; left: 25%; animation-delay: 4.7s; }
  
  /* Main content container */
  .cta-container {
    position: relative;
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
    z-index: 2;
  }
  
  .cta-content-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .cta-content-wrapper:hover {
    transform: translateY(-10px);
  }
  
  /* Glowing border effect */
  .cta-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
      rgba(255, 255, 255, 0) 40%, 
      rgba(255, 255, 255, 0.1) 50%, 
      rgba(255, 255, 255, 0) 60%);
    z-index: -1;
    background-size: 200% 200%;
    animation: glowingBorder 3s linear infinite;
  }
  
  .cta-content {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    z-index: 1;
  }
  
  /* Decorative accents */
  .cta-accent {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
  }
  
  .cta-accent:nth-child(1) {
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
  }
  
  .cta-accent:nth-child(2) {
    bottom: 30px;
    right: 40px;
    width: 40px;
    height: 40px;
  }
  
  .cta-accent:nth-child(3) {
    bottom: 70px;
    left: 60px;
    width: 25px;
    height: 25px;
  }
  
  .cta-accent:nth-child(4) {
    top: 50px;
    right: 70px;
    width: 15px;
    height: 15px;
  }
  
  /* Headline styling */
  .cta-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: var(--font-bold);
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
  }
  
  /* Animated highlight under the title */
  .cta-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--white), transparent);
    opacity: 0.6;
    border-radius: 3px;
  }
  
  .cta-text {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    line-height: 1.6;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* CTA Buttons group */
  .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
  }
  
  /* Primary action button */
  .cta-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(0.875rem, 1.25vw, 1.125rem) clamp(1.75rem, 2.5vw, 2.25rem);
    background-color: var(--white);
    color: var(--secondary-dark);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: var(--font-bold);
    letter-spacing: 0.02em;
    border-radius: 100px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    border: none;
    text-decoration: none;
  }
  
  /* Button background shimmer effect */
  .cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.5),
      transparent
    );
    z-index: -1;
    animation: shimmerEffect 3s infinite;
  }
  
  .cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
  }
  
  .cta-btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .cta-btn-primary i {
    font-size: 1.2em;
    transform: translateY(-1px);
    transition: transform 0.3s ease;
  }
  
  .cta-btn-primary:hover i {
    transform: translateX(3px) translateY(-1px);
  }
  
  /* Secondary action button */
  .cta-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(0.875rem, 1.25vw, 1.125rem) clamp(1.75rem, 2.5vw, 2.25rem);
    background-color: transparent;
    color: var(--white);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: var(--font-semibold);
    letter-spacing: 0.02em;
    border-radius: 100px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
  }
  
  .cta-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .cta-btn-outline:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .cta-btn-outline i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
  }
  
  .cta-btn-outline:hover i {
    transform: rotate(-15deg) scale(1.2);
  }
  
  /* Trust note */
  .cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }
  
  .cta-note:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
  }
  
  .cta-note i {
    color: var(--white);
    font-size: 1.25em;
    opacity: 0.9;
  }
  
  /* Trust badges */
  .cta-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
  }
  
  .cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
  }
  
  .cta-badge:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
  }
  
  .cta-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
  }
  
  .cta-badge-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--white);
  }
  
  .cta-badge-text {
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    font-weight: var(--font-medium);
    color: var(--white);
  }
  
  /* Divider between buttons and note */
  .cta-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 1.5rem auto;
    border-radius: 1px;
  }
  
  /* CTA with image variation */
  .cta-with-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .cta-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .cta-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
  }
  
  .cta-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 5s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .cta-image-wrapper:hover .cta-image {
    transform: scale(1.15);
  }
  
  .cta-with-image .cta-content {
    text-align: left;
  }
  
  /* Animations */
  @keyframes floatShape {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    33% {
      transform: translate(5%, 3%) rotate(5deg);
    }
    66% {
      transform: translate(-3%, -5%) rotate(-3deg);
    }
    100% {
      transform: translate(2%, 1%) rotate(2deg);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.5;
    }
    50% {
      transform: scale(1.05);
      opacity: 0.7;
    }
  }
  
  @keyframes twinkle {
    0%, 100% {
      opacity: 0.2;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.5);
    }
  }
  
  @keyframes shimmerEffect {
    0% {
      left: -100%;
    }
    20%, 100% {
      left: 100%;
    }
  }
  
  @keyframes glowingBorder {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 200% 0%;
    }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .cta-actions {
      flex-wrap: nowrap;
    }
    
    .cta-badge {
      flex: 0 0 auto;
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    .cta-with-image {
      grid-template-columns: 1fr 1fr;
    }
    
    .cta-trust-badges {
      gap: 2rem;
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    .cta-content-wrapper {
      max-width: 90%;
      margin: 0 auto;
    }
    
    .cta-sparkle {
      width: 4px;
      height: 4px;
    }
    
    /* Add a new decorative element for large screens */
    .cta::before {
      background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    .cta-content-wrapper {
      max-width: 80%;
    }
    
    .cta-title {
      font-size: 3.5rem;
    }
    
    .cta-with-image {
      gap: 4rem;
    }
  }
  
  
  /* Reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    .cta-shape-1,
    .cta-shape-2,
    .cta-shape-3,
    .cta-sparkle,
    .cta-content-wrapper:hover,
    .cta-btn-primary::before,
    .cta-badge:hover,
    .cta-content-wrapper::before,
    .cta-image-wrapper,
    .cta-image-wrapper:hover .cta-image {
      animation: none;
      transition: none;
      transform: none;
    }
  }
  
  /* Print optimizations */
  @media print {
    .cta {
      background: #D0962D !important;
      padding: 2cm 0;
    }
    
    .cta::before,
    .cta::after,
    .cta-shape-1,
    .cta-shape-2,
    .cta-shape-3,
    .cta-sparkles,
    .cta-accent {
      display: none;
    }
    
    .cta-content-wrapper {
      box-shadow: none;
      background: none;
      border: 1px solid #000;
    }
    
    .cta-trust-badges {
      display: none;
    }
    
    .cta-btn-primary,
    .cta-btn-outline {
      border: 1px solid #000;
      color: #000 !important;
      background: none !important;
      box-shadow: none;
    }
  }
/* ===== FOOTER RIPROGETTATO ===== */
.footer {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--space-xl) 0 var(--space-md);
  }
  
  .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 180px;
    z-index: 0;
  }
  
  .footer .container {
    position: relative;
    z-index: 1;
  }
  
  /* Layout footer responsive */
  .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }
  
  /* Colonna Brand */
  .footer-brand {
    display: flex;
    flex-direction: column;
  }
  
  .footer-logo {
    margin-bottom: var(--space-md);
    max-width: 160px;
  }
  
  .footer-desc {
    margin-bottom: var(--space-md);
    opacity: 0.8;
    line-height: 1.6;
    font-size: var(--text-sm);
    max-width: 90%;
  }
  
  .footer-social {
    display: flex;
    gap: var(--space-xs);
  }
  
  .footer-social .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .footer-social .social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  /* Titoli colonne */
  .footer-title {
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    font-size: var(--text-md);
    padding-bottom: var(--space-xs);
    color: var(--white);
  }
  
  .footer-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--secondary-color);
    margin-top: var(--space-xs);
    border-radius: 1px;
  }
  
  /* Menu footer */
  .footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .footer-menu li a {
    color: var(--white);
    opacity: 0.7;
    transition: all 0.3s ease;
    display: inline-block;
    padding: var(--space-xs) 0;
    font-size: var(--text-sm);
  }
  
  .footer-menu li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
  }
  
  /* Contatti */
  .contact-list li {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
  }
  
  .contact-list li i {
    color: var(--secondary-color);
    margin-top: 5px;
    flex-shrink: 0;
  }
  
  .contact-list li p {
    margin: 0;
    opacity: 0.7;
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  
  .contact-list a {
    color: var(--white);
    transition: all 0.3s ease;
  }
  
  .contact-list a:hover {
    color: var(--secondary-color);
  }
  
  /* Certificazioni */
  .footer-certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
  }
  
  .certification-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
  }
  
  .certification-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .certification-badge img {
    height: 24px;
    width: auto;
  }
  
  .certification-badge span {
    font-size: var(--text-xs);
    opacity: 0.8;
  }
  
  .years-badge {
    font-size: var(--text-md);
    font-weight: var(--font-bold);
    color: var(--secondary-color);
  }
  
  /* Copyright e Credits */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .copyright {
    font-size: var(--text-xs);
    opacity: 0.7;
  }
  
  .footer-legal {
    display: flex;
    gap: var(--space-md);
  }
  
  .footer-legal a {
    color: var(--white);
    font-size: var(--text-xs);
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
  }
  
  .designer-credit a {
    color: var(--white);
    font-size: var(--text-xs);
    opacity: 0.7;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .designer-credit a:hover {
    opacity: 1;
    color: var(--secondary-color);
  }
  
  .designer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .designer-credit a:hover::after {
    width: 100%;
  }
  
  /* Responsive per Mobile */
  @media (max-width: 768px) {
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-logo {
      margin-left: auto;
      margin-right: auto;
    }
    
    .footer-desc {
      max-width: 100%;
    }
    
    .footer-social {
      justify-content: center;
    }
    
    .footer-title {
      margin-left: auto;
      margin-right: auto;
    }
    
    .footer-title::after {
      margin-left: auto;
      margin-right: auto;
    }
    
    .footer-menu {
      align-items: center;
    }
    
    .contact-list li {
      justify-content: center;
      text-align: left;
    }
    
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-legal {
      justify-content: center;
      margin: var(--space-sm) 0;
    }
    
    .designer-credit {
      margin-top: var(--space-xs);
    }
  }
/* ===== 17. MODALS & POPUPS ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: var(--space-md);
  overflow-y: auto;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 1;
}

.modal-container {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: all var(--transition-base);
}

.modal[aria-hidden="false"] .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.modal-title {
  font-size: var(--text-xl);
  color: var(--primary-color);
  margin: 0;
  font-weight: var(--font-semibold);
}

.modal-close {
  width: 36px;
  height: 36px;
  background-color: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: var(--text-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-close:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-lg);
  flex-grow: 1;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  z-index: var(--z-toast);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  max-width: 500px;
}

.cookie-consent[aria-hidden="false"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-content p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-color);
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

/* Whatsapp Button */
.whatsapp-button {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  font-size: var(--text-xl);
  transition: all var(--transition-base);
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.3;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

.whatsapp-button:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ===== 18. FORM ELEMENTS ===== */
/* Select Styling */
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666666' 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");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* Input Focus Visible */
.form-control:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 38, 66, 0.2);
}

/* Custom File Input */
.custom-file-input {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-file-input input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius-md);
  background-color: var(--gray-50);
  color: var(--text-light);
  transition: all var(--transition-base);
  text-align: center;
  font-size: var(--text-sm);
}

.custom-file-input:hover .custom-file-label {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.custom-file-input input[type="file"]:focus + .custom-file-label {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(21, 38, 66, 0.1);
}

/* Form States */
.form-control.is-valid {
  border-color: var(--color-success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-control.is-invalid {
  border-color: var(--color-danger);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D32F2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

/* Material Style Input */
.form-material {
  position: relative;
  margin-top: 1.5rem;
}

.form-material .form-control {
  background-color: transparent;
  border-width: 0;
  border-bottom: 1px solid var(--gray-300);
  border-radius: 0;
  padding: 0.5rem 0;
}

.form-material .form-control:focus {
  box-shadow: none;
  border-bottom-color: var(--primary-color);
}

.form-material label {
  position: absolute;
  top: 0.5rem;
  left: 0;
  transition: all var(--transition-base);
  color: var(--text-muted);
  pointer-events: none;
}

.form-material .form-control:focus ~ label,
.form-material .form-control:not(:placeholder-shown) ~ label {
  top: -1.25rem;
  font-size: var(--text-xs);
  color: var(--primary-color);
}

.form-material .form-control::placeholder {
  color: transparent;
}

/* ===== 19. ANIMATIONS & EFFECTS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  80%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes shine {
  to {
    left: 100%;
  }
}

.animate-fadeIn { animation: fadeIn 1s forwards; }
.animate-fadeInUp { animation: fadeInUp 1s forwards; }
.animate-fadeInDown { animation: fadeInDown 1s forwards; }
.animate-fadeInLeft { animation: fadeInLeft 1s forwards; }
.animate-fadeInRight { animation: fadeInRight 1s forwards; }
.animate-pulse { animation: pulse 2s infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== 20. MEDIA QUERIES ===== */
/* Extra large devices (large desktops) */
@media (min-width: 1400px) {
  .container {
    max-width: var(--container-2xl);
  }
  
  .featured-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-content {
    padding-right: var(--space-2xl);
  }
  
  .hero-image {
    height: 550px;
  }
  
  .hero-badge {
    width: 140px;
    height: 140px;
  }
  
  .badge-years {
    font-size: var(--text-3xl);
  }
}

/* Large devices (desktops) */
@media (max-width: 1200px) {
  .container {
    max-width: var(--container-lg);
  }
  
  .hero-container {
    min-height: 75vh;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-md);
  }
  
  .hero-image {
    height: 450px;
  }
  
  .hero-badge {
    width: 100px;
    height: 100px;
  }
  
  .featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  .container {
    max-width: var(--container-md);
  }
  
  /* Header Navigation */
  .nav-menu {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .mobile-menu-wrapper {
    display: block;
  }
  
  /* Hero Section */
  .hero-container {
    flex-direction: column;
    min-height: auto;
    gap: var(--space-xl);
  }
  
  .hero-content {
    order: 2;
    padding-right: 0;
    text-align: center;
  }
  
  .hero-title::after {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image {
    order: 1;
    width: 100%;
    height: 400px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-badge {
    top: var(--space-md);
    right: var(--space-md);
    transform: none;
  }
  
  /* About Section */
  .about-story-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Products Section */
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact Section */
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-info {
    order: 2;
  }
  
  /* Product Modal */
  .product-details {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .footer-badges {
    justify-content: center;
  }
}

/* Small devices (landscape phones) */
@media (max-width: 768px) {
  .container {
    max-width: var(--container-sm);
  }
  
  .section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  
  .section-title {
    font-size: var(--text-2xl);
  }
  
  /* Top Bar */
  .top-bar .container {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .top-contact {
    justify-content: center;
    gap: var(--space-xs);
  }
  
  .top-social {
    justify-content: center;
    margin-top: var(--space-xs);
  }
  
  .top-address {
    display: none;
  }
  
  /* Hero Section */
  .hero-title {
    font-size: var(--text-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-image {
    height: 300px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  /* About Section */
  .about-story-image {
    height: 350px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  /* Products Section */
  .featured-products-grid {
    gap: var(--space-md);
  }
  
  /* Testimonials */
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
  }
  
  /* CTA Section */
  .cta-actions {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .recognition-badge {
    flex: 1 0 45%;
    justify-content: center;
  }
  
  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Product Modal */
  .modal-container {
    padding: 0;
  }
  
  .product-thumbnails {
    justify-content: center;
  }
  
  .product-social-share {
    justify-content: center;
  }
  
  .product-meta {
    justify-content: center;
  }
  
  .dim-label, .spec-label {
    width: 100%;
    margin-bottom: var(--space-2xs);
  }
  
  .dim-value, .spec-value {
    width: 100%;
  }
  
  .product-dimensions li, .product-specs li {
    flex-direction: column;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* Extra small devices (phones) */
@media (max-width: 576px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  
  /* Featured Products */
  .featured-products-grid {
    grid-template-columns: 1fr;
  }
  
  /* Why Choose Us */
  .certification-bar {
    justify-content: center;
  }
  
  /* Forms */
  .privacy-checkbox {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  /* Cookie Consent */
  .cookie-consent {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    padding: var(--space-sm);
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-actions .btn {
    width: 100%;
  }
  
  /* Back to Top & Whatsapp */
  .back-to-top,
  .whatsapp-button {
    width: 45px;
    height: 45px;
    font-size: var(--text-md);
  }
  
  /* Modal */
  .modal-body {
    padding: var(--space-md);
  }
  
  .product-main-image {
    height: 250px;
  }
  
  /* Certification Bar */
  .certification-item {
    flex: 1 0 100%;
  }
}

/* ===== 21. ACCESSIBILITY & PRINT ===== */
/* Accessibility - Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

/* Skip to Content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  z-index: var(--z-top);
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* High contrast focus for keyboard users */
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

.js-focus-visible .focus-visible {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-fadeIn,
  .animate-fadeInUp,
  .animate-fadeInDown,
  .animate-fadeInLeft,
  .animate-fadeInRight,
  .animate-pulse {
    animation: none !important;
  }
  
  .scroll-wheel,
  .loading-bar,
  .loading-spinner,
  .hero-scroll-indicator {
    animation: none !important;
  }
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print Styles */
@media print {
  @page {
    margin: 2cm;
  }
  
  body {
    font-size: 12pt;
    background: #fff;
    color: #000;
  }
  
  .top-bar,
  .hero-scroll-indicator,
  .nav-menu,
  .nav-actions,
  .footer,
  .whatsapp-button,
  .back-to-top,
  .cookie-consent {
    display: none !important;
  }
  
  .header {
    position: static;
    box-shadow: none;
    border-bottom: 1pt solid #000;
  }
  
  .container {
    max-width: 100%;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
  
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  
  a[href^="#"]::after,
  a[href^="javascript"]::after,
  a[href^="tel"]::after,
  a[href^="mailto"]::after {
    content: "";
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  p, blockquote, ul, ol, dl, table {
    page-break-inside: avoid;
  }
  
  .hero-container,
  .about-story-content,
  .product-details {
    display: block;
  }
  
  .hero-content,
  .hero-image,
  .about-story-text,
  .about-story-image,
  .contact-form-container,
  .contact-info {
    width: 100%;
    margin-bottom: 2cm;
  }
}


/* Utilities for Responsive Development */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-flex { display: flex !important; }
  .d-sm-grid { display: grid !important; }
}

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-grid { display: grid !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-grid { display: grid !important; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-inline { display: inline !important; }
  .d-xl-inline-block { display: inline-block !important; }
  .d-xl-flex { display: flex !important; }
  .d-xl-grid { display: grid !important; }
}

/* Loading Animation Styles */
/* Stile per animazione caricamento con logo centrato */
.loading-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 280px; /* Controlla la larghezza massima del contenitore */
}

.loading-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}

.loading-logo img {
  max-width: 100%;
  height: auto;
}

.loading-text {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif; /* Usa lo stesso font del sito */
}

.loading-progress {
  width: 80%;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0;
  background-color: #d82e2e; /* Colore rosso Modena */
  transition: width 0.5s ease;
}
.oven-animation {
  width: 160px;
  height: 130px;
  margin-bottom: var(--space-lg);
  position: relative;
  perspective: 800px;
}

.oven {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  animation: ovenGlow 3s infinite alternate;
}

.oven::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background: linear-gradient(to bottom, var(--primary-dark), var(--gray-900));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.oven-door {
  position: absolute;
  width: 75%;
  height: 60%;
  top: 20%;
  left: 12.5%;
  background: linear-gradient(to bottom, var(--gray-700), var(--gray-900));
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--gray-900);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
  transform-style: preserve-3d;
  transform-origin: left;
  animation: doorSwing 6s infinite 1s alternate;
}

.oven-window {
  width: 70%;
  height: 70%;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  animation: glow 3s infinite alternate;
  box-shadow: inset 0 0 10px rgba(255, 165, 0, 0.3), 0 0 20px rgba(255, 165, 0, 0.5);
}

.bread {
  position: absolute;
  width: 50%;
  height: 20px;
  bottom: 20%;
  left: 25%;
  background: linear-gradient(to bottom, var(--secondary-light), var(--secondary-color));
  border-radius: 40% 40% 5px 5px;
  animation: bake 4s infinite alternate;
  transform-origin: bottom;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.heat-waves {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  height: 40%;
}

.wave {
  position: absolute;
  width: 10px;
  height: 30px;
  background: linear-gradient(to top, rgba(255, 120, 0, 0.4), rgba(255, 165, 0, 0.8));
  border-radius: 5px;
  filter: blur(1px);
}

.wave1 {
  left: 25%;
  animation: wave 2s infinite;
}

.wave2 {
  left: 50%;
  animation: wave 2s infinite 0.5s;
}

.wave3 {
  left: 75%;
  animation: wave 2s infinite 1s;
}

.loading-text {
  font-family: var(--font-secondary);
  text-align: center;
  margin-bottom: var(--space-md);
}

.loading-text span {
  display: inline-block;
  margin: 0 var(--space-xs);
  font-size: var(--text-lg);
  color: var(--text-color);
}

.loading-brand {
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
}

.loading-brand::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  animation: underlineExpand 1.5s infinite alternate;
}

.loading-logo {
  max-width: 180px;
  margin-bottom: var(--space-lg);
  animation: pulse 2s infinite;
}

.loading-progress {
  width: 200px;
  height: 4px;
  background-color: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
  border-radius: var(--radius-full);
  animation: progress 2.5s ease-in-out forwards;
  box-shadow: 0 1px 5px rgba(208, 150, 45, 0.5);
}

@keyframes glow {
  0% { box-shadow: inset 0 0 10px rgba(255, 165, 0, 0.3), 0 0 10px rgba(255, 165, 0, 0.3); }
  100% { box-shadow: inset 0 0 20px rgba(255, 165, 0, 0.5), 0 0 20px rgba(255, 165, 0, 0.5); }
}

@keyframes bake {
  0% { transform: scale(1); background-color: var(--secondary-color); }
  50% { transform: scale(1.05); background-color: var(--secondary-light); }
  100% { transform: scale(1.1); background-color: var(--secondary-color); }
}

@keyframes wave {
  0% { height: 15px; opacity: 0.4; }
  50% { height: 30px; opacity: 0.8; }
  100% { height: 15px; opacity: 0.4; }
}

@keyframes doorSwing {
  0%, 20% { transform: rotateY(0); }
  30%, 70% { transform: rotateY(-15deg); }
  80%, 100% { transform: rotateY(0); }
}

@keyframes ovenGlow {
  0% { box-shadow: var(--shadow-lg); }
  100% { box-shadow: 0 5px 15px rgba(21, 38, 66, 0.3), 0 0 30px rgba(208, 150, 45, 0.3); }
}

@keyframes underlineExpand {
  0% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(1); transform-origin: right; }
  50.1% { transform: scaleX(1); transform-origin: left; }
  100% { transform: scaleX(0); transform-origin: left; }
}

@keyframes progress {
  0% { width: 0; }
  10% { width: 10%; }
  30% { width: 30%; }
  50% { width: 50%; }
  70% { width: 70%; }
  90% { width: 90%; }
  100% { width: 100%; }
}

/* Product Skeleton Animation */
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }
.stagger-item:nth-child(7) { animation-delay: 0.7s; }
.stagger-item:nth-child(8) { animation-delay: 0.8s; }

/* Swiper Carousel Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--primary-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--gray-400);
  opacity: 0.5;
  transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 5px;
  background-color: var(--primary-color);
  opacity: 1;
}

/* Utility for AOS animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1) rotate(0);
  pointer-events: auto;
}

[data-aos="fade-up"] {
  transform: translateY(40px);
}

[data-aos="fade-down"] {
  transform: translateY(-40px);
}

[data-aos="fade-right"] {
  transform: translateX(-40px);
}

[data-aos="fade-left"] {
  transform: translateX(40px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-out"] {
  transform: scale(1.1);
}

[data-aos="rotate"] {
  transform: rotate(-10deg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
  border: 3px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Remove scrollbar for specific elements */
.product-quick-filters::-webkit-scrollbar {
  display: none;
}

/* Optimize images with object-fit */
.object-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.object-contain {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.object-center {
  object-position: center;
}

/* Text truncation */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Browser-specific fixes */
/* Edge */
@supports (-ms-ime-align: auto) {
  .card:hover, 
  .value-card:hover, 
  .sector-card:hover, 
  .product-card:hover {
    transform: translateY(-5px);
  }
}

/* Firefox */
@-moz-document url-prefix() {
  .product-filter-pill,
  .badge,
  .btn {
    background-image: none !important;
  }
}

/* Safari */
@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    .hero-image img {
      transform: none;
      animation: none;
    }
  }
}

/* IE 11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .card,
  .product-card,
  .value-card,
  .sector-card,
  .testimonial-content {
    transition: none;
  }
}

/* Support for notched phones */
@supports(padding: max(0px)) {
  body, 
  .modal-container,
  .cookie-consent {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  
  .whatsapp-button {
    left: max(var(--space-md), env(safe-area-inset-left));
    bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }
  
  .back-to-top {
    right: max(var(--space-md), env(safe-area-inset-right));
    bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }
}

/* Interactions for touch devices */
@media (hover: none) {
  .btn:hover,
  .card:hover,
  .product-card:hover,
  .value-card:hover,
  .sector-card:hover {
    transform: none;
  }
  
  .tooltip:active .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
}

/* Optimizations for high-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print optimization final tweaks */
@media print {
  .no-print {
    display: none !important;
  }
  
  .print-full-width {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .container {
    padding: 0 !important;
    max-width: 100% !important;
  }
  
  .product-badge, 
  .value-icon, 
  .sector-icon,
  .certification-item,
  .social-icon,
  .btn {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}



/* ===== CONTACT SECTION - PREMIUM REDESIGN 2025 ===== */
.contact-section {
    position: relative;
    padding: clamp(5rem, 12vw, 8rem) 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Background decorative elements */
  .contact-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23152642' fill-opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: -1;
  }
  
  .contact-bg-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(208, 150, 45, 0.05) 0%, rgba(208, 150, 45, 0) 70%);
    z-index: -1;
    border-radius: 50%;
  }
  
  .contact-bg-circles {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(21, 38, 66, 0.04) 0%, rgba(21, 38, 66, 0) 70%);
    z-index: -1;
    border-radius: 50%;
  }
  
  /* Section floating elements */
  .contact-float-element {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary-ultra-light);
    opacity: 0.7;
    filter: blur(50px);
    z-index: -1;
  }
  
  .contact-float-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
    animation: floatAnimation 20s infinite alternate ease-in-out;
  }
  
  .contact-float-2 {
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background-color: rgba(208, 150, 45, 0.05);
    animation: floatAnimation 15s infinite alternate-reverse ease-in-out;
  }
  
  /* Animated lines */
  .contact-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, rgba(21, 38, 66, 0), rgba(21, 38, 66, 0.1), rgba(21, 38, 66, 0));
    z-index: -1;
  }
  
  .contact-line-1 {
    top: 0;
    bottom: 0;
    left: 15%;
    animation: pulseOpacity 10s infinite;
  }
  
  .contact-line-2 {
    top: 0;
    bottom: 0;
    right: 15%;
    animation: pulseOpacity 15s infinite 2s;
  }
  
  /* Container styles */
  .container {
    position: relative;
    z-index: 1;
  }
  
  .section-header {
    position: relative;
    margin-bottom: clamp(3rem, 8vw, 5rem);
  }
  
  .section-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.875rem, 1vw, 1rem);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
    padding: 0.5rem 1.25rem;
    background-color: rgba(208, 150, 45, 0.08);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(208, 150, 45, 0.07);
  }
  
  /* Subtitle icon */
  .section-subtitle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D0962D'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .section-title {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    position: relative;
    line-height: 1.2;
  }
  
  .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), rgba(208, 150, 45, 0.3));
    margin: var(--space-sm) auto 0;
    border-radius: 3px;
  }
  
  .section-desc {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.7;
  }
  
  /* Main contact container */
  .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
    position: relative;
    z-index: 2;
  }
  
  /* Form container styles */
  .contact-form-container {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(21, 38, 66, 0.08), 
                0 0 0 1px rgba(21, 38, 66, 0.05),
                0 10px 40px rgba(21, 38, 66, 0.04);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
  }
  
  .contact-form-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(21, 38, 66, 0.12), 
                0 0 0 1px rgba(21, 38, 66, 0.08),
                0 15px 50px rgba(21, 38, 66, 0.08);
  }
  
  /* Form decorative elements */
  .contact-form-shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-ultra-light), rgba(255, 255, 255, 0));
    z-index: 0;
    border-radius: 50%;
  }
  
  .contact-form-shape-1 {
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    opacity: 0.5;
  }
  
  .contact-form-shape-2 {
    bottom: -80px;
    left: -80px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(208, 150, 45, 0.05), rgba(255, 255, 255, 0));
  }
  
  /* Top border accent */
  .contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: backgroundShift 8s infinite linear;
  }
  
  .contact-form {
    position: relative;
    z-index: 1;
  }
  
  /* Form rows and groups */
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  }
  
  .form-group {
    position: relative;
    margin-bottom: clamp(1.25rem, 2vw, 1.5rem);
  }
  
  /* Label styles */
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-medium);
    color: var(--text-dark);
    font-size: clamp(0.9375rem, 1vw, 1rem);
    transition: all 0.3s ease;
  }
  
  .form-group label:hover {
    color: var(--primary-color);
  }
  
  .required {
    color: var(--color-danger);
    margin-left: 3px;
    font-weight: var(--font-bold);
  }
  
  /* Input field styling */
  .form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(21, 38, 66, 0.15);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: clamp(0.9375rem, 1vw, 1rem);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 5px rgba(21, 38, 66, 0.03);
  }
  
  .form-control:hover {
    border-color: rgba(21, 38, 66, 0.3);
    background-color: rgba(255, 255, 255, 1);
  }
  
  .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 38, 66, 0.07), 0 5px 15px rgba(21, 38, 66, 0.05);
    background-color: rgba(255, 255, 255, 1);
  }
  
  .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
  }
  
  /* Textarea styling */
  textarea.form-control {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
    padding-top: 1rem;
  }
  
  /* Select field styling */
  select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23152642' 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");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
  }
  
  /* Form error styling */
  .form-error {
    display: none;
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    color: var(--color-danger);
    margin-top: 0.5rem;
    animation: fadeIn 0.3s ease;
  }
  
  .form-error.visible {
    display: block;
  }
  
  /* Checkbox styling */
  .privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
  }
  
  .privacy-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(21, 38, 66, 0.2);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(21, 38, 66, 0.03);
  }
  
  .privacy-checkbox input[type="checkbox"]:hover {
    border-color: rgba(21, 38, 66, 0.4);
    background-color: rgba(255, 255, 255, 1);
  }
  
  .privacy-checkbox input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .privacy-checkbox input[type="checkbox"]:focus {
    box-shadow: 0 0 0 4px rgba(21, 38, 66, 0.07);
  }
  
  .privacy-checkbox input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  
  .privacy-checkbox label {
    font-size: clamp(0.875rem, 0.95vw, 0.9375rem);
    color: var(--text-color);
    margin: 0;
    cursor: pointer;
  }
  
  .privacy-policy-link {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .privacy-policy-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .privacy-policy-link:hover {
    color: var(--secondary-color);
  }
  
  .privacy-policy-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background-color: var(--secondary-color);
  }
  
  /* Form actions */
  .form-actions {
    margin-top: clamp(2rem, 3vw, 2.5rem);
    display: flex;
    justify-content: center; /* Center the button */
  }
  
  /* Submit button */
  .form-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    font-weight: var(--font-semibold);
    letter-spacing: 0.03em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(21, 38, 66, 0.15);
    overflow: hidden;
    z-index: 1;
    min-width: 200px;
  }
  
  .form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .form-submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(21, 38, 66, 0.2);
  }
  
  .form-submit-btn:hover::before {
    opacity: 1;
  }
  
  .form-submit-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(21, 38, 66, 0.15);
  }
  
  .form-submit-btn i {
    font-size: 1.1em;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
  }
  
  .form-submit-btn:hover i {
    transform: translateX(-3px);
  }
  
  /* Loading spinner for form submission */
  .form-submit-btn.loading {
    pointer-events: none;
  }
  
  .form-submit-btn.loading i {
    animation: spinAnimation 1.5s infinite linear;
  }
  
  /* ===== CONTACT INFO STYLING ===== */
  .contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2vw, 1.5rem);
    height: 100%;
  }
  
  /* Contact info item */
  .contact-info-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 1.5vw, 1.25rem);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(21, 38, 66, 0.06),
                0 0 0 1px rgba(21, 38, 66, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  }
  
  .contact-info-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 20px 40px rgba(21, 38, 66, 0.08),
                0 0 0 1px rgba(21, 38, 66, 0.06);
    background: rgba(255, 255, 255, 0.85);
  }
  
  /* Info item accents */
  .contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px 0 0 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .contact-info-item:hover::before {
    opacity: 1;
    width: 6px;
  }
  
  /* Icon styling */
  .contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-ultra-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    box-shadow: 0 5px 15px rgba(21, 38, 66, 0.08);
    transition: all 0.3s ease;
  }
  
  .contact-info-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: rotate(-10deg);
    box-shadow: 0 8px 20px rgba(21, 38, 66, 0.12);
  }
  
  /* Contact text styling */
  .contact-text {
    flex: 1;
  }
  
  .contact-text h3 {
    font-size: clamp(1.125rem, 1.25vw, 1.25rem);
    font-weight: var(--font-semibold);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
  }
  
  /* Underline effect for headings */
  .contact-text h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
  }
  
  .contact-info-item:hover .contact-text h3::after {
    width: 100%;
  }
  
  .contact-text p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: clamp(0.9375rem, 1vw, 1rem);
    line-height: 1.6;
  }
  
  .contact-text p:last-child {
    margin-bottom: 0;
  }
  
  .contact-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
  }
  
  .contact-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .contact-text a:hover {
    color: var(--primary-color);
  }
  
  .contact-text a:hover::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    background-color: var(--primary-color);
  }
  
  /* Map styling */
  .contact-map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(21, 38, 66, 0.06),
                0 0 0 1px rgba(21, 38, 66, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    aspect-ratio: 16 / 9;
    max-height: 300px;
    margin-top: auto;
  }
  
  .contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(21, 38, 66, 0.08),
                0 0 0 1px rgba(21, 38, 66, 0.06);
  }
  
  .contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  
  /* Map overlay with company info */
  .map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(21, 38, 66, 0.15);
    max-width: 60%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    transform: translateY(0);
    border: 1px solid rgba(21, 38, 66, 0.05);
  }
  
  .map-overlay:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(21, 38, 66, 0.2);
  }
  
  .map-overlay-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .map-overlay-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .map-overlay-text {
    font-size: clamp(0.75rem, 0.9vw, 0.875rem);
    color: var(--primary-color);
    font-weight: var(--font-medium);
    line-height: 1.4;
  }
  
  /* Floating accent for the whole section */
  .contact-accent-circle {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-ultra-light), transparent);
    opacity: 0.8;
    filter: blur(60px);
  }
  
  .contact-accent-1 {
    top: 20%;
    left: 60%;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    animation: floatSlow 20s infinite alternate ease-in-out;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes floatAnimation {
    0%, 100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(20px, -10px);
    }
  }
  
  @keyframes floatSlow {
    0%, 100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(-20px, 20px) scale(1.05);
    }
  }
  
  @keyframes pulseOpacity {
    0%, 100% {
      opacity: 0.3;
    }
    50% {
      opacity: 0.7;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes backgroundShift {
    0% {
      background-position: 0% 0%;
    }
    50% {
      background-position: 100% 0%;
    }
    100% {
      background-position: 0% 0%;
    }
  }
  
  @keyframes spinAnimation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  /* Small screens (576px and up) */
  @media (min-width: 576px) {
    .form-row {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .form-group {
      margin-bottom: clamp(1.5rem, 2.5vw, 2rem);
    }
  }
  
  /* Medium screens (tablets, 768px and up) */
  @media (min-width: 768px) {
    .contact-container {
      grid-template-columns: 3fr 2fr;
    }
    
    .contact-info {
      order: 2;
    }
    
    .contact-form-container {
      order: 1;
    }
    
    .form-actions {
      justify-content: flex-start;
    }
  }
  
  /* Large screens (desktops, 992px and up) */
  @media (min-width: 992px) {
    .contact-container {
      grid-template-columns: 5fr 4fr;
    }
    
    .contact-form-container {
      padding: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .contact-map {
      max-height: none;
    }
    
    .contact-line-1 {
      left: 23%;
    }
    
    .contact-line-2 {
      right: 23%;
    }
  }
  
  /* Extra large screens (1200px and up) */
  @media (min-width: 1200px) {
    .contact-container {
      gap: clamp(3rem, 8vw, 5rem);
    }
    
    .map-overlay {
      max-width: 50%;
    }
    
    /* Add additional decorative elements for large screens */
    .contact-bg-pattern {
      background-size: 150px 150px;
    }
  }
  
  
  /* ===== REDUCED MOTION PREFERENCES ===== */
  @media (prefers-reduced-motion: reduce) {
    .contact-form-container,
    .contact-info-item,
    .contact-icon,
    .contact-map,
    .map-overlay,
    .contact-float-element,
    .contact-accent-circle,
    .form-submit-btn,
    .form-submit-btn:hover,
    .privacy-policy-link::after,
    .contact-text a::after,
    .contact-text h3::after {
      transition: none;
      animation: none;
      transform: none;
    }
    
    .contact-form-container::before {
      animation: none;
    }
  }
  
  /* ===== PRINT STYLES ===== */
  @media print {
    .contact-section {
      background: none;
      padding: 1cm 0;
    }
    
    .contact-bg-pattern,
    .contact-bg-gradient,
    .contact-bg-circles,
    .contact-float-element,
    .contact-line,
    .contact-accent-circle {
      display: none;
    }
    
    .contact-container {
      display: block;
    }
    
    .contact-form-container,
    .contact-info-item,
    .contact-map {
      box-shadow: none;
      background: none;
      border: 1px solid #000;
      page-break-inside: avoid;
      margin-bottom: 1cm;
    }
    
    .contact-form-container::before {
      display: none;
    }
    
    .form-submit-btn {
      background: none;
      color: #000;
      border: 1px solid #000;
      box-shadow: none;
    }
    
    .contact-icon {
      background: none;
      border: 1px solid #000;
    }
    
    .map-overlay {
      background: #fff;
      border: 1px solid #000;
      box-shadow: none;
    }
  }

  /* ===== SUCCESS MODAL - PREMIUM DESIGN 2025 ===== */
.form-success-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: clamp(1rem, 3vw, 2rem);
  }
  
  .form-success-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
  
  /* Success message container */
  .success-message {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
  }
  
  .form-success-overlay[aria-hidden="false"] .success-message {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  
  /* Background decorative elements */
  .success-message::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(208, 150, 45, 0.05), transparent 60%);
    z-index: -1;
  }
  
  .success-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: backgroundShift 6s infinite linear;
    z-index: 1;
  }
  
  /* Success icon container */
  .success-icon {
    position: relative;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-success-light), var(--color-success));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
    animation: iconEntrance 0.6s cubic-bezier(0.17, 0.67, 0.26, 1.51) 0.3s backwards;
  }
  
  /* Ripple effect around the success icon */
  .success-icon::before,
  .success-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--color-success);
    animation: ripple 2s infinite ease-out;
  }
  
  .success-icon::after {
    animation-delay: 0.6s;
  }
  
  /* Checkmark animation */
  .success-icon i {
    transform: scale(0);
    animation: checkScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
  }
  
  /* Success title */
  .success-message h3 {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeUp 0.5s ease 0.4s backwards;
  }
  
  /* Success description */
  .success-message p {
    color: var(--text-light);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.5s ease 0.5s backwards;
  }
  
  /* Close button */
  .success-message button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 1rem;
    font-weight: var(--font-semibold);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(21, 38, 66, 0.2);
    animation: fadeUp 0.5s ease 0.6s backwards;
    overflow: hidden;
    z-index: 1;
  }
  
  .success-message button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
  }
  
  .success-message button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(21, 38, 66, 0.3);
  }
  
  .success-message button:hover::before {
    opacity: 1;
  }
  
  .success-message button:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(21, 38, 66, 0.2);
  }
  
  /* Close icon in the corner */
  .success-close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .success-close-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
  }
  
  /* Success message divider */
  .success-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(208, 150, 45, 0.3), transparent);
    margin: 1.5rem auto;
    border-radius: 1px;
    animation: fadeUp 0.5s ease 0.5s backwards;
  }
  
  /* Success counter */
  .success-counter {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    animation: fadeUp 0.5s ease 0.7s backwards;
  }
  
  .counter-number {
    display: inline-block;
    min-width: 1.5rem;
    font-weight: var(--font-semibold);
    color: var(--primary-color);
  }
  
  /* ANIMATIONS */
  @keyframes ripple {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }
    100% {
      transform: scale(1.5);
      opacity: 0;
    }
  }
  
  @keyframes checkScale {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes iconEntrance {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    40% {
      opacity: 1;
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  @keyframes backgroundShift {
    0% {
      background-position: 0% 0%;
    }
    50% {
      background-position: 100% 0%;
    }
    100% {
      background-position: 0% 0%;
    }
  }
  
  /* AUTO-DISMISS PROGRESS BAR */
  .auto-dismiss-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: rgba(208, 150, 45, 0.2);
    z-index: 2;
    transform-origin: left;
  }
  
  .countdown-active .auto-dismiss-bar {
    animation: dismissCountdown 5s linear forwards;
    background-color: var(--secondary-color);
  }
  
  @keyframes dismissCountdown {
    0% {
      transform: scaleX(1);
    }
    100% {
      transform: scaleX(0);
    }
  }
  
  /* RESPONSIVE STYLES */
  @media (min-width: 768px) {
    .success-icon {
      width: 100px;
      height: 100px;
      font-size: 3.5rem;
    }
  }
  
  
  /* REDUCED MOTION PREFERENCES */
  @media (prefers-reduced-motion: reduce) {
    .success-icon,
    .success-icon::before,
    .success-icon::after,
    .success-icon i,
    .success-message h3,
    .success-message p,
    .success-message button,
    .success-divider,
    .success-counter,
    .success-message,
    .success-message::after,
    .form-success-overlay[aria-hidden="false"] .success-message {
      animation: none;
      transition: none;
    }
    
    .countdown-active .auto-dismiss-bar {
      animation: none;
      display: none;
    }
  }
  
  /* PRINT STYLES (HIDE MODAL WHEN PRINTING) */
  @media print {
    .form-success-overlay {
      display: none !important;
    }
  }

  /* Stili per il form durante l'invio e dopo */
#contact-form.submitting {
    opacity: 0.9;
    position: relative;
}

#contact-form.success {
    animation: formSuccess 0.5s ease;
}

#contact-form.error {
    animation: formError 0.5s ease;
}

/* Stili per il messaggio inline */
.form-inline-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.form-inline-message.submitting {
    background-color: #f8f9fa;
    color: #6c757d;
    border-left: 4px solid #6c757d;
}

.form-inline-message.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.form-inline-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.form-inline-message i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Animazione pulsante durante l'invio */
.submitting.btn {
    position: relative;
    overflow: hidden;
}

.submitting.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: buttonShimmer 1.5s infinite;
}

/* Animazioni */
@keyframes formSuccess {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes formError {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

@keyframes buttonShimmer {
    100% { left: 100%; }
}


/* === CORREZIONE TIPOGRAFICA GLOBALE === */

/* Previene la divisione automatica delle parole con trattini */
* {
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
    -ms-hyphens: manual !important;
  }
  
  /* Impedisce la sillabazione automatica per tutti gli elementi di testo */
  h1, h2, h3, h4, h5, h6, p, span, a, div, button, 
  .story-title, .section-title, .value-title, .about-cta-title, 
  .product-section-title, .testimonial-text, .footer-title {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
  }
  
  /* Gestione specifica per card e contenitori con spazio limitato */
  .story-card .story-title,
  .value-card .value-title,
  .product-card .product-title,
  .testimonial-content .testimonial-text,
  .section-subtitle,
  .hero-title {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
  }
  
  /* Correzione specifica per la card dello story timeline */
  .story-card .story-title {
    padding-right: 70px; /* Assicura spazio per il badge dell'anno */
    font-size: clamp(1.125rem, 1.5vw, 1.5rem); /* Riduci leggermente la dimensione per evitare overflow */
    line-height: 1.3;
    display: block; /* Assicura che occupi tutta la larghezza disponibile */
    max-width: 100%;
  }
  
  /* Aggiustamento per il caso specifico della sezione about-story */
  .about-story .story-card .story-title {
    white-space: normal;
    margin-bottom: 1rem;
    min-height: auto; /* Permettere al titolo di adattarsi all'altezza necessaria */
  }
  
  /* Correzione per i layout a griglia responsivi */
  @media (max-width: 991px) {
    .story-timeline-carousel .story-card .story-title {
      font-size: clamp(1rem, 4vw, 1.25rem);
      padding-right: 60px; /* Spazio più ridotto per il badge su mobile */
    }
  }
  
  /* Ottimizzazione per il layout a griglia desktop */
  @media (min-width: 992px) {
    .story-timeline-grid .story-card {
      padding: 1.75rem;
    }
    
    .story-timeline-grid .story-card .story-title {
      font-size: 1.25rem;
      line-height: 1.4;
    }
  }


/* Soluzione per il logo centrato su mobile con hamburger a destra */
@media (max-width: 992px) {
  /* Modifica il contenitore della navigazione */
  .nav-container {
    position: relative;
    /* Necessario per posizionare gli elementi all'interno */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }
  
  /* Posiziona il logo al centro assoluto */
  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--menu-z-index-mobile);
  }
  
  /* Mantieni le dimensioni originali del logo */
  .site-logo img {
    max-height: 75px; /* Mantiene la dimensione originale */
  }
  
  /* Posiziona esplicitamente il menu toggle a destra */
  .menu-toggle {
    position: relative;
    z-index: var(--menu-z-index-toggle);
    margin-left: auto; /* Spinge il toggle a destra */
    order: 3; /* Assicura che sia l'ultimo elemento nel flex container */
  }
  
  /* Crea uno spazio invisibile a sinistra per bilanciare il layout */
  .nav-container::before {
    content: "";
    width: 30px; /* Approssimativamente la larghezza del toggle */
    display: block;
    order: 1;
  }
  
  /* Assicura che il menu mobile rimanga fisso durante lo scroll */
  .main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  
  /* Quando il menu è "sticky" (fissato durante lo scroll) */
  .main-navigation.sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Importante: Override delle proprietà che potrebbero interferire */
  .main-navigation.sticky .site-logo img {
    max-height: 75px !important; /* Mantiene la dimensione originale anche in sticky */
  }
  
  /* In caso l'hamburger sia già a destra, assicuriamoci che rimanga lì */
  .menu-toggle {
    right: 15px;
    left: auto;
  }
  
  /* Previeni overflow orizzontale potenziale */
  body {
    overflow-x: hidden;
  }
}