/*
Theme Name: HealthFlex Child
Theme URI: http://plethorathemes.com/healthflex/
Description: Child theme for Health Flex (Plethora Themes). We strongly recommend using this child theme that will allow you to include all your custom functionality without fear of losing it when updating the parent theme. Note that theme updates must be applied only on parent theme, and not on this child theme. 
Author: Plethora Themes
Author URI: http://plethorathemes.com
License: GNU General Public License v2 or later 
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive-layout, theme-options, translation-ready
Template: healthflex
*/
/* DO YOUR STUFF AFTER THIS !!  */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

:root {
  --hf-headline-primary: #000;
  --hf-headline-secondary: #45aaff;
  --hf-button-primary: #304770;
  --hf-button-secondary: #46aaff;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500!important;
}

.hf-word-primary {
  color: var(--hf-headline-primary);
}

.hf-word-secondary {
  color: var(--hf-headline-secondary);
}
/*
.container {
  width: 100%;
  padding: 0px;
}
*/
/* ============================================
   CUSTOM CURSOR - X-RAY DIFFERENCE MODE
   ============================================ */
.hf-cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.2s;
  opacity: 1;
  visibility: visible;
  display: block;
  left: 0;
  top: 0;
  will-change: transform, left, top;
  box-sizing: border-box;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.hf-cursor.active {
  opacity: 1;
}

/* Ensure cursor is visible on page load */
body:not(.no-cursor) .hf-cursor {
  opacity: 1;
}

.hf-cursor.hover {
  width: 32px;
  height: 32px;
  background: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.hf-cursor.click {
  width: 18px;
  height: 18px;
  background: white;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Make cursor more visible - ensure it's always shown when active */
.hf-cursor.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide default cursor only on desktop */
@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }
  
  body {
    cursor: none;
  }
}

.page_title_in_content.skincolored_section {
  display: none;
}

/* ============================================
   SANTORO SLIDER
   ============================================ */
.hf-santoro-slider {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 600px;
  overflow: hidden;
  background: #000;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  left: 0;
  right: 0;
}

/* Assicura che il container genitore non limiti lo slider */
.container .hf-santoro-slider,
.elementor-container .hf-santoro-slider,
[class*="container"] .hf-santoro-slider {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Rimuovi padding dal container quando contiene lo slider */
.container:has(.hf-santoro-slider),
.elementor-container:has(.hf-santoro-slider) {
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
   CLASSE PER CONTENITORI ELEMENTOR A LARGHEZZA PIENA
   ============================================ */
.hf-fullwidth,
.elementor-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  left: 0;
  right: 0;
}

/* Assicura che il container genitore non limiti l'elemento a larghezza piena */
.container .hf-fullwidth,
.elementor-container .hf-fullwidth,
[class*="container"] .hf-fullwidth,
.container .elementor-fullwidth,
.elementor-container .elementor-fullwidth,
[class*="container"] .elementor-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* Rimuovi padding dal container quando contiene elementi a larghezza piena */
.container:has(.hf-fullwidth),
.elementor-container:has(.hf-fullwidth),
[class*="container"]:has(.hf-fullwidth),
.container:has(.elementor-fullwidth),
.elementor-container:has(.elementor-fullwidth),
[class*="container"]:has(.elementor-fullwidth) {
  padding-left: 0;
  padding-right: 0;
}

/* Supporto per sezioni Elementor a larghezza piena */
.elementor-section.hf-fullwidth,
.elementor-section.elementor-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
}

.hf-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hf-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.hf-slide.hf-slide-active {
  opacity: 1;
  visibility: visible;
}

.hf-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hf-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hf-slide-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 2rem;
  max-width: 600px;
  mix-blend-mode: difference;
  color: white;
}

.hf-slide-left {
  left: 5%;
  text-align: left;
}

.hf-slide-right {
  right: 5%;
  text-align: right;
}

.hf-slide-title {
  font-family: "Bebas Neue", "Arial Black", sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  mix-blend-mode: difference;
}

.hf-slide-subtitle {
  font-size: 1.25rem;
  color: white;
  margin: 0 0 2rem 0;
  line-height: 1.5;
  mix-blend-mode: difference;
}

.hf-slide-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--hf-button-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--hf-button-primary);
}

.hf-slide-cta:hover {
  background: var(--hf-button-secondary);
  color: white;
  border-color: var(--hf-button-secondary);
}

