:root {
    --gold: #C5A059;
    --navy: #0A192F;
    --stone: #F9F7F5;
    --white: #FFFFFF;
    --text: #333333;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Poppins', sans-serif;
}

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

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.5s ease, border-color 0.5s ease;
}

/* Header su sezioni scure (hero, processo, footer) */
#mainHeader.on-dark {
    background: rgba(10, 25, 47, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

#mainHeader.on-dark .logo a {
    color: var(--white);
}

#mainHeader.on-dark .nav-links a {
    color: var(--white);
}

#mainHeader.on-dark .nav-links a:hover {
    color: var(--gold);
}

#mainHeader.on-dark .mobile-menu-toggle span {
    background: var(--white);
}

#mainHeader .logo a,
#mainHeader .nav-links a {
    transition: color 0.4s ease;
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

.logo a {
    text-decoration: none;
    color: var(--navy);
    letter-spacing: 4px;
    font-size: 1.2rem;
    font-weight: 200;
}

.logo-manca { 
    font-weight: 600; 
    color: var(--gold); 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

/* --- Mobile menu hamburger --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    position: relative;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--navy);
    margin: 7px 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                background 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span {
    background: var(--white);
}

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

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

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

body.menu-open {
    overflow: hidden;
}

/* --- Hero Section (Perfettamente Centrata) --- */
.portfolio-hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;      /* Centro Verticale */
    justify-content: center;   /* Centro Orizzontale */
    position: relative;
    text-align: center;
    background: url('IMG_0069.jpg') center/cover no-repeat;
    margin-top: -80px;         /* Compensa l'header */
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.45); /* Velo scuro per leggibilità */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    width: 100%;
    max-width: 900px;
    margin-top: 80px;
    padding-top: 60px;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 60px;
        padding-top: 40px;
    }
}

.hero-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 20px;
}

.portfolio-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 7vw, 5.5rem);
    line-height: 1.15;
    font-weight: 300;
    color: var(--white);
    word-break: normal;
    overflow-wrap: break-word;
}

.portfolio-hero h1 i { 
    font-style: italic; 
}

.portfolio-hero p {
    max-width: 600px;
    margin: 25px auto 0;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

.hero-cta-wrapper {
    margin-top: 45px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-family: inherit;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.hero-cta.primary {
    background: var(--gold);
    color: var(--navy);
}

.hero-cta.primary:hover {
    background: var(--white);
    border-color: var(--white);
}

@media (max-width: 600px) {
    .hero-cta {
        padding: 15px 30px;
        font-size: 0.72rem;
        letter-spacing: 2px;
    }
    .hero-cta-wrapper {
        margin-top: 35px;
        gap: 12px;
    }
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollAnim 2s infinite;
    z-index: 2;
}

@keyframes scrollAnim {
    0%, 100% { transform: translate(-50%, 0) scaleY(0.5); opacity: 0; }
    50% { transform: translate(-50%, 10px) scaleY(1); opacity: 1; }
}

/* --- Storia (About) --- */
.about-section { 
    padding: 120px 10%; 
    background: var(--white); 
}

.about-container {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 80px; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto;
}

.about-image img {
    width: 100%; 
    border-radius: 2px;
    box-shadow: 20px 20px 0px var(--stone);
}

.about-content h2 { 
    font-family: var(--font-serif); 
    font-size: 3rem; 
    color: var(--navy); 
    margin-bottom: 30px; 
    font-weight: 300;
}

.about-content p { 
    margin-bottom: 20px; 
    font-weight: 300; 
    font-size: 1.05rem; 
    color: #555; 
}

/* --- Servizi --- */
.services-section { 
    padding: 120px 10%; 
    background: var(--stone); 
}

.section-intro { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-intro h2 { 
    font-family: var(--font-serif); 
    font-size: 3rem; 
    color: var(--navy); 
    font-weight: 300; 
}

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

.service-card {
    background: var(--white); 
    padding: 50px 40px; 
    transition: 0.4s ease; 
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
}

.service-icon { 
    font-family: var(--font-serif); 
    color: var(--gold); 
    margin-bottom: 20px; 
    display: block; 
    letter-spacing: 2px; 
}

.service-card h3 { 
    font-family: var(--font-serif); 
    font-size: 1.6rem; 
    color: var(--navy); 
    margin-bottom: 15px; 
    font-weight: 400;
}

.service-card p {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

/* --- Il Processo --- */
.process-section {
    padding: 120px 10%;
    background: var(--navy);
    color: var(--white);
}

.process-section .section-intro h2 {
    color: var(--white);
}

.process-section .section-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.process-item {
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    transition: 0.4s ease;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.process-item:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.5);
}

.process-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: 0.6s ease;
    filter: grayscale(20%);
}

.process-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.process-item figcaption {
    padding: 30px 25px 35px;
}

.process-item .step-number {
    font-family: var(--font-serif);
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.process-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 12px;
}

.process-item p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* --- Slider Portfolio --- */
.works-slider-section { 
    padding: 100px 0; 
    background: var(--white); 
}

.slider-container { 
    overflow-x: auto; 
    padding: 40px 5%; 
    scrollbar-width: none; 
}

.slider-container::-webkit-scrollbar { 
    display: none; 
}

.slider-track { 
    display: flex; 
    gap: 30px; 
}

.slide-card {
    flex: 0 0 700px; 
    aspect-ratio: 16/10; 
    position: relative;
    border-radius: 4px; 
    overflow: hidden; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slide-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.8s ease; 
}

.slide-card:hover img { 
    transform: scale(1.05); 
}

.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    background: linear-gradient(to top, rgba(10,25,47,0.85), transparent);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.slide-card:hover .slide-overlay { 
    opacity: 1; 
}

.slide-text h3 { 
    color: white; 
    font-family: var(--font-serif); 
    font-size: 1.8rem; 
}

.slide-text span { 
    color: var(--gold); 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.slider-hint { 
    text-align: center; 
    margin-top: 20px; 
    font-size: 0.7rem; 
    opacity: 0.5; 
    text-transform: uppercase; 
}

.instagram-wrapper { 
    text-align: center; 
    margin-top: 50px; 
}

.instagram-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    font-size: 0.8rem;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Aree Servite --- */
.areas-section {
    padding: 110px 10%;
    background: var(--white);
    text-align: center;
}

.areas-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    font-weight: 300;
    color: #666;
    font-size: 1rem;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 900px;
    margin: 60px auto 0;
}

.area-item {
    padding: 14px 28px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--navy);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
    background: transparent;
    transition: all 0.4s ease;
    cursor: default;
}

.area-item:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .areas-section { padding: 80px 5%; }
    .areas-grid { gap: 10px; margin-top: 40px; }
    .area-item { padding: 11px 18px; font-size: 0.72rem; letter-spacing: 1px; }
}

