/*
 * CMS Frontend Template - Style.css
 * Version: 1.0
 * Description: Template CSS base generico per nuove installazioni
 */

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABILI)
   Personalizza questi valori per ogni progetto
   ============================================ */

:root {
    /* Pelvic Point - Palette specifiche */
    --pp-cyan: #4ef2e5;
    --pp-magenta: #e866ff;
    --pp-navy: #001d6a;
    --pp-offwhite: #f8f7f2;
    --pp-lightgray: #f2f3f7;
    --pp-paleblue: #e5e8f0;
    --pp-gradient: linear-gradient(135deg, #e866ff 0%, #4ef2e5 100%);
    --pp-gradient-reverse: linear-gradient(135deg, #4ef2e5 0%, #e866ff 100%);

    /* Colori Primari - Mappati dalle variabili globali (color.css) */
    --color-primary: var(--primary-color, #001d6a);
    --color-primary-dark: color-mix(in srgb, var(--primary-color, #001d6a) 80%, black);
    --color-primary-light: color-mix(in srgb, var(--primary-color, #001d6a) 80%, white);

    /* Colori Secondari - Mappati dalle variabili globali (color.css) */
    --color-secondary: var(--default-color, #e866ff);
    --color-secondary-dark: color-mix(in srgb, var(--default-color, #e866ff) 80%, black);
    --color-secondary-light: color-mix(in srgb, var(--default-color, #e866ff) 80%, white);

    /* Colori Neutri - Mappati dalle variabili globali (color.css) */
    --color-white: #ffffff;
    --color-black: var(--bg-secondary, #001d6a);
    --color-gray-100: #f8f7f2;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Colori Stato */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Tipografia */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.75rem;     /* 60px */

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 0.75rem;   /* 12px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */

    /* Border Radius */
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    /* Container Width */
    --container-max-width: 1200px;
    --container-padding: 1rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-gray-900);
    background-color: var(--bg-default);
    overflow-x: hidden;
        margin-top: -1rem;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 {font-size: 1.2rem;font-family: var(--font-secondary);color: var(--primary-color);font-weight: 400;border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent);padding-bottom: 1rem;margin-bottom: 3rem;letter-spacing: 0;}
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size:18px;
    line-height: 22px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

strong, b {
    font-weight: var(--font-weight-bold);
    color: inherit;
}

em, i {
    font-style: italic;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--spacing-4xl) 0;
        border-radius: 15px;
}

.section-sm {
    padding: var(--spacing-2xl) 0;
}

.section-lg {
    padding: var(--spacing-4xl) 0;
}

.section.lateral_padding{
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background-color: var(--bg-default);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--container-padding);
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-900);
    margin-left: var(--spacing-sm);
}

/* ============================================
   NAVIGATION
   ============================================ */

.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--color-gray-700);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) var(--spacing-sm);
    display: block;
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    color: var(--color-gray-700);
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: var(--spacing-xs);
}

.language-selector a {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.language-selector a.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   HERO SECTION
   ============================================ */
   
   #main-content{
           background: #fff;
           z-index: 7;
           position: relative;
           margin: 0 1rem;
           top: 1rem;
           border-bottom-left-radius: 15px;
           border-bottom-right-radius: 15px;
   }

.hero-section {
    position: relative;
    color: var(--bg-default);
    margin: 1rem 0;
    border-radius: 15px;
}

.hero-home {
    min-height: 95vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-content: space-between;
    background-image: linear-gradient(rgb(0 29 106 / 75%), rgb(0 29 106 / 30%)), url(/media/pelviccenter_1.JPG);
    background-size: cover;
    background-position: center;
    justify-items: stretch;
    align-content: start;
    padding: 8rem 3rem 3rem 3rem;
}



.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.hero-text{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title{
    font-size: var(--font-size-6xl);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 5.3rem;
    font-family: var(--font-secondary);
}
.hero-title span{
    font-weight: 500;
}
.hero-col-right{
    align-content: flex-end;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.hero-col-right-content{
    display: flex;
    flex-direction: column;
    width: 75%;
}

/* Hero Index Menu */
.hero-index-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    margin-top: 2rem;
}
.hero-menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 7px 1.2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: #ffffff17;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.hero-menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 0;
    pointer-events: none;
}
.hero-menu-item > * {
    position: relative;
    z-index: 1;
}
.hero-menu-item:hover {
    background: #001d6a00;
    border: 1px solid #fff;
    color: #fff;
}
.hero-menu-item span {
    flex: 1;
}
.hero-menu-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.hero-menu-item .line-vertical {
    transition: transform 0.3s ease;
    transform-origin: center;
}
.hero-menu-item:hover .line-vertical {
    transform: rotate(90deg);
}

.hero-page{
    position:relative;
    min-height: 50vh;
    padding: 6rem 2rem 2rem 2rem;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero-page:after{
    content:'';
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pp-gradient);
    /* opacity: 0.6; */
    border-radius: 15px;
}

.hero-page .hero-title{
    text-align:left;
    font-size: 4.5rem;
    line-height: 5rem;
    letter-spacing: 0;
    margin-bottom: 2rem;
}
.hero-desc{
    font-size: 21px;
    font-weight: 400;
    color: var(--color-white);
    line-height: 27px;
}


.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    gap: var(--spacing-xs);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-default);
    color: var(--primary-color);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-gray-100);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background-color: var(--bg-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-gray-200);
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
    color: var(--color-gray-700);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background-color: var(--bg-default);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background-color: #ffffff;
    color: var(--color-gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    margin: 1rem 0 0 0;
    border-radius: 15px;
    position: sticky;
    top: 0;
    padding-bottom: 0;
    padding-top: 0rem;
    z-index: 7;
    margin-bottom: 2rem;
}


.site-footer .sec-footer{
    background-image: url(/media/pelvicpoint-bg-quadrato-donna.jpg);
    padding: 0;
    border-radius: 15px;
    background-size: cover;
}

.footer-big-title {
    font-family: var(--font-primary);
    font-size: 14vw;
    font-weight: 700;
    line-height: 1;
    margin: 2rem 0;
    padding: 0 2rem;
    background-clip: text;
    color: var(--color-white);
}

.footer-section-pp h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    text-transform: uppercase;
    position:relative;
    width: fit-content;
}
.footer-section-pp h4::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff; /* o il colore che preferisci */
}
.footer-section-pp p,
.footer-section-pp a {
    color: #fff;
    line-height: 24px;
    font-family: var(--font-primary);
    transition: all 0.3s;
}
.footer-section-pp p{
    font-weight: 300;
}
.footer-section-pp a p:hover
{
    color: var(--pp-cyan);
}
/* .footer-section-pp p:last-child {
    margin-bottom: 0;
} */
.footer-section-pp a:hover {
    color: var(--pp-cyan);
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--pp-gradient);
    border-color: transparent;
    color: #fff;
}


.footer-area{
    display:grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer-section-pp {
    padding: 2rem;
    border-bottom: 1px solid color-mix(in srgb, rgb(255 255 255) 30%, transparent);
    display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-between;
}

.footer-section-pp:not(:last-child) {
    border-right: 1px solid color-mix(in srgb, rgb(255 255 255) 30%, transparent);
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 100;
    letter-spacing: 1px;
    font-size: var(--font-size-lg);
    font-family: var(--font-secondary);
    border-bottom: 1px solid;
    padding-bottom: 0.54rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.footer-links li {
    display: flex;
    overflow-y: hidden;
}

li {}

.footer-links a {
    color: #ffffff9e;
    transition: color var(--transition-fast);
    letter-spacing: 1px;
    border-bottom: 1px solid #ffffff4f;
    font-family: var(--font-primary);
    width: 100%;
    display: block;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    overflow-y: hidden;
}
.footer-links a:hover {
    color: #fff;
}


.footer-links li .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}


.footer-links li .cls-2 {
    fill: currentColor;
}

.footer-links li svg {
    width: 1.5rem;
    height: 1.5rem;
    transform: translateY(120%);
    transition:0.1s ease-in;
}


.footer-links li a:hover svg {
    transform: translateY(0%);
}


.footer-bottom {
    color: #fff;
    font-size: 12px;
    margin-top: 0;
    padding: 0 2rem;
}

.footer-bottom p{
   letter-spacing: 0.5px;
   color: currentColor;
   font-size: 13px;
}
.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-800);
    border-radius: var(--radius-full);
    color: var(--color-gray-400);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.text-gray { color: var(--color-gray-600); }

/* Background Colors */
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-blue { background-color: var(--pp-navy); }
.bg-white { background-color: var(--bg-default); }
.bg-gray { background-color: var(--color-gray-100); }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

/* Display Utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Flex Utilities */
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-slow);
}

