/* Font personalizzati */
@font-face {
    font-family: 'AppleGaramond';
    src: url('../font/AppleGaramond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-Light';
    src: url('../font/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset e variabili */
:root {
    /* Colori principali - oro tenue/champagne e blu indaco */
    --primary-color: #ffffff;
    --secondary-color: #1a1a2e; /* Blu notte profondo */
    --accent-color: #d4af37; /* Oro tenue/champagne */
    --accent-color-dark: #b8941e; /* Oro scuro */
    --accent-color-soft: rgba(212, 175, 55, 0.15); /* Oro morbido */
    --accent-secondary: #9fb8ad; /* Verde salvia chiaro */
    --accent-secondary-dark: #7a9a8f; /* Verde salvia scuro */
    --indigo-color: #4a5568; /* Indaco per profondità */
    --indigo-light: #718096;
    
    /* Colori testo */
    --text-color: #1a1a2e;
    --text-light: #4a5568;
    --text-muted: #718096;
    
    /* Colori positivi/negativi */
    --positive-color: #22c55e;
    --negative-color: #cc2f2f;
    
    /* Font */
    --font-title: 'AppleGaramond', serif;
    --font-subtitle: 'AppleGaramond', serif;
    --font-body: 'Lato-Light', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --content-max: 1200px;
    --section-x: clamp(1rem, 3.5vw, 2rem);
    --section-y: clamp(2.2rem, 5vw, 3.2rem);
    
    /* Animazioni */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--accent-color);
    color: var(--secondary-color);
}

::-webkit-selection {
    background: var(--accent-color);
    color: var(--secondary-color);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-weight: 300;
    scroll-behavior: smooth;
}

/* Animazioni globali */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Elementi con animazione al scroll */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-on-scroll.slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-on-scroll.slide-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Disabilita selezione su elementi interattivi */
button, .carousel-control, .cta-button, .social-link, a {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

a, button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);

    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icons {
    display: flex;
    gap: 0.5rem;
}

.contact-icons a {
    color: #ffffff;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: color 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 1001;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.contact-icons a:hover {
    color: var(--accent-color);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.5s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }
.nav-menu li:nth-child(6) { animation-delay: 0.6s; }

.nav-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.4s ease, left 0.4s ease;
    transform: translateX(-50%);
}

.nav-menu li a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-menu li a:hover::after {
    width: 100%;
    left: 50%;
}

.nav-menu li a:active {
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1000;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all var(--transition-normal);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active {
    transform: rotate(180deg);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding-top: 120px;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    overflow: hidden;
    border-radius: 0 0 140px 140px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}



.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content > * {
    position: relative;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 2rem;
    width: 100%;
    max-width: 700px;
}

.hero-buttons .cta-button {
    position: relative;
    z-index: 10;
    transform: translateY(0) !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    min-width: 220px;
    max-width: 320px;
    text-align: center;
    white-space: nowrap;
    padding: clamp(0.7rem, 1.8vw, 1.2rem) clamp(1.5rem, 3vw, 2.5rem);
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
}

.cta-button-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--indigo-color) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.3);
}

.cta-button-secondary:hover {
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.5);
    background: linear-gradient(135deg, var(--indigo-color) 0%, var(--secondary-color) 100%);
}

/* Hero CSEN Badge */
.hero-logo-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
    position: relative;
}

.hero-csen-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 10px rgba(26, 26, 46, 0.2));
    transition: transform var(--transition-normal);
}

.hero-csen-logo:hover {
    transform: scale(1.1);
}

.hero-accreditation {
    font-family: var(--font-subtitle);
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(159, 184, 173, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--accent-color);
}

/* Hero Content Elements */
.hero-logo-badge {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 0 1.2rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 8px rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    position: relative;
}

/* Stile per la "r" del marchio registrato - piccola in alto */
.trademark-r {
    font-size: 0.4em;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.5em;
    font-weight: normal;
}