/* --- Mappa Contatti --- */
.contact-map {
    max-width: 1200px;
    margin: 70px auto 0;
    height: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(35%) contrast(0.95);
    transition: filter 0.6s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

@media (max-width: 600px) {
    .contact-map { height: 320px; margin-top: 50px; }
}

/* --- Contatti --- */
.contact-section { 
    padding: 120px 10%; 
    background: var(--stone); 
}

.contact-container {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 80px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.direct-contact { 
    margin-top: 40px; 
}

.direct-contact p { 
    margin-bottom: 15px; 
    font-size: 0.95rem; 
}

.direct-contact strong {
    color: var(--gold);
    margin-right: 10px;
}

.direct-contact a:hover {
    color: var(--gold) !important;
}

.google-review-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 22px;
    background: var(--white);
    border: 1px solid #e0e0e0;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

.google-review-link svg {
    color: var(--gold);
}

.google-review-link:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.google-review-link:hover svg {
    color: var(--gold);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.elegant-form { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
}

.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.form-group input, .form-group textarea {
    width: 100%; 
    padding: 15px 0; 
    border: none; 
    border-bottom: 1px solid #ddd;
    background: transparent; 
    font-family: inherit; 
    font-size: 0.9rem;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus { 
    border-bottom: 1px solid var(--gold); 
    outline: none; 
}

.submit-btn {
    padding: 18px 40px; 
    background: var(--navy); 
    color: white; 
    border: none;
    text-transform: uppercase; 
    letter-spacing: 2px; 
    cursor: pointer; 
    transition: 0.4s;
}

.submit-btn:hover {
    background: var(--gold);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 300;
    color: #666;
    line-height: 1.5;
}

.form-privacy input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.form-privacy a {
    color: var(--gold);
    text-decoration: underline;
}

.form-status {
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2em;
    transition: 0.3s;
}

.form-status.success {
    color: var(--gold);
}

.form-status.error {
    color: #c0392b;
}

/* --- Footer & WhatsApp --- */
footer { 
    padding: 60px 10%; 
    background: var(--navy); 
    color: white; 
    text-align: center; 
}

.footer-bottom { 
    font-size: 0.65rem; 
    opacity: 0.5; 
    letter-spacing: 1px;
}

.whatsapp-float {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 60px; 
    height: 60px;
    background: #25D366; 
    border-radius: 50%; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
    z-index: 2000;
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
}

/* --- Animazioni on-scroll (reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger per card in grid */
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.24s; }
.process-grid .process-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.process-grid .process-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.process-grid .process-item.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Rispetta la preferenza utente di ridurre le animazioni */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- Lightbox portfolio --- */
.slide-card img {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.96);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 92vw;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.lightbox-image {
    max-width: 92vw;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    transform: scale(0.96);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    text-align: center;
    font-weight: 300;
}

.lightbox-caption span {
    display: block;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    z-index: 1;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

@media (max-width: 600px) {
    .lightbox-close { top: 15px; right: 15px; width: 40px; height: 40px; }
    .lightbox-prev { left: 10px; width: 40px; height: 40px; }
    .lightbox-next { right: 10px; width: 40px; height: 40px; }
    .lightbox-caption { font-size: 1rem; padding: 0 60px; }
}

/* --- Splash screen --- */
#splash {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#splash.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    font-family: var(--font-sans);
    color: var(--white);
    letter-spacing: 8px;
    font-size: 1.6rem;
    font-weight: 200;
    opacity: 0;
    animation: splashFadeIn 0.8s ease 0.1s forwards;
}

.splash-logo span {
    color: var(--gold);
    font-weight: 600;
}

.splash-line {
    position: absolute;
    bottom: 35%;
    height: 1px;
    width: 0;
    background: var(--gold);
    animation: splashLine 1.2s ease 0.4s forwards;
}

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

@keyframes splashLine {
    from { width: 0; }
    to { width: 80px; }
}

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--navy);
    color: var(--white);
    padding: 24px 28px;
    z-index: 3000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-left: 3px solid var(--gold);
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1 1 280px;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.cookie-banner strong {
    color: var(--white);
    font-weight: 400;
}

.cookie-banner a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-banner-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 13px 30px;
    font-family: inherit;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.cookie-banner-btn:hover {
    background: var(--white);
}

body.cookie-banner-shown .whatsapp-float {
    bottom: 120px;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    .cookie-banner p {
        font-size: 0.78rem;
    }
    .cookie-banner-btn {
        width: 100%;
        text-align: center;
    }
    body.cookie-banner-shown .whatsapp-float {
        bottom: 180px;
    }
}
.faq-minimal {
    padding: 120px 10%;
    background: #ffffff;
}

.faq-mini-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-display-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
}

.custom-accordion {
    border-top: 1px solid #e5e5e5;
}

.acc-item {
    border-bottom: 1px solid #e5e5e5;
}

.acc-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 10px;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #1a1a1a;
    transition: all 0.4s ease;
}