.slide-up {
    animation: slideUp var(--transition-slow);
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--color-primary);
    border-top-color: transparent;
    border-radius: var(--radius-full);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.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;
}

/* Focus Styles */
*:focus-visible {
    outline: 0;
    outline-offset: 2px;
}

/* Skip to Main Content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}



/** slider home â€” crossfade carousel (grid stacking) **/

.hero-carousel {
    display: grid;
    border-radius: 15px;
    overflow: hidden;
    min-height: 90vh;
}

.hero-carousel-slide {
    grid-area: 1 / 1;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
    min-height: 90vh;
}

.hero-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}



/** custom **/

.p-middle{
    font-family:var(--font-secondary);
    font-size: 1.9rem;
    line-height: 2.4rem;
}


.p-max{
    font-family:var(--font-secondary);
    font-size: 2.9rem;
    line-height: 3.4rem;
}

.section-with-bg{
    border-radius:15px;
    background-size:cover;
    margin: 1rem 0;
    min-height: 75vh;
    display: flex;
    align-items: center;
    position: sticky;
    z-index: 7;
    top: 1rem;
}

.bg-company{
    background: var(--pp-gradient);
}

.bg-page-company{
    background: var(--pp-gradient);
}

.bg-page-professionisti{
    background: var(--pp-gradient);
}


.bg-page-accessory{
    background: var(--pp-gradient);
}


.bg-page-case-history{
    background: var(--pp-gradient);
}

.bg-page-contact{
    background: var(--pp-gradient);
    background-size: cover;
    background-position: center;
    min-height: 55vh;
    padding: 6rem 0 4rem 0;
}


.bg-page-404{
    background-image: url(/media/pelvicpoint_background_cut_nograin.jpg);
    background-size: cover;
    background-position: center;
    justify-items: stretch;
    align-content: start;
    min-height: 90vh;
    padding: 6rem 0 4rem 0;
}


.bg-page-product{
    background-size: cover;
    background-position: center;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-end;
    min-height: 57vh;
}

.bg-page-product:after {
    opacity: 0;
}

.hero-product-icon {
    position: relative;
    z-index: 1;
    width: 15rem;
    flex-shrink: 0;
}

.hero-product-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Product Detail Layout (content + sidebar) --- */

.product-detail-section {
    padding: 3rem 0rem 6rem 2rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 6rem;
    align-items: start;
}

.product-detail-content {
    min-width: 0;
}

.product-detail-block {
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
}

.product-detail-block.has-border {
    border-bottom: 2px solid var(--primary-color);
}

.product-detail-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-detail-block .section-container {
    padding: 0;
}

.product-row {
    margin-bottom: 2.5rem;
}

.product-row:last-child {
    margin-bottom: 0;
}

/* --- Sidebar Services --- */

.product-detail-sidebar {
    /* position: sticky; */
    /* top: 120px; */
}

.sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 5px 15px;
    background: #f0f2f5;
    font-size: 13px;
    line-height: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 5px;
    border: 1px solid #f0f2f5;
}

.sidebar-service-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 1;
}

.sidebar-service-item:hover {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.sidebar-service-item:hover svg {
    opacity: 1;
}

.sidebar-service-item.active {
    background: var(--primary-color);
    color: #fff;
}

.sidebar-service-item.active svg {
    opacity: 1;
}

/* --- Section Heading + Text Subtitle --- */

.section-heading {
    font-size: 43px;
    line-height: 46px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    border-bottom: 0;
    padding-bottom: 0;
    /* text-decoration: underline; */
    /* text-underline-offset: 6px; */
    /* text-decoration-thickness: 2px; */
}

.text-content-subtitle {
    font-size: 34px;
    line-height: 39px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-content-subtitle.big {
    font-size: 54px;
    line-height: 58px;
}

.text-content-subtitle span {
    font-weight: 400;
}

.pp-main-content .text-content-subtitle {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-page.bg-page-contact:after{
    opacity: 0;
}

.hero-page.bg-page-404:after{
    opacity: 0;
}


.hero-page.bg-page-404 .hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-page.bg-page-404 .hero-content .hero-title{
    text-align:center;
    color:#fff;
    font-size:9rem;
    line-height:7rem;
}

.hero-page.bg-page-404 .hero-content p{
    color:#fff;
}


.hero-page.bg-page-404 .hero-content .custom-button{
    margin-top:2rem;    
}


.bg-contact {
    background: var(--pp-lightgray);
    background-size: cover;
    background-position: center;
    padding:8rem 0 !important;
}

.bg-expert{
    /* background: var(--pp-gradient); */
    border-radius: 15px;
    z-index: 8;
    margin-top: -1rem;
    position: relative;
    margin-bottom: -1rem;
}

.bg-secondary{
    background-color: var(--pp-lightgray) !important;
}


.white-c{
    color:var(--color-white);
}

.buttons-vertical{
    display: flex;
    flex-direction: column;
    /* border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); */
    border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    top: -0.8rem;
    position: relative;
}

.buttons-vertical a{
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    transition: 0.3s;
    align-items: center;
}

.buttons-vertical a:first-child{
    border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent);
    padding-top: 0;
}


.buttons-vertical a:hover{
    color:currentColor;
}

.buttons-vertical a span{
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2rem;
}

.buttons-vertical a span.button_more{
    padding: 0.5rem 1rem 0.5rem 1rem;
    border: 0;
    border-radius: 8px;
    gap: 2rem;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}


.buttons-vertical a:hover span.button_more{
    background-color:#fff;
    color:var(--primary-color);
}


.button_more.v2 {
    background-color: var(--primary-color);
    color: #fff;
}

.buttons-vertical a:hover span.button_more.v2 {
     background-color: #0e1343;
    color: #fff;
}


.buttons-vertical a span svg {
    width: 1.5rem;
    height: 1.5rem;
}



.buttons-vertical a span .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}

.buttons-vertical a span .cls-2 {
    fill: currentColor;
}

.images-certifate{
    background: var(--color-white);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.images-certifate img{
    width: 7rem;
    height:auto;
}

.images-certifate img:last-child{
    width: 3rem;
}

.white-form{
    border-radius:15px;
    background-color:var(--color-white);
    padding:2rem;
}

.no-sticky-section{
        position: relative;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin-bottom: -1rem;
        border-radius: 0;
        margin-top: -1rem;
        z-index: 7;
}

.no-sticky-section-simple{
        position: relative;
        margin-bottom: 1rem;
        z-index: 7;
        top: 0;
}


.sec-with-tab{
    display:flex;
    flex-direction:column;
    gap:3rem;
}


/**form**/


 .form-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.5rem;
     margin-top: 0rem;
}

.form-group {
    margin-bottom: 0 !important;
    position:relative;
}

 .full-width {
     grid-column: 1 / -1;
}
 .cutom-input{
     width:100%;
     background-color: #f5f5f9;
     color: var(--primary-color);
     font-family:var(--font-primary);
     padding:10px;
     font-size:16px;
     letter-spacing:1px;
     border: 1px solid;
     border-radius: 5px;
}
 .cutom-input::placeholder{
     color:  #292f6a80;
     font-family:var(--font-primary);
     font-size:16px;
     letter-spacing:0;
}


 .checkbox-input{
     gap: 1rem;
     align-items: start;
     display: flex;
}
 .checkbox-c[type=checkbox] {
     appearance: none;
     height: 1.5rem;
     transition: 0.2s;
     cursor: pointer;
     width: 1.5rem;
     flex-shrink: 0;
     background-color: #f5f5f9;
     border-radius: 5px !important;
     border: 1px solid;
}

input.checkbox-c.require {}
 .checkbox-c:checked[type=checkbox] {background-color: var(--primary-color);box-shadow: inset 0 0 0px 8px #f5f5f9;}
 
 .label-check {
     color:  var(--primary-color);
     letter-spacing: 0;
     font-size: 16px;
     font-family:var(--font-primary);
}
 .label-check a{
     color:  var(--primary-color);
     
}


.custom-button{
    border:0;
    background-color: #fff;
    color: var(--primary-color);
    display:flex;
    flex-direction:row;
    gap:2rem;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    align-items: center;
    transition:0.3s ease-in;
    border: 1px solid #e1e1e170;
}


.item-product:hover .custom-button{
    
    background-color: var(--primary-color);
    color: #fff;
    
}

.white-form .custom-button{
   background-color: var(--primary-color);
    color: #fff; 
}

.page-form .custom-button{
   background-color: var(--primary-color);
    color: #fff; 
}

.page-form .custom-button:hover{
   background-color: #0e1343;
    color: #fff; 
}

.head-private-area .custom-button:hover{
   background-color: #0e1343;
    color: #fff; 
}
.white-form .custom-button:hover{
   background-color: #0e1343;
    color: #fff; 
}

.swiperReleatedProd .item-product{
        background-color: #ffffff;
}

.swiperReleatedProd .custom-button{
  background-color:  var(--primary-color);
    color: #fff;
}




.swiperReleatedProd .item-product:hover{
        background-color: #f5f5f9;
        box-shadow: 0 0 0 0px #a5a5a550;
}



.swiperReleatedProd .item-product:hover .custom-button{
     background-color: #fff;
    color:  var(--primary-color);
}










.page-form .cutom-input{
     background-color: #fff;
     
}



.page-form .checkbox-c[type=checkbox] {
     
     background-color: #fff;
}

.page-form input.checkbox-c.require {}
 .checkbox-c:checked[type=checkbox] {background-color: var(--primary-color);box-shadow: inset 0 0 0px 8px #fff;}


.custom-button span{
    color:  currentColor;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 16px;
    text-transform: lowercase;
    font-family:var(--font-primary);
}






.custom-button svg {
    width: 1.5rem;
    height: 1.5rem;
}



.custom-button .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}

.custom-button .cls-2 {
    fill: currentColor;
}

/* â”€â”€ Page Builder Button Styles â”€â”€ */
.pp-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 14px;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pp-button span {
    color: currentColor;
    letter-spacing: inherit;
    font-weight: inherit;
    font-size: inherit;
    text-transform: inherit;
    font-family: inherit;
}

/* Trasparente */
.pp-button--trasparente {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}
.pp-button--trasparente:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Bianco */
.pp-button--bianco {
    background: #fff;
    border: 1px solid #001d6a;
    color: #001d6a;
}
.pp-button--bianco:hover {
    background: #4ef2e5;
    border-color: #4ef2e5;
    color: #001d6a;
}

/* Blu */
.pp-button--blu {
    background: #001d6a;
    border: 1px solid #001d6a;
    color: #fff;
}
.pp-button--blu:hover {
    background: #fff;
    border-color: #001d6a;
    color: #001d6a;
}

/* â”€â”€ Video / Iframe Embed â”€â”€ */
.pp-video-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.pp-video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 8px;
}

.tabs{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* margin-bottom: 3rem; */
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: 100%;
    z-index: 9;
    position: sticky;
    top: 5.5rem;
    background: #fff;
    padding-top: 1rem;
}

.tab{
    border-bottom: 1px solid;
    color: var(--bg-secondary);
    border-color: var(--bg-secondary);
    padding-bottom: 1rem;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s;
    font-family: var(--font-secondary);
    position:relative;
    cursor: pointer;
}

.tab::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    background:var(--primary-color);
    left: 0;
    bottom: -1px;
    transition: all 0.3s 
ease;
}