/* Controlli di navigazione */
.hf-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.hf-slider-prev,
.hf-slider-next {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  mix-blend-mode: difference;
  padding: 0;
}

.hf-slider-prev:hover,
.hf-slider-next:hover {
  background: white;
  color: black;
  transform: scale(1.1);
}

.hf-slider-prev svg,
.hf-slider-next svg {
  width: 24px;
  height: 24px;
}

/* Dots di navigazione */
.hf-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.hf-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  mix-blend-mode: difference;
}

.hf-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.hf-dot.hf-dot-active {
  background: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hf-santoro-slider {
    height: 500px;
  }

  .hf-slide-title {
    font-size: 3rem;
  }

  .hf-slide-subtitle {
    font-size: 1.1rem;
  }

  .hf-slide-content {
    max-width: 500px;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hf-santoro-slider {
    height: 400px;
  }

  .hf-slide-title {
    font-size: 2.5rem;
  }

  .hf-slide-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hf-slide-content {
    max-width: 85%;
    padding: 1.5rem;
  }

  .hf-slide-left {
    left: 2.5%;
  }

  .hf-slide-right {
    right: 2.5%;
  }

  .hf-slider-controls {
    padding: 0 1rem;
  }

  .hf-slider-prev,
  .hf-slider-next {
    width: 40px;
    height: 40px;
  }

  .hf-slider-prev svg,
  .hf-slider-next svg {
    width: 20px;
    height: 20px;
  }

  .hf-slide-cta {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hf-santoro-slider {
    height: 350px;
  }

  .hf-slide-title {
    font-size: 2rem;
  }

  .hf-slide-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hf-slide-content {
    max-width: 90%;
    padding: 1rem;
  }

  .hf-slide-left,
  .hf-slide-right {
    left: 5%;
    right: auto;
    text-align: left;
  }

  .hf-slider-controls {
    padding: 0 0.5rem;
  }

  .hf-slider-prev,
  .hf-slider-next {
    width: 36px;
    height: 36px;
  }

  .hf-slider-dots {
    bottom: 1rem;
  }

  .hf-dot {
    width: 10px;
    height: 10px;
  }
}

/* ============================================
   STILE PULSANTI ELEMENTOR
   ============================================ */
.elementor-button,
.elementor-button-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--hf-button-primary) !important;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--hf-button-primary) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}