.acc-trigger:hover {
    padding-left: 20px; /* Effetto slittamento elegante */
    color: #C5A059;
}

/* Icona + sottile in oro */
.plus-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.plus-icon::before, .plus-icon::after {
    content: '';
    position: absolute;
    background: #C5A059;
    transition: all 0.3s ease;
}

/* Linea orizzontale */
.plus-icon::before {
    width: 100%;
    height: 1px;
    top: 50%;
}

/* Linea verticale */
.plus-icon::after {
    width: 1px;
    height: 100%;
    left: 50%;
}

/* Quando aperto, ruota e diventa un - */
.acc-item.active .plus-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.acc-panel p {
    padding: 0 10px 35px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #777;
    line-height: 1.8;
}

.acc-item.active .acc-trigger {
    color: #C5A059;
}
.faq-minimal { padding: 100px 10%; background: #fff; }
.faq-mini-container { max-width: 800px; margin: 0 auto; }
.faq-display-title { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; text-align: center; margin-bottom: 50px; font-weight: 300; }

.acc-item { border-bottom: 1px solid #eee; }
.acc-trigger { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 30px 0; cursor: pointer; font-family: 'Cormorant Garamond', serif; 
    font-size: 1.3rem; color: #1a1a1a; transition: 0.3s;
}

.plus-icon { position: relative; width: 14px; height: 14px; }
.plus-icon::before, .plus-icon::after { 
    content: ''; position: absolute; background: #C5A059; transition: 0.3s; 
}
.plus-icon::before { width: 100%; height: 1px; top: 50%; }
.plus-icon::after { width: 1px; height: 100%; left: 50%; }

/* Rotazione icona */
.acc-item.active .plus-icon { transform: rotate(45deg); }

/* RISOLUZIONE PROBLEMA TESTO INVISIBILE */
.acc-panel { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.5s ease-in-out; 
}

.acc-item.active .acc-panel { 
    max-height: 500px; /* Valore alto per far leggere tutto */
}

.acc-content { padding-bottom: 30px; }
.acc-content p { 
    font-family: 'Poppins', sans-serif; font-size: 1rem; 
    color: #666; line-height: 1.7; font-weight: 300; margin: 0;
}
/* --- Responsive --- */
@media (max-width: 992px) {
    .about-container, .contact-container { 
        grid-template-columns: 1fr; 
        gap: 60px; 
    }
    .about-image { 
        order: 2; 
    }
    .slide-card { 
        flex: 0 0 85vw; 
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
        margin: 0;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links a {
        color: var(--white);
        font-size: 1.15rem;
        letter-spacing: 4px;
    }
    .nav-links a:hover {
        color: var(--gold);
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .faq-section { padding: 60px 5%; }
    .faq-grid { gap: 30px; }
    .about-section,
    .services-section,
    .contact-section,
    .faq-minimal {
        padding: 80px 5%;
    }
    .about-content h2,
    .section-intro h2,
    .faq-display-title {
        font-size: 2.2rem;
    }
}

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