.tab.active{
    color: var(--primary-color);
}

.tab.active::after{
    width:100%;
}

.grid-product{
    display:grid;
    margin-top:2rem;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.grid-accessories{
    display:grid;
    margin-top:2rem;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}





.item-product{
   background-color: #f5f5f9;
   padding: 1.5rem;
   display: grid;
   border-radius: 15px;
   border: 1px solid #e1e1e170;
   gap: 2rem;
   grid-template-columns: 10rem auto;
   transition:0.3s ease-in;
}


.item-product:hover{
   background-color: #fff;
   box-shadow: 0 0 30px 0px #a5a5a550;
}


    .grid-product.inverse{
        margin-top:0;
    }
    


.inverse .item-product{
   background-color: #fff;
   border: 1px solid #e1e1e170;

}


.inverse .item-product:hover{
   background-color: #f5f5f9;
   box-shadow: 0 0 30px 0px #a5a5a550;
}


.inverse .custom-button {
    background-color: var(--primary-color);
    color: #fff;

}
.inverse .item-product:hover .custom-button {
    color: var(--primary-color);
    background-color: #fff;

}

.custom-button.inverse{
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
}
.custom-button.inverse:hover{
    color: #fff;
    background-color: #0e1343;
}



.item-accessory{
   background-color: #f5f5f9;
   padding: 0;
   display: grid;
   border-radius: 10px;
   gap: 2rem;
   grid-template-columns: 5rem auto;
   transition:0.3s ease-in;
   border: 1px solid #e1e1e170;
}


.item-accessory:hover{
   background-color: #fff;
   box-shadow: 0 0 30px 0px #a5a5a550;
}

.item-product:hover .miniature-prod img{
   transform:scale(1.2);
}




.miniature-prod{
    height: 100%;
    border-radius: 10px;
    overflow:hidden;
}

.desc-prod{display: flex;gap: 1rem;flex-direction: column;justify-content: center;}

.title-prod-card{
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    line-height: 2rem;
    margin: 0;
    font-weight: 600;
}

.desc-prod-card{
        margin-bottom: var(--spacing-md);
        color: var(--primary-color);
        font-family: var(--font-primary);
        margin: 0;
        line-height: 18px;
}

.miniature-prod img{
   width:100%;
   object-fit: cover;
   height: 100%;
   object-position: center;
   border-radius: 10px;
   transition:0.2s ease-in;
}

.item-accessory .miniature-prod {
    height: 5rem;
}
.footer-contact{
    gap: 2rem;
    display: flex;
    flex-direction: column;
}

.contact-item p{
    color:#fff;
    margin: 0;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 14px;
}

.contact-item p.address{
    text-transform: none;
    font-size: 16px;
}

.contact-item a{
    color:#fff;
    font-size: 16px;
}

.footer-bottom p a{
    color:#fff;
    text-decoration:underline;
}

.fit-width{
    width:fit-content;
}

.bottom-footer{
    background:var(--color-white);
    padding: 1rem 0;
    margin: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    position: sticky;
    top: 0;
    z-index: 8;
}

.bottom-footer .container{
    display: grid;
    gap:2rem;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
    align-items: center;
}

.bottom-footer p{
    margin:0;
    color:#000;
    font-size: 13px;
}
.letter-strange{
    letter-spacing: -5px;    margin-left: -2px;    margin-right: 2px;
}

.loghi-footer img{
    width:auto;
    height: 50px;
}

.img-100-rounded{
    width: 100%;
    max-width: 100%;
    height:100%;
    border-radius:15px;
    object-fit: cover;
}

.fit-contain{
    object-fit: contain;
}

.breadcrumbs-container {
margin-bottom: 1rem;
    }
.breadcrumbs-container ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    }
.breadcrumbs-container li {
    display: flex;
    align-items: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 15px;
    font-family: var(--font-secondary);
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    }
/* Aggiunge il separatore "/" dopo ogni elemento tranne l'ultimo */
.breadcrumbs-container li:not(:last-child)::after {
    content: "+";
    margin: 0 0.5rem;
    color: #ffffff;
    }