.hero-subtitle {
    font-family: var(--font-subtitle);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-light);
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 1.2rem 0;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-badge {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--secondary-color);
    font-weight: bolder;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(159, 184, 173, 0.1) 100%);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--accent-color);
    display: inline-block;
    margin: 0 0 1.5rem 0;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    text-transform: none;
    letter-spacing: 0.03em;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-intro {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 400;
    color: var(--text-color);
    margin: 0 0 2rem 0;
    line-height: 1.8;
    max-width: 850px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.hero-intro strong {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1em;
}

/* CTA Button */
.cta-button {
    cursor: pointer;
    display: inline-block;
    padding: clamp(0.9rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    border-radius: 50px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--accent-color-dark) 0%, var(--accent-color) 100%);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-button-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.cta-button-whatsapp:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Main Content Sections */
main {
    padding-top: 2rem;
}

section {
    padding: var(--section-y) var(--section-x);
    text-align: center;
    background: #ffffff;
}

section > *:not(.hero-background):not(video) {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

section h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 120px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

section p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Problema Section */
.problem {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: var(--content-max);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
    border: 2px solid var(--accent-color-soft);
    position: relative;
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.problem > * {
    position: relative;
    z-index: 1;
}

.problem-content {
    max-width: 900px;
    margin: 0 auto;
}

.problem h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.problem p {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.problem strong {
    color: var(--accent-color);
}

.problem-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-type-card {
    background: #000000;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--accent-color);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.problem-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.problem-type-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.problem-type-card p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0;
}

.problem-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.problem-type-card ul li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    font-size: 1rem;
}

.problem-type-card ul li:not(:last-child) {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Soluzione Section */
.solution {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.solution::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 1;
}

.solution-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.solution-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.solution-philosophy {
    background: #000000;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    margin: 3rem 0;
    text-align: left;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.solution-philosophy h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.solution-philosophy p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

.solution-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: #000000;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
    border: 2px solid var(--accent-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.benefit-card:nth-child(1)::before { 
    background-image: url('../images/1.jpg'); 
}
.benefit-card:nth-child(2)::before { 
    background-image: url('../images/2.jpg'); 
}
.benefit-card:nth-child(3)::before { 
    background-image: url('../images/3.jpg'); 
}
.benefit-card:nth-child(4)::before { 
    background-image: url('../images/4.jpg'); 
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

.benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    border-color: var(--accent-color);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.benefit-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Product Section */
.product {
    background: #ffffff;
    padding: 4rem 2rem;
    position: relative;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.product-content {
    max-width: var(--content-max);
    margin: 0 auto;
}

.product h2 {
    color: var(--secondary-color);
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-top: 3rem;
    align-items: start;
}

.product-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plena-logo-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.2));
    transition: transform var(--transition-normal);
    animation: fadeIn 1s ease forwards;
}

.plena-logo-image:hover {
    transform: scale(1.05);
}

.product-info {
    text-align: left;
}

.product-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.product-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    border-left: 3px solid var(--accent-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item div {
    flex: 1;
    color: var(--text-light);
}

.feature-item strong {
    color: var(--accent-color);
    font-weight: 600;
}

.product-techniques {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.product-techniques h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-techniques ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-techniques li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
}

.product-techniques li:last-child {
    border-bottom: none;
}

.product-techniques strong {
    color: var(--accent-color);
}

/* Founder Bio Section */
.founder-bio {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.founder-image-container {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-spring);
}

.founder-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.founder-image-container:hover .founder-image {
    transform: scale(1.1);
}

.founder-text {
    flex: 1;
}

.founder-text h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.founder-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.founder-text p strong {
    color: var(--accent-color);
    font-weight: 600;
}

.founder-signature {
    font-style: italic !important;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    margin-top: 2rem !important;
}

.founder-signature strong {
    color: var(--secondary-color) !important;
    font-style: normal !important;
    display: block;
    margin-bottom: 0.5rem;
}

/* Founder Video Preview */
.founder-video {
    margin-top: 2.5rem;
    max-width: 860px;
}

.founder-video-label {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.founder-video-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--secondary-color);
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 45px rgba(26, 26, 46, 0.35);
    transition: transform var(--transition-spring), box-shadow var(--transition-spring);
}

.founder-video-preview:hover,
.founder-video-preview:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(212, 175, 55, 0.35);
    outline: none;
}

.founder-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.founder-video-preview:hover .founder-video-thumb {
    transform: scale(1.04);
}

.founder-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 26, 46, 0.15) 0%,
        rgba(26, 26, 46, 0.55) 55%,
        rgba(26, 26, 46, 0.75) 100%
    );
    pointer-events: none;
}

.founder-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: var(--secondary-color);
    font-size: 1.35rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
    transition: transform var(--transition-spring), box-shadow var(--transition-spring);
}

.founder-video-play i {
    margin-left: 4px;
}

.founder-video-preview:hover .founder-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 14px 36px rgba(212, 175, 55, 0.55);
}

.founder-video.is-playing .founder-video-preview {
    display: none;
}

.founder-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(26, 26, 46, 0.35);
}