.elementor-button-text {
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Rimuovi stili predefiniti di Elementor */
.elementor-button,
.elementor-button-link {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg,
.elementor-button.elementor-size-xl {
  padding: 1rem 2.5rem !important;
}

.elementor-button:hover,
.elementor-button-link:hover {
  background: var(--hf-button-secondary) !important;
  color: white !important;
  text-decoration: none;
  border-color: var(--hf-button-secondary) !important;
}

.elementor-button:hover .elementor-button-text,
.elementor-button-link:hover .elementor-button-text {
  color: white !important;
}

.elementor-button:focus,
.elementor-button-link:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Responsive per pulsanti Elementor */
@media (max-width: 768px) {
  .elementor-button,
  .elementor-button-link {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .elementor-button,
  .elementor-button-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   STILE PULSANTI ELEMENTOR CON MIX-BLEND-MODE
   ============================================ */
.elementor-button-blend,
.elementor-button-link-blend,
.elementor-button.hf-blend,
.elementor-button-link.hf-blend,
.elementor-element.hf-blend .elementor-button,
.elementor-element.hf-blend .elementor-button-link {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: white !important;
  color: black !important;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  mix-blend-mode: difference;
  border: 2px solid white !important;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.elementor-button-blend .elementor-button-text,
.elementor-button-link-blend .elementor-button-text,
.elementor-button.hf-blend .elementor-button-text,
.elementor-button-link.hf-blend .elementor-button-text,
.elementor-element.hf-blend .elementor-button-text {
  color: black !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.elementor-button-blend.elementor-size-sm,
.elementor-button-link-blend.elementor-size-sm,
.elementor-button-blend.elementor-size-md,
.elementor-button-link-blend.elementor-size-md,
.elementor-button-blend.elementor-size-lg,
.elementor-button-link-blend.elementor-size-lg,
.elementor-button-blend.elementor-size-xl,
.elementor-button-link-blend.elementor-size-xl,
.elementor-button.hf-blend.elementor-size-sm,
.elementor-button-link.hf-blend.elementor-size-sm,
.elementor-button.hf-blend.elementor-size-md,
.elementor-button-link.hf-blend.elementor-size-md,
.elementor-button.hf-blend.elementor-size-lg,
.elementor-button-link.hf-blend.elementor-size-lg,
.elementor-button.hf-blend.elementor-size-xl,
.elementor-button-link.hf-blend.elementor-size-xl,
.elementor-element.hf-blend .elementor-button.elementor-size-sm,
.elementor-element.hf-blend .elementor-button.elementor-size-md,
.elementor-element.hf-blend .elementor-button.elementor-size-lg,
.elementor-element.hf-blend .elementor-button.elementor-size-xl {
  padding: 1rem 2.5rem !important;
}

.elementor-button-blend:hover,
.elementor-button-link-blend:hover,
.elementor-button.hf-blend:hover,
.elementor-button-link.hf-blend:hover,
.elementor-element.hf-blend .elementor-button:hover,
.elementor-element.hf-blend .elementor-button-link:hover {
  background: transparent !important;
  color: white !important;
  text-decoration: none;
  border-color: white !important;
}

.elementor-button-blend:hover .elementor-button-text,
.elementor-button-link-blend:hover .elementor-button-text,
.elementor-button.hf-blend:hover .elementor-button-text,
.elementor-button-link.hf-blend:hover .elementor-button-text,
.elementor-element.hf-blend .elementor-button:hover .elementor-button-text {
  color: white !important;
}

.elementor-button-blend:focus,
.elementor-button-link-blend:focus,
.elementor-button.hf-blend:focus,
.elementor-button-link.hf-blend:focus,
.elementor-element.hf-blend .elementor-button:focus,
.elementor-element.hf-blend .elementor-button-link:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Responsive per pulsanti Elementor con mix-blend-mode */
@media (max-width: 768px) {
  .elementor-button-blend,
  .elementor-button-link-blend,
  .elementor-button.hf-blend,
  .elementor-button-link.hf-blend,
  .elementor-element.hf-blend .elementor-button,
  .elementor-element.hf-blend .elementor-button-link {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .elementor-button-blend,
  .elementor-button-link-blend,
  .elementor-button.hf-blend,
  .elementor-button-link.hf-blend,
  .elementor-element.hf-blend .elementor-button,
  .elementor-element.hf-blend .elementor-button-link {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   CLASSE GENERICA PER TESTI CON MIX-BLEND-MODE
   ============================================ */
.hf-text-blend,
.elementor-text-blend {
  mix-blend-mode: difference;
}

.hf-text-blend *,
.elementor-text-blend * {
  mix-blend-mode: difference;
}

/* Applica mix-blend-mode a tutti gli elementi di testo quando la classe è sul contenitore */
.elementor-element.hf-text-blend,
.elementor-element.elementor-text-blend {
  color: white;
}

.elementor-element.hf-text-blend *,
.elementor-element.elementor-text-blend * {
  mix-blend-mode: difference;
  color: white;
}

/* Target specifico per titoli Elementor */
.elementor-element.hf-text-blend .elementor-heading-title,
.elementor-element.elementor-text-blend .elementor-heading-title,
.elementor-element.hf-text-blend h1,
.elementor-element.hf-text-blend h2,
.elementor-element.hf-text-blend h3,
.elementor-element.hf-text-blend h4,
.elementor-element.hf-text-blend h5,
.elementor-element.hf-text-blend h6,
.elementor-element.elementor-text-blend h1,
.elementor-element.elementor-text-blend h2,
.elementor-element.elementor-text-blend h3,
.elementor-element.elementor-text-blend h4,
.elementor-element.elementor-text-blend h5,
.elementor-element.elementor-text-blend h6 {
  mix-blend-mode: difference;
  color: white;
}

/* Target per paragrafi e altri elementi di testo */
.elementor-element.hf-text-blend p,
.elementor-element.hf-text-blend span,
.elementor-element.hf-text-blend div,
.elementor-element.hf-text-blend li,
.elementor-element.hf-text-blend a,
.elementor-element.elementor-text-blend p,
.elementor-element.elementor-text-blend span,
.elementor-element.elementor-text-blend div,
.elementor-element.elementor-text-blend li,
.elementor-element.elementor-text-blend a {
  mix-blend-mode: difference;
  color: white;
}

/* Target specifico per icone SVG e icon list di Elementor */
.elementor-element.hf-text-blend .elementor-icon-list-icon svg,
.elementor-element.hf-text-blend svg,
.elementor-element.hf-text-blend .e-font-icon-svg,
.elementor-element.elementor-text-blend .elementor-icon-list-icon svg,
.elementor-element.elementor-text-blend svg,
.elementor-element.elementor-text-blend .e-font-icon-svg {
  mix-blend-mode: difference;
  color: white;
  fill: currentColor;
}

/* ============================================
   FONT AWESOME ICONS SUPPORT
   ============================================ */
/* Assicura che le icone Font Awesome siano sempre visibili */
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
.icon,
[class*="fa-"],
[class^="fa-"] {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Quando le icone sono dentro elementi con hf-text-blend, applica mix-blend-mode */
.elementor-element.hf-text-blend .fa,
.elementor-element.hf-text-blend [class*="fa-"],
.elementor-element.hf-text-blend svg,
.elementor-element.hf-text-blend .elementor-icon-list-icon,
.elementor-element.hf-text-blend .elementor-icon-list-icon svg,
.elementor-element.hf-text-blend .e-font-icon-svg,
.elementor-element.elementor-text-blend .fa,
.elementor-element.elementor-text-blend [class*="fa-"],
.elementor-element.elementor-text-blend svg,
.elementor-element.elementor-text-blend .elementor-icon-list-icon,
.elementor-element.elementor-text-blend .elementor-icon-list-icon svg,
.elementor-element.elementor-text-blend .e-font-icon-svg {
  mix-blend-mode: difference !important;
  color: white;
  fill: currentColor;
}

/* Assicura che gli SVG dentro hf-text-blend abbiano il colore corretto */
.elementor-element.hf-text-blend svg path,
.elementor-element.hf-text-blend .elementor-icon-list-icon svg path,
.elementor-element.elementor-text-blend svg path,
.elementor-element.elementor-text-blend .elementor-icon-list-icon svg path {
  fill: currentColor;
}

/* Icone nelle icon list di Elementor con mix-blend-mode */
.elementor-element.hf-text-blend .elementor-icon-list-items,
.elementor-element.hf-text-blend .elementor-icon-list-item,
.elementor-element.hf-text-blend .elementor-icon-list-text,
.elementor-element.elementor-text-blend .elementor-icon-list-items,
.elementor-element.elementor-text-blend .elementor-icon-list-item,
.elementor-element.elementor-text-blend .elementor-icon-list-text {
  mix-blend-mode: difference;
  color: white;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.hf-testimonials-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.hf-testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.hf-testimonials-header h2 {
  font-family: "Bebas Neue", "Arial Black", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--hf-headline-primary);
  margin: 0 0 1rem 0;
}

.hf-testimonials-header p {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hf-testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hf-testimonials-container {
  position: relative;
  min-height: 300px;
}

.hf-testimonial-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: translateY(20px);
}

.hf-testimonial-item.hf-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hf-testimonial-content {
  background: white;
  padding: 3rem;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.hf-testimonial-quote {
  margin-bottom: 1.5rem;
  color: var(--hf-button-secondary);
  opacity: 0.3;
}

.hf-testimonial-quote svg {
  width: 48px;
  height: 48px;
}

.hf-testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin: 0 0 2rem 0;
  font-style: italic;
}

.hf-testimonial-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hf-button-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Controlli di navigazione */
.hf-testimonials-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 140px);
  left: -70px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.hf-testimonials-prev,
.hf-testimonials-next {
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid #000;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  padding: 0;
  position: relative;
}

.hf-testimonials-prev:hover,
.hf-testimonials-next:hover {
  background: #000;
  color: white;
  transform: scale(1.1);
}

.hf-testimonials-prev svg,
.hf-testimonials-next svg {
  width: 24px;
  height: 24px;
}

/* Dots di navigazione */
.hf-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.hf-testimonials-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hf-testimonials-dot:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}

.hf-testimonials-dot.hf-active {
  background: #000;
}

/* Responsive Design per Testimonials */
@media (max-width: 768px) {
  .hf-testimonials-section {
    padding: 60px 0;
  }

  .hf-testimonials-header h2 {
    font-size: 2.5rem;
  }

  .hf-testimonials-header {
    margin-bottom: 40px;
  }

  .hf-testimonial-content {
    padding: 2rem 1.5rem;
  }

  .hf-testimonial-text {
    font-size: 1rem;
  }

  .hf-testimonials-controls {
    width: calc(100% + 100px);
    left: -50px;
  }

  .hf-testimonials-prev,
  .hf-testimonials-next {
    width: 40px;
    height: 40px;
  }

  .hf-testimonials-prev svg,
  .hf-testimonials-next svg {
    width: 20px;
    height: 20px;
  }

  .hf-testimonials-dots {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .hf-testimonials-section {
    padding: 40px 0;
  }

  .hf-testimonials-header h2 {
    font-size: 2rem;
  }

  .hf-testimonials-header {
    margin-bottom: 30px;
  }

  .hf-testimonials-slider {
    padding: 0 10px;
  }

  .hf-testimonial-content {
    padding: 1.5rem 1rem;
  }

  .hf-testimonial-quote svg {
    width: 36px;
    height: 36px;
  }

  .hf-testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hf-testimonials-controls {
    width: 100%;
    left: 0;
    padding: 0 1rem;
  }

  .hf-testimonials-prev,
  .hf-testimonials-next {
    width: 36px;
    height: 36px;
  }

  .hf-testimonials-dots {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .hf-testimonials-dot {
    width: 10px;
    height: 10px;
  }
}

/* ============================================
   LAYOUT FERMA + SLIDER
   ============================================ */
/* Container principale con ferma - organizza automaticamente */
.elementor-element.e-con:has(.ferma) {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  position: relative;
}

/* Container fisso (ferma) */
.elementor-element.e-con:has(.ferma) > .elementor-element.ferma {
  position: sticky;
  top: 2rem;
  width: 40%;
  flex-shrink: 0;
  z-index: 2;
  align-self: flex-start;
}

/* Container slider wrapper */
.elementor-element.e-con:has(.ferma) > .hf-content-slider-wrapper {
  flex: 1;
  position: relative;
  min-height: 410px;
}

.hf-content-slider-wrapper {
  flex: 1;
  position: relative;
  min-height: 410px;
}

.hf-content-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Overlay dentro lo slider wrapper */
.hf-content-slider-wrapper .hf-sticky-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  padding: 2rem 0;
}

.hf-content-slider-wrapper .hf-sticky-overlay.hf-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hf-content-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  padding: 2rem 0;
}

.hf-content-slide.hf-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

/* Controlli di navigazione per lo slider - posizionati ai lati */
.hf-content-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.hf-content-slider-prev,
.hf-content-slider-next {
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid #000;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  pointer-events: all;
}

.hf-content-slider-prev:hover,
.hf-content-slider-next:hover {
  background: #000;
  color: white;
  transform: scale(1.1);
}

.hf-content-slider-prev svg,
.hf-content-slider-next svg {
  width: 24px;
  height: 24px;
}

/* Nascondi dots */
.hf-content-slider-dots {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .elementor-element.e-con:has(.ferma) {
    flex-direction: column;
    gap: 2rem;
  }

  .elementor-element.e-con:has(.ferma) > .elementor-element.ferma {
    position: relative;
    top: auto;
    width: 100%;
  }

  .hf-content-slider-wrapper {
    min-height: 410px;
  }
}

@media (max-width: 768px) {
  .elementor-element.e-con:has(.ferma) {
    gap: 1.5rem;
  }

  .hf-content-slider-controls {
    padding: 0 1rem;
  }

  .hf-content-slider-prev,
  .hf-content-slider-next {
    width: 40px;
    height: 40px;
  }

  .hf-content-slider-prev svg,
  .hf-content-slider-next svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hf-content-slider-controls {
    padding: 0 0.5rem;
  }

  .hf-content-slider-prev,
  .hf-content-slider-next {
    width: 36px;
    height: 36px;
  }

  .hf-content-slider-prev svg,
  .hf-content-slider-next svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   CONTACT FORM 7 STYLES - ELEGANTE
   ============================================ */
.wpcf7-form {
  max-width: 100%;
}

.wpcf7-form p {
  margin: 0 0 2rem 0;
  position: relative;
}

/* Wrapper per input */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

/* Input con stile moderno e pulito */
.wpcf7-form-control {
  width: 100%;
  height: 56px;
  padding: 20px 15px 10px 15px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #000000;
  box-sizing: border-box;
  line-height: 1.5;
  outline: none;
  position: relative;
  font-family: inherit;
  display: block;
  border: 2px solid #e5e5e5;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.wpcf7-form-control::placeholder {
  color: #666666;
  opacity: 1;
  font-size: 16px;
}

/* Select con stile coerente */
.wpcf7-select {
  width: 100%;
  height: 56px;
  padding: 15px 40px 15px 15px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  background-color: #ffffff;
  color: #000000;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  display: block;
}

.wpcf7-select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Date input con stile coerente - maggiore specificità */
.wpcf7-form-control.wpcf7-date,
input[type="date"].wpcf7-form-control,
.wpcf7-date {
  width: 100% !important;
  height: 56px !important;
  padding: 15px !important;
  border: 2px solid #e5e5e5 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  box-sizing: border-box !important;
  outline: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
  display: block !important;
}

.wpcf7-form-control.wpcf7-date:focus,
input[type="date"].wpcf7-form-control:focus,
.wpcf7-date:focus {
  outline: none !important;
  border-color: #000000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-1px) !important;
}

.wpcf7-form-control.wpcf7-date:not(:focus):not([value])::-webkit-datetime-edit,
input[type="date"].wpcf7-form-control:not(:focus):not([value])::-webkit-datetime-edit,
.wpcf7-date:not(:focus):not([value])::-webkit-datetime-edit {
  color: transparent !important;
}

.wpcf7-form-control.wpcf7-date:not(:focus):not([value])::-webkit-calendar-picker-indicator,
input[type="date"].wpcf7-form-control:not(:focus):not([value])::-webkit-calendar-picker-indicator,
.wpcf7-date:not(:focus):not([value])::-webkit-calendar-picker-indicator {
  opacity: 0.3 !important;
}

.wpcf7-form-control.wpcf7-date:focus::-webkit-datetime-edit,
.wpcf7-form-control.wpcf7-date[value]::-webkit-datetime-edit,
input[type="date"].wpcf7-form-control:focus::-webkit-datetime-edit,
input[type="date"].wpcf7-form-control[value]::-webkit-datetime-edit,
.wpcf7-date:focus::-webkit-datetime-edit,
.wpcf7-date[value]::-webkit-datetime-edit {
  color: #000 !important;
}

.wpcf7-form-control.wpcf7-date:focus::-webkit-calendar-picker-indicator,
.wpcf7-form-control.wpcf7-date[value]::-webkit-calendar-picker-indicator,
input[type="date"].wpcf7-form-control:focus::-webkit-calendar-picker-indicator,
input[type="date"].wpcf7-form-control[value]::-webkit-calendar-picker-indicator,
.wpcf7-date:focus::-webkit-calendar-picker-indicator,
.wpcf7-date[value]::-webkit-calendar-picker-indicator {
  opacity: 1 !important;
}

/* Textarea con altezza speciale */
textarea.wpcf7-form-control {
  height: 120px;
  min-height: 120px;
  resize: vertical;
  padding: 20px 15px;
  font-family: inherit;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
}

textarea.wpcf7-form-control:focus {
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Pulsante Submit - stesso stile pulsanti Elementor */
.wpcf7-submit {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--hf-button-primary) !important;
  color: white !important;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--hf-button-primary) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: auto;
  min-height: 56px;
}

.wpcf7-submit:hover {
  background: var(--hf-button-secondary) !important;
  color: white !important;
  border-color: var(--hf-button-secondary) !important;
  transform: translateY(-2px);
}

.wpcf7-submit:focus {
  outline: 2px solid var(--hf-button-primary);
  outline-offset: 2px;
}

/* Messaggi di risposta - elegante */
.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 2px solid;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.wpcf7-mail-sent-ok {
  background-color: #f0f0f0;
  border-color: #000;
  color: #000;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background-color: #f0f0f0;
  border-color: #000;
  color: #000;
}

.wpcf7-spam {
  background-color: #f0f0f0;
  border-color: #000;
  color: #000;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
  color: #000;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.wpcf7-not-valid {
  border: 2px solid #000 !important;
  background-color: #fff !important;
}

.wpcf7-not-valid:focus {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Ajax Loader */
.wpcf7 .ajax-loader {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .wpcf7-form p {
    margin-bottom: 1.5rem;
  }

  .wpcf7-form-control,
  .wpcf7-select,
  .wpcf7-date {
    font-size: 15px;
    height: 50px;
    padding: 15px 15px 10px 15px;
  }

  textarea.wpcf7-form-control {
    height: 100px;
    min-height: 100px;
    padding: 15px;
  }

  .wpcf7-submit {
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .wpcf7-form-control,
  .wpcf7-select,
  .wpcf7-date {
    font-size: 14px;
    height: 48px;
    padding: 12px 15px 8px 15px;
  }

  textarea.wpcf7-form-control {
    height: 90px;
    min-height: 90px;
    padding: 12px 15px;
  }

  .wpcf7-submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    min-height: 48px;
  }
}