.breadcrumbs-container a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    }
.breadcrumbs-container a:hover {
    color: currentColor;
    }
/* Stile per il link attivo */
.breadcrumbs-container li.active a {
    color: currentColor;
    }
.breadcrumbs-container.withe a {
    color: #fff;}
.breadcrumbs-container.withe li:not(:last-child)::after {
    color: #fff;}
.breadcrumbs-container.withe li.active a {
    color: #fff;}
.breadcrumbs-container.withe a:hover {
    color: #fff;}
.breadcrumbs-container.withe li span{
    color: #fff;}
    
    
    
    
    
    
    
.grid-contact{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.item-grid-contact{
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 10px;
    background-color: #F5F5F9 !important;
}

.title-item-contact{
    margin: 0;
    text-transform: uppercase;
    color: #292f6a80;
    font-family:var(--font-primary);
    font-weight: 600;
    letter-spacing: 0px;
}

.text-item-contact{
    color: var(--primary-color);
    font-family: var(--font-primary);
    margin: 0;
    line-height: 24px;
}


.text-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-container-right {
    padding-right: max(2rem, calc((100vw - 1190px) / 2));
}

.col-img{
    height: 100%;
    overflow: hidden;
}
    
.col-text ul{list-style: none;display: flex;gap: 1rem;flex-direction: column;padding: 0;} 

.col-text ul li{
    position:relative;
    padding-left: 2rem;
    font-size: 18px;
    line-height: 22px;
}

.col-text ul li:before{
    content:'';
    background-image:url(/media/piu.svg);
    position:absolute;
    width: 1.5rem;
    height: 1rem;
    top: 0.3rem;
    left: 0;
    background-repeat: no-repeat;
}


.col-text ul li p{
    margin:0;
}

.title-list{
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.col-text ul li h6{
    font-size: 17px;
    line-height: 21px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom:5px;
    text-transform: uppercase;
}






.grid-item .img-fluid {
max-width: 100%;
height: auto;
min-height: 18rem;
aspect-ratio: 4/3;
}
.grid-container {
width: 100%;
height: 100%!important;
display: flex;
flex-wrap: wrap;
gap: 2rem;
overflow: hidden;
transition: height 0.3s ease;
}
.grid-item {
position: relative!important;
left: 0!important;
top: 0!important;
height: 18rem;
transition: all 0.3s ease;
}
.grid-item.width-100 {
height: 28rem;
}
.grid-item.width-100 {
width: 100%;
}
.grid-item.width-50 {
width: calc(50% - 1rem);
}
.grid-item.width-75 {
width: calc(75% - 1rem);
}

.grid-item.width-33 {
width: calc(33% - 1.25rem);
}

.grid-item.width-25 {
width: calc(25% - 1.5rem);
}
.glight-img {
display: block;
height: 100%;
width: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
cursor: pointer;
border: 0;
border-radius: 20px;
}
.image_title_p{
position: absolute;
bottom: 0.5rem;
background-color: #ffffff70;
padding: 5px 10px;
border-radius: 5px;
margin-right: auto;
margin-top: auto;
}
.image_title_p span{
color: #122b54;
text-transform: uppercase;
font-size: 14px;
}

.works .image_title {
transform: translateY(0px);
align-content: center;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.glight-img:hover .image_title {
opacity: 1;
}

.image_title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    color: white;
    padding: 30px 20px 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-content: center;
}

.image_title h6 {
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.image_title span {
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 12px;
    font-weight: 400;
    text-align: left;
    letter-spacing: 1px;
}

.p-sec-desk-8{
    padding-top:8rem;
}

.sec-accessorires{
    display:flex;
    flex-direction:column;
    gap: 0;
}



.sec-accessorires > div:nth-child(odd) .order-accessory-1 {
    order: 1;
}
.sec-accessorires > div:nth-child(odd) .order-accessory-0 {
    order: 0;
}

/* Righe pari (2, 4, 6...) - immagine a destra */
.sec-accessorires > div:nth-child(even) .order-accessory-1 {
    order: 0;
}
.sec-accessorires > div:nth-child(even) .order-accessory-0 {
    order: 1;
}


.bg-page-products{
    background: var(--pp-gradient);
}


.sec-accessorires > .text-grid:nth-child(odd) {grid-template-columns: auto 50%;gap: 5rem;padding-top: 7rem;}

.sec-accessorires > .text-grid:nth-child(even)  {grid-template-columns: 50% auto;gap: 5rem;padding-top: 7rem;}

.sec-accessorires .img-100-rounded{
    /* height: auto; */
}

.h2-bottom{
        border: 0;
    margin: 0;
}
h3{
    color: var(--primary-color);
    font-weight: 400;
    font-family: var(--font-primary);
}


.swiper-slide{
    width: 100%;
    height:100%;
}

.swiperGallery {
    width: 100%;
    height: 100%;
    border-radius:15px;
}

.swiperGallery .swiper-slide{
    width: 100% !important;
}


.product-swiper {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: center;
}

.navigation-arrow{
    width: 100%;
    padding: 0 2rem;
    display: flex;
    z-index: 9;
    position: absolute;
    justify-content: space-between;
}

.prev-p, .next-p{
     background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: row;
    padding: 0.25rem 1rem;
    border-radius: 8px;
    align-items: center;
    transition: 0.3s ease-in;
}



.prev-p:hover, .next-p:hover{
     background-color: #0e1343;
    color: #fff;
   
}
.prev-p .cls-1, .next-p .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}

.prev-p .cls-2, .next-p .cls-2 {
    fill: currentColor;
}


.prev-p svg{
    width: 1.5rem;
    height: 1.5rem;
    transform:rotate(-180deg);
}

.next-p svg{
      width: 1.5rem;
    height: 1.5rem;
}


.prev-product, .next-product{
     background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: row;
    padding: 0.25rem 1rem;
    border-radius: 8px;
    align-items: center;
    transition: 0.3s ease-in;
}


.prev-product:hover, .next-product:hover{
     background-color: #0e1343;
    color: #fff;
    
}


.prev-product .cls-1, .next-product .cls-1 {
    fill: none;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 8px;
}

.prev-product .cls-2, .next-product .cls-2 {
    fill: currentColor;
}


.prev-product svg{
    width: 1.5rem;
    height: 1.5rem;
    transform:rotate(-180deg);
}

.next-product svg{
      width: 1.5rem;
    height: 1.5rem;
}

.navigation-products{
    border-bottom: 1px solid
 color-mix(in srgb, currentColor 30%, transparent);
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.navigation-products h3{
    font-size: 1.2rem;
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
}

.navs-prod{
    display: flex;
    gap: 1rem;
}

.no-scroll-x{
   overflow-x: hidden;
}



.swiperReleatedProd{
        margin-right: 0;
}

.flex-col-prod{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-600{
    font-weight:600;
}

.item-menu.has-submenu.active .line-vertical {
    transform: rotate(90deg);

}

 .group-fake-select{
     position:relative;
}
 .change-select {
     position: absolute;
     
     right: 15px;
     top: 20px;
     transition: 0.2s ease-in;
    /* Centra il punto di origine per la rotazione */
     transform-origin: center center;
}
 .active .change-select {
    /* Oppure se vuoi -90 gradi ma centrato: */
     transform: rotate(-90deg);
}
 .change-select svg {
     width: 0.5rem;
     height: 0.5rem;
    /* Assicura che l'SVG sia centrato nel container */
     display: block;
}
 .fake-input{
     cursor:pointer;
}
 .card-sel{
     position: absolute;
     width: 100%;
     background: var(--primary-color);
     height: fit-content;
     border-radius: 5px;
     left: 0;
     top: 2.8rem;
     padding: 0;
     display: flex;
     z-index: 9;
     flex-direction: column;
     gap: 0;
     transform: translateY(15px);
     opacity: 0;
     visibility: hidden;
     transition: 0.2s;
     font-family: var(--font-primary);
}
 .item-option {
     font-family: var(--font-primary);
     letter-spacing: 0;
     font-size: 16px;
     line-height: 20px;
     color: #fff;
     transition: 0.2s;
     cursor: pointer;
     padding: 0.5rem 1rem;
}


 .item-option:first-child{
     padding-top:1rem;
}

 .item-option:last-child{
     padding-bottom:1rem;
}

 .group-fake-select.active .card-sel {
     transform: translateY(0px);
     opacity: 1;
     visibility: visible;
}

.certificate-img{
    background: #f5f5f9;
    border-radius:5px;
    display:flex;
    width:100%;
    padding:1rem;
    justify-content: center;
    align-items: center;
}

.certificate-img img{
    height: 5rem;
    width:auto;
}

.flex-text{
       display: flex;
    align-items: center; 
}

.flex-text p{
    margin:0;
}


.login_sec{
    opacity:1;
    visibility:visible;
    transition:0.2s;
}

.login_sec.hide{
    opacity:0;
    visibility:hidden;
}

.private-area-users{
   opacity:0;
    visibility:hidden; 
    transition:0.2s;
    display:none;
}

.private-area-users.show{
    display:block;
    opacity:1;
    visibility:visible;
}

.head-private-area{
   display: flex;
   justify-content: flex-end;
   gap:0.5rem;
}


.head-private-area .custom-button{
   background-color: var(--primary-color);
    color: #fff; 
    cursor:pointer;
}

.head-private-area .custom-button.white-button{
   background-color: #fff;
   color: var(--primary-color);
   cursor:pointer;
   width: fit-content;
   padding: 0.5rem 1rem;
}

.head-private-area .custom-button.white-button:hover{
    color: #fff;
    background-color: var(--primary-color); 
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning {
    animation: spin 1s linear infinite;
}

.grid-resources-private-area{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.item-private-area{
    background: #fff;
    padding: 1rem;
    display:flex;
    border-radius: 15px;
    align-items: center;
    justify-content: space-between;
}


.item-private-area svg{
   height:4rem;
}

.item-private-area .text p{
   margin:0;
   line-height: 18px;
   font-weight: 700;
   font-size: 18px;
   font-family: var(--font-secondary);
}

.dimension-file{
    font-size: 13px !important;
    text-transform:uppercase;
    font-weight: 100 !important;
    line-height: 13px !important;
    margin-top: 0.5rem !important;
}

.file-private-area{
    gap: 2rem;
    display:flex;
    align-items: center;
}

.actions-file{
    display:flex;
    gap:1rem;
}

.btn-action-file{
    cursor:pointer;
    background:#F5F5F9;
    border-radius: 8px;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color:var(--primary-color);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position:relative;

}


.btn-action-file .badge_to-signe{
    position:absolute;
    top: -2px;
    left: -2px;
    width: 0.75rem;
    height: 0.75rem;
    background-color:var(--primary-color);
    border-radius: 4px;
    opacity:0;
    visibility:hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.btn-action-file.notify .badge_to-signe{
    opacity:1;
    visibility:visible;
}




.btn-action-file svg{
    width: 1.2rem;
    height: 1.2rem;
}


.btn-action-file:hover .badge_to-signe{
    opacity:0;
    visibility:hidden;
}

.btn-action-file:hover{
        color:#fff;
        background:var(--primary-color);
}


.btn-action-file.disabled{
    opacity:0.5;
    cursor:default;
}

.btn-action-file.disabled:hover{
        color:var(--primary-color);
        background:#F5F5F9;
}


.loader {
    position: fixed;
    z-index: 99999;
    padding: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.top-loader {
    position:absolute;
    background: var(--primary-color);
    width: 100%;
    height: 0;
    top:0;
    left:0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.bottom-loader {
 position: absolute;
 background: var(--primary-color);
 width: 100%;
 height: 0;
 bottom: 0;
 left: 0;
 display: flex;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 justify-content: center;
 align-items: flex-start;
}

/* ANIMAZIONE ENTRATA (caricamento iniziale) */
.top-loader, .bottom-loader {
    height: 50vh;
}
.loaded .top-loader {
    transform:translateY(-100%);
    transition-delay:0.8s;
}

.loaded .bottom-loader {
    transform:translateY(100%);
    transition-delay:0.8s;
}

.content-loader{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.content-loader svg{
    height: 80vh;
    width: 100%;
}
.loader-left{
    transform: translateX(-9.1rem);
    transition:0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 30rem;
}
.loader-right{
    transform: translateX(8.5rem);
    transition:0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 30rem;
}

.loaded .loader-left{
    transform: translateX(-0.8rem);
}
.loaded .loader-right{
   transform: translateX(1rem);
}



/* ANIMAZIONE CHIUSURA (per transizioni tra pagine) */
.transitioning .top-loader, .transitioning .bottom-loader {
    height: 50vh;
    transition-delay:0s;
}

.transitioning .content-loader svg .loader-left{
    animation: loaderLeftClose 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.transitioning  .loader-right{
    animation: loaderRightClose 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderLeftClose {
    /* Resta fuori schermo */
    0%, 80% {
        transform: translateX(0) translateY(-100%);
    }
    /* Entra al centro insieme a top/bottom */
    100% {
        transform: translateX(0) translateY(0);
    }
}

@keyframes loaderRightClose {
    /* Resta fuori schermo */
    0%, 80% {
        transform: translateX(0) translateY(100%);
    }
    /* Entra al centro insieme a top/bottom */
    100% {
        transform: translateX(0) translateY(0);
    }
}

.sec-certificate .container{
    display:flex;
    flex-direction:column;
    gap:2rem;
}

.logo-loader{
        width: 20vw;
        height: auto;
        z-index: 99;
        transition:0.2s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay:0.8s;
}

.logo-loader .cls-1{
    fill: var(--color-white) !important;
}

.loaded .logo-loader{
    opacity:0;
    visibility:hidden;
}

/* ============================================
   PAGE LOAD â€” Blur che sfuma quando tutto Ã¨ pronto
   ============================================ */
body.load-body main,
body.load-body .head {
    filter: blur(12px);
    animation: removeBlur 0.6s ease-in-out forwards;
    animation-play-state: paused;
}

body.load-body.ready main,
body.load-body.ready .head {
    animation-play-state: running;
}

@keyframes removeBlur {
    0%   { filter: blur(12px); }
    50%  { filter: blur(5px); }
    100% { filter: blur(0px); }
}

.modal-to-signed{
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 99999;
    top: 0;
    left: 0;
    backdrop-filter: brightness(0.5);
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition:0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-to-signed.open{
    visibility: visible;
    opacity: 1;
}


.content-modal-to-signed{
    background: #fff;
    width: 70vw;
    position: relative;
    height: 90vh;
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.view-detail-file{
    padding: 1rem;
    background: #F5F5F9;
    border-radius: 15px;
}

.view-detail-file iframe{
    min-height: 430px;
}

.view-detail-file img{
       width: 100%;
    object-fit: cover;
    height: 430px;
}

.view-detail-file video{
       width: 100%;
    height: 430px;
}










.modal-no-signed{
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 99999;
    top: 0;
    left: 0;
    backdrop-filter: brightness(0.5);
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition:0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-no-signed.open{
    visibility: visible;
    opacity: 1;
}


.content-modal-no-signed{
    background: #fff;
    width: 70vw;
    position: relative;
    height: 90vh;
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.view-detail-file-no-signed{
    padding: 1rem;
    background: #F5F5F9;
    border-radius: 15px;
    height:100%;
}

.view-detail-file-no-signed iframe{
    min-height: 100%;
}

.view-detail-file-no-signed img{
    width: 100%;
    object-fit: contain;
    height: 100%;
}

.view-detail-file-no-signed video{
    width: 100%;
    height: 100%;
}




.row-signed{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.row-signed input.checkbox-c {
    border:1px solid  var(--primary-color);
}

.row-signed .label-check{
    cursor:pointer;
}

.close-modal-signed{
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

.close-modal-no-signed{
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    cursor: pointer;
    color: var(--primary-color);
}


.close-modal-signed svg{
    
}

.custom-button.disabled{
    opacity: 0.3;
}

.no-documents{
    display: flex;
    gap: 1rem;
    color: var(--primary-color);
}

.no-documents p{
    margin:0;
}

.text-content h2{
    margin-bottom:2rem;
}

/* CKEditor generated content â€” inherit parent styles */
.text-content ul,
.text-content ol,
.text-content li,
.text-content strong,
.text-content b,
.text-content em,
.text-content a,
.text-content span {
    color: var(--primary-color);
    font-family: var(--font-primary);
}
.text-content span[style*="font-size"] {
    font-size: inherit !important;
}
.text-content .col-text ul {
    gap: 0.5rem;
    margin-bottom:0;
    padding-top: 0.5rem;
}

.col-text p span{
    font-weight: 600;
}
.col-text.white-c p{
    color: #fff;
    font-weight: 300;
}
.flex-col-prod .img-100-rounded {
    max-height: 380px;
}

.view-passsord{
    position:absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 3rem;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem;
    color: var(--primary-color);
}

.view-passsord svg{
    width: 100%;
    height: 100%;
}



.hide{
    display:none;
}

/* ============================================
   PELVIC POINT - COMPONENTI SPECIFICHE
   ============================================ */

/* --- Footer Additions --- */

.footer-label {
    font-size: 18px;
    font-weight: 500!important;
    letter-spacing: 0;
    opacity: 1;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
}

.button-a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding: 1rem 1.54rem;
    border: 1px solid rgb(255 255 255);
    border-radius: 8px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    justify-content: space-between;
    gap: 3rem;
}

.button-a svg{
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.button-a:hover {
    background: rgb(255 255 255 / 30%);
    border-color: #fff;
    color: #fff !important;
}

.footer-social-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-social-text a {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.footer-social-text a:hover {
    color: var(--pp-cyan);
}

.footer-orari p:last-child {
    margin-bottom: 0;
}

/* --- Servizi Dropdown Mega Menu --- */
/* Styles moved to menu-enhanced.css */

/* --- Homepage: Service Icon Grid --- */

.pp-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
}

.pp-service-card {
    background: var(--pp-navy);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pp-service-card:hover {
    background: color-mix(in srgb, var(--pp-navy) 85%, var(--pp-cyan));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 29, 106, 0.3);
}

.pp-service-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pp-service-card .service-name {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.pp-service-card:hover img.icon-default {
    display: none;
}

.pp-service-card:hover img.icon-selected {
    display: block;
}

.pp-service-card img.icon-selected {
    display: none;
}

/* --- Servizi Grid --- */

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding-top: 4rem;
}

.servizi-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.servizi-card:hover {
    /* transform: translateY(-4px); */
}

.servizi-card-icon {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.servizi-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-hover);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.servizi-card:hover .servizi-card-icon::before {
    opacity: 1;
}

.servizi-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.servizi-card-title {
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.75em;
    margin-top: -1px;
}

.servizi-card-title h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-align: center;
}

/* --- Servizi List (pagina servizi) --- */

.servizi-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.servizi-list-card {
    display: flex;
    align-items: center;
    gap: 4.5rem;
    border: 1px solid #fff;
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.servizi-list-card-icon {
    width: 10rem;
    height: 10rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 1rem;
}

.servizi-list-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-hover);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 12px;
}

.servizi-list-card:hover .servizi-list-card-icon::before {
    opacity: 1;
}

.servizi-list-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.servizi-list-card-title {
    position: relative;
    z-index: 1;
}

.servizi-list-card-title h4 {
    margin: 0;
    font-size: 40px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.3px;
}

/* --- Staff Grid --- */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    /* padding-top: 2rem; */
}

.staff-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    padding: 1rem;
    transition: all 0.3s ease;
}

.staff-card:hover {
    background: var(--primary-color);
    border-color: #fff;
}

.staff-card:hover .staff-card-name,
.staff-card:hover .staff-card-role {
    color: #fff;
}

.staff-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    transition: border-color 0.3s ease;
}

.staff-card:hover .staff-card-img {
    border-color: #fff;
}

.staff-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card-info {
    padding: 10px;
    text-align: center;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    margin-top: -2px;
    transition: all 0.3s ease;
    min-height: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.staff-card:hover .staff-card-info {
    border-color: #fff;
}

.staff-card-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    transition: color 0.3s ease;
}

.staff-card-role {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
    transition: color 0.3s ease;
}

/* --- Video Grid --- */

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding-top: 0;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.video-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-card-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.video-card-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.video-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumb {
    transform: scale(1.05);
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--pp-cyan);
    color: var(--pp-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.video-card-play svg {
    margin-left: 0;
    width: 2.5rem;
    height: 2.5rem;
}


.video-card-info {
    padding: 2rem 0 0 0;
}

.video-card-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-color);
    /* text-transform: uppercase; */
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.video-card-description p{
    font-size: 17px;
    line-height: 21px;
}

.video-card-description p {
    margin: 0;
}

.video-card-placeholder {
    aspect-ratio: 16 / 9;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    box-sizing: border-box;
}

.video-card-placeholder img {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.4;
}

.video-card-placeholder span {
    font-size: 0.85rem;
    color: #8a94a3;
    font-weight: 500;
}

/* --- Patologie List --- */

.pat-list {
    display: grid;
    grid-template-rows: repeat(8, auto);
    grid-auto-flow: column;
    grid-template-columns: auto;
    gap: 0.8rem 2rem;
    padding-top: 3rem;
    border-top: 2px solid var(--primary-color);
    margin-top: 2rem;
}

.pat-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pat-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--pp-navy);
    margin-top: 0;
}

.pat-item span {
    font-size: 15px;
    color: var(--pp-navy);
    line-height: 1.3;
    font-weight: 600;
}

/* --- Numbers Section (Chi Siamo) --- */
.section-numbers{
    padding : 0.5rem 0 !important;
}

.numbers-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}
.number-card {
    flex: 1 1 0;
    min-width: 220px;
    background-color: var(--color-primary);
    background-image: var(--bg-hover);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}
.number-card:nth-child(1) { --bg-hover: url('/assets/frontend/img/png/pp_numeri_1.png'); }
.number-card:nth-child(2) { --bg-hover: url('/assets/frontend/img/png/pp_numeri_2.png'); }
.number-card:nth-child(3) { --bg-hover: url('/assets/frontend/img/png/pp_numeri_3.png'); }
.number-card:nth-child(4) { --bg-hover: url('/assets/frontend/img/png/pp_numeri_4.png'); }
.number-card h3 {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.number-card p {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-align: center;
    font-weight: 600;
}
/* Regole responsive number-card → nei file dedicati (responsive-phone/tablet-*.css) */

/* --- News Cards --- */

.pp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.pp-news-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding: 2.5rem;
    height: 100%;
    min-height: 43vh;
}

.pp-news-card:hover {
    background: var(--pp-navy);
    border-color: #fff;
}

.pp-news-card-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--pp-navy);
    line-height: 28px;
    margin: 0;
    transition: all 0.3s ease;
}

.pp-news-card:hover .pp-news-card-title {
    color: #fff;
}

.pp-news-card-excerpt {
    color: var(--pp-navy);
    font-size: 18px;
    line-height: 22px;
    margin: 0;
    flex: 1;
    transition: all 0.3s ease;
}

.pp-news-card:hover .pp-news-card-excerpt {
    color: #fff;
}

.pp-news-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 20px;
    background: var(--pp-navy);
    color: #fff;
    border: 1px solid var(--pp-navy);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: space-between;
}

.pp-news-card:hover .pp-news-card-btn {
    background: #fff;
    border-color: #fff;
    color: var(--pp-navy);
}

/* --- News List (Homepage) --- */

.pp-section-title.left {
    text-align: left;
}

.news-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    min-height: 4rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-primary);
    text-decoration: none;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-cta {
    width: 100%;
    padding-top: 2rem;
}

.news-list-item:hover .line-vertical {
    transform: rotate(90deg);
}

.news-list-date {
    font-size: 0.75rem;
    color: var(--pp-navy);
    opacity: 1;
    white-space: nowrap;
    min-width: 70px;
    letter-spacing: 0.5px;
}

.news-list-title {
    flex: 1;
    font-size: 1rem;
    color: var(--pp-navy);
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.25s ease;
}
.news-list-item:hover .news-list-title {
    margin-left: 5px;
}
.news-list-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pp-navy);
    white-space: nowrap;
}

.news-list-link svg {
    width: 16px;
    height: 16px;
}

.news-list-link .line-vertical {
    transition: all 0.3s ease;
    transform-origin: center;
}

.news-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
/* --- Professional Cards --- */

.pp-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pp-team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--pp-paleblue);
    transition: all 0.3s ease;
    text-align: center;
}

.pp-team-card:hover {
    box-shadow: 0 8px 25px rgba(0, 29, 106, 0.1);
    transform: translateY(-3px);
}

.pp-team-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.pp-team-card:hover .pp-team-card-img {
    filter: grayscale(0%);
}

.pp-team-card-body {
    padding: 1.2rem;
}

.pp-team-card-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--pp-navy);
    margin: 0 0 0.25rem 0;
}

.pp-team-card-role {
    font-size: 0.85rem;
    color: var(--pp-navy);
    opacity: 0.6;
    margin: 0;
}

/* --- Contact Form (Contattaci page) --- */

.pp-contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.pp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pp-form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--pp-paleblue);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--pp-navy);
    background: #fff;
    transition: border-color 0.3s ease;
}

.pp-form-input::placeholder {
    color: rgba(0, 29, 106, 0.4);
}

.pp-form-input:focus {
    outline: none;
    border-color: var(--pp-magenta);
    box-shadow: 0 0 0 3px rgba(232, 102, 255, 0.1);
}

.pp-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.pp-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.54rem;
    background: var(--pp-navy);
    color: #fff;
    border: 2px solid var(--pp-navy);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pp-form-submit:hover {
    background: #fff;
    color: var(--pp-navy);
}

/* --- Form utility classes --- */

.pp-form-title {
    color: #fff;
}

.pp-form-subtitle {
    color: #fff;
    opacity: 0.8;
}

.form-grid-spaced {
    margin-top: 1.5rem;
}

.form-sec-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.form-col {
    min-width: 0;
}

.form-submit-group {
    margin-top: 10px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-hint {
    opacity: 0.6;
}

/* --- Hero Page Gradient (internal pages) --- */

.hero-page-gradient {
    position: relative;
    min-height: 57vh;
    padding: 6rem 2rem 2rem 2rem;
    border-radius: 15px;
    margin: 1rem 0;
    display: flex;
    align-items: flex-end;
    background-image: url(/media/pelvicpoint_background_cut_nograin.jpg);
    background-position: 0 90vh;
}

.hero-page-gradient:after {
    display: none;
}

.hero-page-gradient .hero-title {
    color: #fff;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 5rem;
    font-family: var(--font-primary);
    letter-spacing: 0px;
}

.hero-page-gradient .breadcrumbs-container {
    /* margin-top: 1rem; */
}

.hero-page-gradient .breadcrumbs-container li {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.breadcrumbs-container li.active {
    font-weight:600;
}
/* --- News Detail Sidebar --- */

.pp-content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 5rem;
    padding: 0 0 0 2rem;
}

/* --- News Page Builder spacing --- */

.pp-main-content .sec-templates .section-container {
    padding: 0;
}

.pp-main-content .sec-templates .double-columns-container {
    margin-bottom: 1.5rem;
}

.pp-main-content .sec-templates .section-heading {
    margin-bottom: 0.75rem;
}

.pp-main-content .sec-templates .text-content {
    margin-bottom: 0.5rem;
}

.pp-main-content .sec-templates .col-img {
    height: auto;
    overflow: hidden;
}

.pp-main-content .sec-templates .img-100-rounded {
    height: auto;
    max-width: 100%;
}

/* --- News Content (CKEditor output) --- */

.news-content {
    color: var(--pp-navy);
    font-size: 16px;
    line-height: 1.7;
}

.news-content p {
    margin-bottom: 1rem;
}

.news-content strong,
.news-content b {
    font-weight: 700;
}

.news-content em,
.news-content i {
    font-style: italic;
}

.news-content ul,
.news-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.news-content ul {
    list-style: disc;
}

.news-content ol {
    list-style: decimal;
}

.news-content li {
    margin-bottom: 0.4rem;
}

.news-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
}

.news-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.news-content a {
    color: var(--pp-navy);
    text-decoration: underline;
}

.news-content blockquote {
    border-left: 3px solid var(--pp-navy);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    opacity: 0.8;
}

.pp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pp-sidebar-widget {
    background: var(--pp-lightgray);
    border-radius: 12px;
    padding: 1.5rem;
}

.pp-sidebar-widget-title {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--pp-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pp-navy);
}

.pp-sidebar-news-list {
    display: flex;
    flex-direction: column;
}

.pp-sidebar-news-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #c8cdd8;
    transition: opacity 0.3s ease;
}