.founder-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.turnstile-wrap {
    display: flex;
    justify-content: flex-start;
    min-height: 65px;
}

.certificate-item:nth-child(3) {
    animation-delay: 0.9s;
}

.certificate-item:nth-child(4) {
    animation-delay: 1.1s;
}

.founder-signature em {
    color: var(--text-light) !important;
    font-size: 0.95rem;
}

.product-meaning {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.product-meaning h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.product-meaning p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Massage Types Section */
.massage-types {
    background: #ffffff;
    padding: 4rem 2rem;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}

.massage-types h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.massage-types .section-intro {
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 3rem auto 0;
    gap: 2rem;
    position: relative;
    overflow: visible;
}

.type-card {
    background: #000000;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    transition: all var(--transition-spring);
    border: 2px solid var(--accent-color);
    text-align: left;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: scaleIn 0.6s ease forwards;
    overflow: hidden;
}

/* Overlay scuro per leggibilità del testo quando c'è immagine di background */
.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
    border-radius: 20px;
    transition: all var(--transition-normal);
}

/* Solo le card con background image hanno l'overlay più leggero */
.type-card[data-course="anticellulite"]::before,
.type-card[data-course="bamboo"]::before,
.type-card[data-course="californiano"]::before,
.type-card[data-course="connettivale"]::before,
.type-card[data-course="linfodrenante"]::before,
.type-card[data-course="svedese"]::before,
.type-card[data-course="decontratturante"]::before {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* Contenuto della card sopra l'overlay */
.type-card > * {
    position: relative;
    z-index: 1;
}

/* Background images per i corsi con immagini disponibili */
.type-card[data-course="anticellulite"] {
    background-image: url('../images/anticellulite.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="bamboo"] {
    background-image: url('../images/bamboo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="californiano"] {
    background-image: url('../images/californiano.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="connettivale"] {
    background-image: url('../images/connettivale.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="linfodrenante"] {
    background-image: url('../images/linfodrenante.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="svedese"] {
    background-image: url('../images/svedese.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="decontratturante"] {
    background-image: url('../images/decontratturante.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="kobido"] {
    background-image: url('../images/kobido.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="diploma-1"] {
    background-image: url('../images/1livello.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="diploma-2"] {
    background-image: url('../images/2livello.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="top"] {
    background-image: url('../images/plantare.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="miofasciale"] {
    background-image: url('../images/miofasciale.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="aromaterapia"] {
    background-image: url('../images/oli.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="ayurvedico"] {
    background-image: url('../images/massaggio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card[data-course="plena-alta"] {
    background-image: url('../images/plenaalta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.type-card:nth-child(1) { animation-delay: 0.1s; }
.type-card:nth-child(2) { animation-delay: 0.2s; }
.type-card:nth-child(3) { animation-delay: 0.3s; }
.type-card:nth-child(4) { animation-delay: 0.4s; }
.type-card:nth-child(5) { animation-delay: 0.5s; }
.type-card:nth-child(6) { animation-delay: 0.6s; }

.type-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
    border-color: var(--accent-color);
}

/* Hover per card senza immagine */
.type-card:not([data-course="plena-alta"]):not([data-course="ayurvedico"]):not([data-course="aromaterapia"]):not([data-course="top"]):not([data-course="miofasciale"]):not([data-course="diploma-1"]):not([data-course="diploma-2"]):not([data-course="anticellulite"]):not([data-course="bamboo"]):not([data-course="californiano"]):not([data-course="connettivale"]):not([data-course="linfodrenante"]):not([data-course="svedese"]):not([data-course="decontratturante"]):not([data-course="kobido"]):hover {
    background: #252525;
}

/* Hover per card con immagine - leggermente più leggero overlay */
.type-card[data-course="anticellulite"]:hover::before,
.type-card[data-course="bamboo"]:hover::before,
.type-card[data-course="californiano"]:hover::before,
.type-card[data-course="connettivale"]:hover::before,
.type-card[data-course="linfodrenante"]:hover::before,
.type-card[data-course="svedese"]:hover::before,

.type-card[data-course="plena-alta"]:hover::before,
.type-card[data-course="ayurvedico"]:hover::before,
.type-card[data-course="aromaterapia"]:hover::before,
.type-card[data-course="top"]:hover::before,
.type-card[data-course="miofasciale"]:hover::before,
.type-card[data-course="diploma-2"]:hover::before,
.type-card[data-course="diploma-1"]:hover::before,
.type-card[data-course="kobido"]:hover::before,

.type-card[data-course="decontratturante"]:hover::before {
    background: rgba(0, 0, 0, 0.45);
}

.type-card:active {
    transform: translateY(-8px) scale(1.01);
}

.type-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.type-icon i {
    font-size: 2rem;
    color: white;
}

.type-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.type-card > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 1rem 0;
    font-family: var(--font-title);
}

/* Badge prezzo nella card corso (parte iniziale) */
.course-price-badge {
    display: block;
    padding: 0.5rem 1rem;
    background: #000000;
    border: 2px solid var(--accent-color);
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    margin: 1rem 0 1rem auto;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.course-price-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-color-dark);
}

.course-dates {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.course-dates strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.course-dates ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.course-dates li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.course-dates li::before {
    content: '📅';
    position: absolute;
    left: 0;
}

.type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-card li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.type-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Course Toggle Button */
.course-toggle-btn {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-spring);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    width: 100%;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.course-toggle-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.course-toggle-btn:hover::after {
    width: 250px;
    height: 250px;
}

.course-toggle-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--accent-color-dark) 0%, var(--accent-color) 100%);
}

.course-toggle-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Course Details Collapse */
.course-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    width: 100%;
    margin-top: 1.5rem;
    background: #2a2a2a;
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 20px 20px;
    padding: 0;
    opacity: 0;
}

.type-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.type-card.has-active-details {
    border-color: var(--accent-color);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3);
}

.course-details.active {
    max-height: 2000px;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease 0.2s;
    padding: 0;
    opacity: 1;
    animation: fadeInUp 0.5s ease forwards;
}

.course-details-content {
    padding: 0;
}

.course-details-content h4 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    padding: 0 2.5rem;
    padding-top: 2.5rem;
}

.course-details-content h5 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    padding: 0 2.5rem;
}

.course-details-content ul {
    list-style: none;
    padding: 0 2.5rem;
    margin: 1rem 0;
}

.course-details-content ul li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.course-details-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.course-details-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding: 0 2.5rem;
}

/* Blocco date corso con icona calendario */
.course-dates-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1.5rem 2.5rem 1.25rem;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.course-dates-block i.fa-calendar-days {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 1.25rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.course-dates-content {
    flex: 1;
    min-width: 0;
    font-family: var(--font-body);
}

.course-dates-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.35rem;
}

.course-dates-list {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
}

.course-details-content .course-cta-btn {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    margin-bottom: 2.5rem;
    display: inline-block;
}

.course-cta-btn {
    cursor: pointer;
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--indigo-color) 100%);
    color: white;
    text-decoration: none;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all var(--transition-spring);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.3);
    white-space: nowrap;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.course-cta-btn:hover::before {
    left: 100%;
}

.course-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(26, 26, 46, 0.5);
}

.course-cta-btn:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* Offer Section */
.offer {
    background: #ffffff;
    color: var(--text-color);
    padding: 4rem 2rem;
    position: relative;
}

.offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 2;
}

.offer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.06;
    z-index: 0;
}

.offer h2 {
    color: var(--secondary-color);
}

.offer h2::after {
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.offer-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.offer-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.offer-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-item {
    background: #000000;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.highlight-item:nth-child(1) { animation-delay: 0.1s; }
.highlight-item:nth-child(2) { animation-delay: 0.2s; }
.highlight-item:nth-child(3) { animation-delay: 0.3s; }
.highlight-item:nth-child(4) { animation-delay: 0.4s; }

.highlight-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.highlight-item h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Certificates Section */
.certificates-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.certificates-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.certificates-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.certificate-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-spring);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: scaleIn 0.6s ease forwards;
}

.certificate-item:nth-child(1) {
    animation-delay: 0.5s;
}

.certificate-item:nth-child(2) {
    animation-delay: 0.7s;
}

.certificate-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--accent-color);
}

.certificate-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform var(--transition-normal);
}

.certificate-item:hover .certificate-image {
    transform: scale(1.05);
}

.certificates-text {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.certificates-text strong {
    color: var(--accent-color);
}

.offer-cta {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 2rem;
}

.offer-training-info {
    background: #000000;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    margin: 3rem 0;
    text-align: left;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.offer-training-info h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.offer-training-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem 2rem;
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
    text-align: left;
}

.faq details {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid var(--accent-color-soft);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.05);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.5s ease forwards;
}

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

.faq details:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.faq summary {
    cursor: pointer;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 400;
    outline: none;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details[open] {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, #ffffff 100%);
}

.faq details p {
    margin-top: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 0;
}

/* CTA Section */
.cta {
    background: #ffffff;
    padding: 4rem 2rem;
    border-radius: 3rem;
    margin: 3rem auto;
    max-width: 95vw;
    width: 100%;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.15);
}

.cta h2 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1.1rem 1.4rem;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    background: #ffffff;
    color: #000000;
    transition: all var(--transition-normal);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 4px 12px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.4rem center;
    padding-right: 3rem;
}

.form-group select option {
    padding: 0.5rem;
    background: #ffffff;
    color: #000000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
    color: #000000;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Radio Group per domande Sì/No */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all var(--transition-normal);
    background: #ffffff;
}