.pp-sidebar-news-item.last {
    border-bottom: none;
}

.pp-sidebar-news-item:hover {
    opacity: 0.7;
}

.pp-sidebar-news-title {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 700;
    color: var(--pp-navy);
    line-height: 1.3;
}

.pp-sidebar-news-desc {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 400;
    color: var(--pp-navy);
    line-height: 16px;
    opacity: 0.7;
}

.pp-sidebar-share {
    display: flex;
    gap: 12px;
}

.pp-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pp-navy);
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid var(--pp-navy);
}

.pp-share-icon svg {
    width: 22px;
    height: 22px;
}

.pp-share-icon:hover {
    background: #fff;
}

/* --- Service Detail Page (sidebar navigation) --- */

.pp-service-nav {
    position: sticky;
    top: 6rem;
}

.pp-service-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--pp-navy);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--pp-paleblue);
    transition: all 0.3s ease;
}

.pp-service-nav-link:hover,
.pp-service-nav-link.active {
    color: var(--pp-magenta);
    background: rgba(232, 102, 255, 0.05);
}

.pp-service-nav-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.4;
}

/* --- HPV Point / Info Boxes --- */

.pp-info-box {
    background: var(--pp-gradient);
    border-radius: 12px;
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.pp-info-box p {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.pp-info-box strong {
    font-weight: 700;
}

/* --- Collapse / Accordion (servizi, HPV) --- */

.pp-accordion-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.pp-accordion-header {
    background: var(--pp-navy);
    color: #fff;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.pp-accordion-header:hover {
    background: color-mix(in srgb, var(--pp-navy) 85%, black);
}

.pp-accordion-header svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.pp-accordion-item.open .pp-accordion-header svg {
    transform: rotate(180deg);
}

.pp-accordion-body {
    background: var(--pp-lightgray);
    padding: 1.25rem;
}

/* --- Patologie Trattate (multi-column checklist) --- */

.pp-patologie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 2rem;
}

.pp-patologia-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: var(--pp-navy);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--pp-paleblue);
}