.radio-label:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
}

.radio-label input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--accent-color);
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.1);
}

.radio-label span {
    color: #000000;
    font-size: 0.95rem;
    user-select: none;
}

.policy-link,
.learn-more-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.policy-link:hover,
.learn-more-link:hover {
    color: var(--accent-color-dark);
    text-decoration: underline;
}

.form-submit-btn {
    width: 100%;
    font-family: var(--font-subtitle);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.3rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: #000000;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-spring);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.form-submit-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.form-submit-btn i {
    margin-right: 0.5rem;
}

/* Policy Modal */
.policy-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.policy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 700px;
    max-height: 80vh;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

.policy-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.policy-modal-close:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

.policy-modal-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 2rem 2rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.policy-content {
    padding: 0 2rem 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 150px);
}

.policy-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.policy-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonials-track {
    position: relative;
    flex: 1;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(26, 26, 46, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin: 0 auto;
    transition: all var(--transition-normal);
}

.testimonial-card.active .testimonial-content {
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
}

.testimonial-content .stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    text-align: center;
}

.testimonial-author {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-subtitle);
}

.testimonial-author span {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.testimonial-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-spring);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.testimonial-btn:active {
    transform: scale(0.95);
}

.testimonial-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.testimonials-dots span.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 5px;
}

/* Course Modal */
.course-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.course-modal.active {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    animation: fadeIn 0.3s ease;
}

.course-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
    overflow: hidden;
    margin: 2rem auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.course-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.course-modal-close:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

.course-modal-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--secondary-color);
    margin: 2rem 2rem 1rem;
    padding-right: 4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
}

.course-modal-intro {
    padding: 0 2rem 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.course-form {
    padding: 0 2rem 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section-title {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--accent-color);
}

.form-section-title h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-section-title p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.courses-cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-color);
}

/* Sezione Date Corsi */
.course-dates-section {
    background: #ffffff;
    padding: 4rem 2rem;
    position: relative;
}

.course-dates-section h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.course-dates-section .section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.date-card {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
    transition: all var(--transition-normal);
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.25);
}

.date-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.date-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.date-list p {
    color: #000000;
    font-size: 1rem;
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.date-list p:last-child {
    border-bottom: none;
}

.date-list p strong {
    color: var(--accent-color);
    font-weight: 600;
}

.offer-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Toast Message */
.toast-message {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #000000;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    border: 2px solid var(--accent-color);
    z-index: 3000;
    max-width: 400px;
    display: none;
    animation: slideInUp 0.5s ease;
    font-family: var(--font-body);
}

.toast-message.active {
    display: block;
}

.toast-message.success {
    border-color: #22c55e;
}

.toast-message.error {
    border-color: #ef4444;
}

.toast-message p {
    margin: 0;
    color: white;
    line-height: 1.6;
}

.toast-message i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #ffffff;
    color: var(--text-color);
    padding: 3rem 2rem 1.5rem;
    border-top: 4px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--content-max);
    margin: 0 auto;
    padding-bottom: 2rem;
}

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

.footer-section h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.footer-map-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    transform: translateX(5px);
}

/* Footer CSEN Badge */
.footer-csen-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all var(--transition-normal);
            flex-direction: column;
        text-align: center;
}

.footer-csen-badge:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-csen-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.footer-csen-badge:hover .footer-csen-logo {
    transform: scale(1.1);
}