.pp-patologia-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pp-magenta);
    flex-shrink: 0;
}

/* --- Section Titles PP --- */
.home-section{
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.home-buttons{
    display: flex;
    gap: 1rem;
}
.pp-section-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 600;
    color: var(--pp-navy);
    line-height: 1.2;
    margin-bottom: 0;
    border-bottom: 0;
    padding: 0;
    text-align: center;
}

.pp-section-title span {
    font-weight: 700;
}
.pp-section-title.white-c{
    color: var(--color-white);
}
.pp-section-title.medium{
    font-size: 2.6rem;
    font-weight: 600;
}
.pp-section-title.small{
    font-size: 1.8rem;
    line-height: 24px;
    font-weight: 600;
}
.home-title-h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--pp-navy);
    line-height: 1.2;
    margin-bottom: 0;
    border-bottom: 0;
    padding: 0;
    text-align: center;
}
.home-title-h2 span{
    font-weight: 600;
}
.pp-section-subtitle {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--pp-navy);
    opacity: 1;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
}

.pp-section-span{
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 16px;
    margin-bottom: 0;
    border-bottom: 0;
    padding: 0;
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.text-sub-logo{
    transform: scale(0.7);
    transform-origin: left;
}

.section-container{
    padding:0 2rem;
}
.br-10{
    border-radius: 10px;
}











.col-center-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    width: 100%;
}

.ccr-title{
    width: 100%;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--primary-color);
}


.section-flex-gap-4{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}


.img-100-rounded.h-70{
    height: 70vh;
}

.intro-section{
    padding: 3rem 2rem 0 2rem;
}

.intro-row{
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.section-description span{
    font-weight: 600;
}







/* â”€â”€ Template Slider â”€â”€ */
.template-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.template-slider-img {
    width: 100%;
    display: block;
}
.template-slider-img.cover {
    height: 400px;
    object-fit: cover;
}
.template-slider-img.contain {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.template-slider .swiper-button-prev,
.template-slider .swiper-button-next {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.template-slider .swiper-button-prev:hover,
.template-slider .swiper-button-next:hover {
    opacity: 1;
}
.template-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.template-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* â”€â”€ Hero Slide Page Builder Overlay â”€â”€ */
.hero-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 2rem;
}
.hero-slide-content .sec-templates {
    width: 100%;
}
.hero-slide-content .section-container {
    color: #fff;
}

/* â”€â”€ Page Builder Row Gap (flex puro, senza Bootstrap grid) â”€â”€ */
.double-columns-container.has-gap {
    display: flex;
    flex-wrap: wrap;
}

/* Page builder: wrapper block di ogni template dentro una colonna.
   Serve a due cose:
   1) spaziatura uniforme tra template impilati (col-img, pp-video-embed e
      pp-button non hanno margini propri, quindi si attaccavano tra loro);
   2) forzare il contesto block: .pp-button e' inline-block, quindi due button
      nella stessa colonna finivano affiancati invece che impilati. */
.sec-templates .pb-template + .pb-template {
    margin-top: 1.5rem;
}

.flex-col-gap-2{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.btn-transparent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    padding: 1rem 1.54rem;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.3s ease;
    justify-content: space-between;
    gap: 1rem;
    width: 17rem;
    min-width: fit-content;
}

.btn-transparent svg{
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-transparent:hover {
    background: var(--pp-cyan);
    border: 1px solid var(--pp-cyan);
}

.btn-transparent.inverted{
    background: var(--pp-cyan);;
    color: var(--color-primary);
    border: 1px solid var(--pp-cyan);;
}
.btn-transparent.inverted:hover {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.text-content .col-text p{
    margin-bottom: 6px;
}

.product-row .btn-transparent{
    margin-top: 1.5rem;
}

.pp-news-card-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 1;
}

/* --- News Pagination --- */

.news-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-page-content {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.news-page-content.fading {
    opacity: 0;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.news-pagination-pages {
    overflow: hidden;
    /* 6 bottoni * 36px + 5 gap * 4px = 236px */
    max-width: 236px;
}

.news-pagination-track {
    display: flex;
    gap: 4px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-pagination-page {
    min-width: 36px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-pagination-page:hover {
    background: var(--pp-cyan);
    border-color: var(--pp-cyan);
}

.news-pagination-page.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    cursor: default;
}

.news-pagination-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-pagination-arrow:hover:not(:disabled) {
    background: var(--pp-cyan);
    border-color: var(--pp-cyan);
}

.news-pagination-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.intro{
    padding: 0 2rem 2rem 2rem;
}

.section-professionisti{
    padding: 4rem 2rem 6rem 2rem;
}

.typeformscrypt{
    padding: 4rem 2.5rem;
}

.intro-title .pp-section-title{
    text-align: left;
    margin-bottom: 2rem;
}

.bg-grey{
    background-color: #f0f2f5;
}

.section.lateral_margin {
    margin-left: 2rem;
    margin-right: 2rem;
}

.text-transform-inherit {
    text-transform: inherit!important;
}
.pat-section{
    padding-top: 6rem;
    padding-bottom: 0rem;
}
.pat-section-beta{
    padding-bottom: 5rem;
}

.only_mobile{
    display: none;
}

.text-row{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* ============================================
   REVEAL ON SCROLL (fade-up)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger figli in cascata dentro .reveal-stagger */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-stagger.in-view > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.in-view > *:nth-child(n+5) { transition-delay: 0.4s; }

/* Laterale: colonne di .text-grid entrano da sinistra/destra verso il centro */
.reveal .text-grid > *:nth-child(1) {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}
.reveal .text-grid > *:nth-child(2) {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}
.reveal.in-view .text-grid > *:nth-child(1),
.reveal.in-view .text-grid > *:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
}

.hpv-grid{
    display: grid!important;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    /* Su mobile riduci lo spostamento laterale (diventa piÃ¹ simile a fade-up) */
    .reveal .text-grid > *:nth-child(1),
    .reveal .text-grid > *:nth-child(2) {
        transform: translateY(20px);
    }
    .reveal.in-view .text-grid > *:nth-child(1),
    .reveal.in-view .text-grid > *:nth-child(2) {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > *,
    .reveal .text-grid > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* FLOATING WHATSAPP BUTTON */
.wa-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--pp-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}
.wa-floating:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--pp-cyan);
}
.wa-floating svg {
    flex-shrink: 0;
}

.sec-privacy{
    padding: 3rem 2rem;
}

.sec-privacy .col-text{
    padding-top: 1rem;
}

.sec-privacy .col-text h3{
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* â€” Laptop / Desktop small â€” */
@media (max-width: 1199.98px) {
    .double-columns-container.has-gap > .pb-col {
        flex-basis: 100% !important;
    }
}

/* â€” Tablet landscape â€” */
@media (max-width: 1024px) {
    .pp-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pp-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pp-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pp-content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .pp-patologie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-big-title {
        font-size: 4rem;
    }
}

/* â€” Tablet portrait â€” */
@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .product-detail-sidebar {
        position: static;
    }
}

/* â€” Mobile â€” */
@media (max-width: 768px) {
    .section-container.reverse_mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-row {
        flex-direction: column;
    }
    .form-col {
        flex: 0 0 100% !important;
    }
    .pp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pp-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pp-news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .pp-form-row {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 0rem !important;
    }
    .footer-big-title {
        font-size: 2.5rem;
    }
    .hero-page-gradient .hero-title {
        font-size: 2.5rem;
    }
    .pp-section-title {
        font-size: 2rem;
    }
    .pp-patologie-grid {
        grid-template-columns: 1fr;
    }
    .template-slider-img.cover {
        height: 250px;
    }
    .servizi-list {
        gap: 1rem;
    }
    .servizi-list-card {
        gap: 5px;
        padding: 0;
        border: 1.5px solid #fff;
        border-radius: 12px;
    }
    .servizi-list-card-icon {
        width: auto;
        height: auto;
        padding: 0.5rem;
        overflow: visible;
    }
    .servizi-list-card-icon::before {
        border-radius: 12px;
    }
    .servizi-list-card-icon img {
        width: 4.5rem;
        height: 4.5rem;
    }
    .servizi-list-card-title h4 {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0;
        text-align: left;
    }
}

/* â€” Mobile small â€” */
@media (max-width: 480px) {
    .pp-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .pp-team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr !important;
    }
    .footer-big-title {
        font-size: 2rem;
    }
    .footer-section-pp{
        padding:1.5rem;
    }
    .footer-bottom,
    .footer-big-title{
        padding:1.5rem;
        margin: 0;
        padding-bottom: 0;
    }
    .footer-section-pp p,
    .footer-label,
    .footer-section-pp h4 {
        font-size: 16px;
    }
}