.footer-csen-badge span {
    font-family: var(--font-subtitle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 2rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .plena-logo-image {
        max-width: 300px;
    }
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        padding: 1.5rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all var(--transition-spring);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        margin-top: 1rem;
        max-height: 500px;
        animation: slideInDown 0.5s ease forwards;
        border-radius: 0px 0px 190px 60px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        align-items: flex-start;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        opacity: 0;
        animation: slideInLeft 0.4s ease forwards;
    }
    
    .main-nav.active .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .main-nav.active .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .main-nav.active .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .main-nav.active .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .main-nav.active .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .main-nav.active .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        transition: all var(--transition-normal);
        color: #ffffff;
    }
    
    .nav-menu li a:hover {
        transform: translateX(10px);
        color: var(--accent-color);
    }
    
    .nav-menu li a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-right {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: none;
        padding-top: 80px;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 3rem;
    }
    
    .hero::before {
        opacity: 0.3 !important;
        filter: contrast(1.05) brightness(1.03);
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
        height: 100%;
        justify-content: center;
        padding-bottom: 2rem;
    }
    
    .main-nav {
        top: 65px;
    }
    
    .course-details-content h4,
    .course-details-content h5,
    .course-details-content p,
    .course-details-content ul {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .course-details-content h4 {
        padding-top: 2rem;
    }
    
    .course-dates-block {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }
    
    .course-dates-block i.fa-calendar-days {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .course-dates-list {
        font-size: 0.95rem;
    }
    
    .course-details-content .course-cta-btn {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .types-grid {
        overflow: visible;
    }
    
    .massage-types {
        padding: 3rem 1rem;
        overflow-x: hidden;
    }
    
    .hero-logo-badge {
        margin-bottom: 0.8rem;
    }
    
    .hero-csen-logo {
        width: 50px;
    }
    
    .hero-accreditation {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        letter-spacing: 0.05em;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-intro {
        font-size: 0.85rem;
        margin-bottom: 0rem;
        line-height: 1.5;
    }
    
    .hero-intro br {
        display: none;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certificates-title {
        font-size: 1.3rem;
    }
    
    .certificates-subtitle {
        font-size: 0.95rem;
    }
    
    .certificates-text {
        font-size: 0.9rem;
    }
    
    .footer-csen-badge {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
    
    .footer-csen-logo {
        width: 40px;
    }
    
    .footer-csen-badge span {
        font-size: 0.75rem;
    }
    
    .solution-benefits,
    .offer-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .cta {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
        border-radius: 16px;
        overflow-x: hidden;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin: 1rem auto;
    }
    
    .animate-on-scroll.slide-left {
        animation: fadeIn 0.8s ease forwards !important;
    }
    
    .founder-bio {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
    }

    .founder-video {
        max-width: 100%;
    }

    .founder-video-play {
        width: 64px;
        height: 64px;
        font-size: 1.1rem;
    }
    
    .founder-image-container {
        width: 200px;
        height: 200px;
    }
    
    .founder-text {
        text-align: center;
    }
    
    .founder-text h3 {
        font-size: 1.5rem;
    }
    
    .founder-text p {
        font-size: 0.95rem;
    }
    
    .testimonials {
        padding: 2rem 1rem;
    }
    
    .testimonials-container {
        gap: 0;
        margin: 0 auto 1.5rem;
    }
    
    .testimonials-container .testimonial-btn {
        display: none !important;
    }
    
    .testimonials-track {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .hero-buttons .cta-button {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        width: auto;
        align-self: center;
    }
    
    @media (max-width: 600px) {
        .hero {
            padding-bottom: 2.5rem;
        }
        
        .hero-content {
            padding-bottom: 1.5rem;
        }
        
        .hero-buttons {
            flex-direction: column;
            align-items: stretch;
            margin-top: 0.8rem;
        }
        
        .hero-buttons .cta-button {
            width: 90%;
            max-width: 90%;
        }
    }
    
    .course-modal.active {
        padding: 1rem;
        align-items: flex-start;
    }
    
    .course-modal-content {
        max-height: 95vh;
        margin: 1rem auto;
        border-radius: 16px;
    }
    
    .course-modal-close {
        right: 1rem;
        top: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
        z-index: 15;
    }
    
    .course-modal-content h3 {
        font-size: 1.5rem;
        margin: 1.5rem 1rem 1rem;
        padding-right: 3.5rem;
        padding-bottom: 0.8rem;
    }
    
    .course-modal-intro {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .course-form {
        max-height: calc(95vh - 200px);
        padding: 0 1rem 1.5rem;
        gap: 1rem;
    }
    
    .form-submit-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 0.9rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
    
    .offer-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .offer-cta-buttons .cta-button {
        width: 100%;
    }
    
    .toast-message {
        right: 1rem;
        left: 1rem;
        max-width: none;
        bottom: 1rem;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 80px;
        width: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .problem,
    .product-meaning {
        padding: 1.5rem;
    }
    
    .hero::before {
        opacity: 0.35 !important;
        filter: contrast(1.1) brightness(1.05);
    }
}
