/* ═══════════════════════════════════════════════════════════════════
   FC Luxury — Stile Frontend Principale
   Design: Dark Luxury Gold Theme
═══════════════════════════════════════════════════════════════════ */

/* ─── VARIABILI ─────────────────────────────────────────────────── */
:root {
    --gold:        #c9a84c;
    --gold-light:  #e8d48b;
    --gold-dark:   #a68a3e;
    --black:       #0a0a0a;
    --dark:        #1a1a1a;
    --dark2:       #121212;
    --white:       #f5f0e8;
    --gray:        #2a2a2a;
    --text-muted:  rgba(245,240,232,0.5);
    --ff-serif:    'Playfair Display', Georgia, serif;
    --ff-sans:     'Raleway', sans-serif;
    --transition:  0.35s ease;
    --shadow-gold: 0 8px 40px rgba(201,168,76,0.18);
    --radius:      8px;
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--ff-sans);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5 { font-family: var(--ff-serif); line-height: 1.2; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ─── NAVBAR ─────────────────────────────────────────────────────── */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    padding: .8rem 5%;
    box-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.logo {
    font-family: var(--ff-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex; flex-direction: column; line-height: 1;
    gap: .15rem;
}
.logo span {
    font-size: .6rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    font-family: var(--ff-sans);
    font-weight: 300;
    text-transform: uppercase;
}
.logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}
.nav-menu { display: flex; gap: 2.5rem; align-items: center; }
.nav-menu li a {
    font-size: .78rem; font-weight: 500; letter-spacing: 2px;
    text-transform: uppercase; color: var(--white);
    position: relative; padding-bottom: 3px;
}
.nav-menu li a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width var(--transition);
}
.nav-menu li a:hover, .nav-menu li a:focus { color: var(--gold); }
.nav-menu li a:hover::after, .nav-menu li a:focus::after { width: 100%; }
.nav-cta {
    background: transparent; border: 1px solid var(--gold) !important;
    padding: .5rem 1.2rem !important; border-radius: 3px;
    color: var(--gold) !important;
    transition: all var(--transition) !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; width: 28px;
}
.nav-hamburger span {
    display: block; height: 2px; background: var(--white);
    transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
    position: relative; height: 100vh; min-height: 650px;
    display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.8) 100%);
}
.hero-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 860px; padding: 0 2rem;
}
.hero-badge {
    display: inline-block; padding: .4rem 1.4rem;
    border: 1px solid var(--gold); border-radius: 2px;
    font-size: .65rem; font-weight: 600; letter-spacing: 4px;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 2rem;
    animation: fadeInDown .8s ease forwards;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700;
    line-height: 1.1; margin-bottom: 1.5rem;
    animation: fadeInUp .9s ease .2s both;
}
.hero h1 .gold, .gold { color: var(--gold); font-style: italic; }
.hero p {
    font-size: 1.1rem; font-weight: 300; max-width: 600px;
    margin: 0 auto 2.5rem; color: rgba(245,240,232,0.75);
    animation: fadeInUp .9s ease .4s both;
}
.hero-buttons {
    display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp .9s ease .6s both;
}
.btn-gold {
    padding: .8rem 2.2rem; background: var(--gold);
    color: var(--black); font-size: .75rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    border-radius: 3px; transition: all var(--transition);
    display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); color: var(--black); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline {
    padding: .8rem 2.2rem; border: 1px solid var(--white);
    color: var(--white); font-size: .75rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    border-radius: 3px; transition: all var(--transition);
    display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite; color: var(--gold); font-size: 1.1rem;
}

/* ─── GOLD LINE ──────────────────────────────────────────────────── */
.gold-line {
    width: 60px; height: 2px; background: var(--gold);
    margin: 0 auto 1.5rem;
}

/* ─── SECTION HEADER ─────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.section-header p { font-size: 1rem; color: var(--text-muted); }

/* ─── CHI SIAMO ──────────────────────────────────────────────────── */
.chi-siamo { padding: 100px 5%; background: var(--dark2); }
.chi-siamo-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-deco-frame {
    position: relative; width: 100%; aspect-ratio: 4/3;
    background: var(--gray); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.img-deco-frame::before {
    content: ''; position: absolute; inset: -16px; top: auto; bottom: -16px;
    right: -16px; width: calc(100% - 30px); height: calc(100% - 30px);
    border: 2px solid var(--gold); border-radius: 4px;
    pointer-events: none; z-index: 0;
}
.img-deco-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.img-placeholder-icon { font-size: 4rem; color: var(--gold); opacity: .3; }
.chi-siamo-text h2 { font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 1.5rem; }
.chi-siamo-text h2 span { color: var(--gold); }
.content-text { color: rgba(245,240,232,0.7); line-height: 1.9; }
.content-text p { margin-bottom: 1rem; }
.chi-siamo-stats { display: flex; gap: 3rem; margin-top: 3rem; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--ff-serif); font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: .4rem; display: block; }

/* ─── SERVIZI ────────────────────────────────────────────────────── */
.servizi { padding: 100px 5%; background: var(--dark); }
.servizi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.servizio-card {
    background: var(--gray); border-radius: 6px; padding: 2.5rem 2rem;
    text-align: center; transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(201,168,76,.06);
    text-decoration: none; color: inherit; display: block; position: relative;
}
.servizio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); border-color: rgba(201,168,76,.3); }
.servizio-card > i { font-size: 2.2rem; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.servizio-card h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.servizio-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: 0; }
.svc-card-cta {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold); font-weight: 600; margin-top: 1.2rem;
    opacity: 0; transform: translateY(4px);
    transition: opacity .25s, transform .25s;
}
.servizio-card:hover .svc-card-cta { opacity: 1; transform: translateY(0); }

/* ─── PACCHETTI ──────────────────────────────────────────────────── */
.pacchetti { padding: 100px 5%; background: var(--dark2); }
.pacchetti-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.pack-card {
    background: var(--gray); border-radius: 6px; padding: 2.5rem;
    position: relative; overflow: hidden;
    border: 1px solid rgba(201,168,76,.08);
    transition: transform var(--transition), box-shadow var(--transition);
}
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.pack-card.featured { border-color: var(--gold); background: linear-gradient(160deg, #1e1a0e 0%, var(--gray) 100%); }
.pack-ribbon {
    position: absolute; top: 1rem; right: -1rem;
    background: var(--gold); color: var(--black); font-size: .6rem;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: .3rem 1.8rem .3rem 1rem; transform: rotate(15deg);
}
.pack-label { font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.pack-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pack-price { font-family: var(--ff-serif); font-size: 2.4rem; color: var(--gold); font-weight: 700; margin-bottom: 1.5rem; }
.pack-price small { font-size: .75rem; color: var(--text-muted); font-family: var(--ff-sans); font-weight: 400; }
.pack-features { margin-bottom: 2rem; }
.pack-features li { padding: .5rem 0; font-size: .85rem; color: rgba(245,240,232,.75); border-bottom: 1px solid rgba(255,255,255,.05); display: flex; align-items: center; gap: .7rem; }
.pack-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ─── VANTAGGI ───────────────────────────────────────────────────── */
.vantaggi { padding: 100px 5%; background: var(--dark); }
.vantaggi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.vantaggio { text-align: center; padding: 2rem; }
.icon-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(201,168,76,.12); display: flex; align-items: center;
    justify-content: center; margin: 0 auto 1.5rem;
    border: 1px solid rgba(201,168,76,.25);
    transition: background var(--transition), border-color var(--transition);
}
.vantaggio:hover .icon-circle { background: var(--gold); border-color: var(--gold); }
.vantaggio:hover .icon-circle i { color: var(--black); }
.icon-circle i { font-size: 1.4rem; color: var(--gold); transition: color var(--transition); }
.vantaggio h4 { font-size: 1rem; margin-bottom: .6rem; }
.vantaggio p { font-size: .83rem; color: var(--text-muted); }

/* ─── SU MISURA ──────────────────────────────────────────────────── */
.su-misura { padding: 100px 5%; background: var(--dark2); }
.su-misura-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.img-deco-frame.alt::before { left: -16px; right: auto; }
.su-misura-text h2 { font-size: clamp(2rem,3.5vw,2.8rem); margin-bottom: 1.5rem; }
.su-misura-text h2 span { color: var(--gold); }

/* ─── PORTFOLIO ──────────────────────────────────────────────────── */
.portfolio { padding: 100px 5%; background: var(--dark); }
.portfolio-carousel { max-width: 1200px; margin: 0 auto; }
.portfolio-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.portfolio-card {
    cursor: pointer; border-radius: 6px; overflow: hidden;
    position: relative; transition: transform var(--transition);
    border: 1px solid rgba(201,168,76,.08);
    background: var(--gray);
}
.portfolio-card:hover { transform: translateY(-8px); }
.portfolio-card:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.portfolio-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.portfolio-card-img picture, .portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.06); }
.placeholder-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--gray); color: var(--gold); opacity: .3; font-size: 3rem; }
.card-overlay {
    position: absolute; inset: 0; background: rgba(10,10,10,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.portfolio-card:hover .card-overlay, .portfolio-card:focus .card-overlay { opacity: 1; }
.card-overlay span { font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.portfolio-card-info { padding: 1.2rem; }
.portfolio-card-info h4 { font-family: var(--ff-serif); font-size: 1rem; margin-bottom: .3rem; }
.portfolio-card-info p { font-size: .75rem; color: var(--text-muted); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,168,76,.4); color: var(--gold); font-size: 1rem; transition: all var(--transition); display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.carousel-dots { display: flex; gap: .5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(201,168,76,.25); cursor: pointer; transition: background var(--transition); }
.dot.active { background: var(--gold); }

/* ─── CONTATTI ───────────────────────────────────────────────────── */
.contatti { padding: 100px 5%; background: var(--dark2); }
.contatti-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contatti-info h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 1.2rem; }
.contatti-info h2 span { color: var(--gold); }
.contatti-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contatti-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contatti-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contatti-detail > i { width: 40px; height: 40px; background: rgba(201,168,76,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }
.contatti-detail div { display: flex; flex-direction: column; gap: .2rem; }
.contatti-detail small { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.contatti-detail span, .contatti-detail a { font-size: .9rem; color: var(--white); }
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: .7rem;
    padding: .8rem 1.6rem; background: #25D366; color: #fff;
    border-radius: 3px; font-size: .78rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase; transition: all var(--transition);
}
.btn-whatsapp:hover { background: #20ba58; color: #fff; transform: translateY(-2px); }
.contatti-form { display: flex; flex-direction: column; gap: 1rem; }
.contatti-form input,
.contatti-form select,
.contatti-form textarea {
    background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.2);
    color: var(--white); padding: 1rem; border-radius: 3px;
    font-family: var(--ff-sans); font-size: .88rem; transition: border-color var(--transition);
    outline: none;
}
.contatti-form input::placeholder, .contatti-form textarea::placeholder { color: var(--text-muted); }
.contatti-form input:focus, .contatti-form select:focus, .contatti-form textarea:focus { border-color: var(--gold); }
.contatti-form select { cursor: pointer; }
.contatti-form select option { background: var(--dark); }
.contatti-form textarea { resize: vertical; min-height: 120px; }
.btn-submit-form {
    padding: 1rem; background: var(--gold); color: var(--black);
    font-size: .78rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; border-radius: 3px;
    transition: all var(--transition); display: flex; align-items: center; justify-content: center; gap: .6rem;
}
.btn-submit-form:hover { background: var(--gold-light); transform: translateY(-2px); }
.form-msg { padding: .9rem 1.2rem; border-radius: 3px; font-size: .85rem; margin-bottom: .5rem; }
.form-msg.success { background: rgba(0,200,100,.12); border: 1px solid rgba(0,200,100,.3); color: #4ddc8b; }
.form-msg.error   { background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.3); color: #ff7070; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer { background: var(--dark2); padding: 80px 5% 0; border-top: 1px solid rgba(201,168,76,.12); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { font-size: .82rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.8; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.2rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(201,168,76,.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .85rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.footer-links h4, .footer-contact h4 { font-family: var(--ff-sans); font-size: .65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer-links ul li { margin-bottom: .7rem; }
.footer-links ul li a { font-size: .83rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: .83rem; color: var(--text-muted); margin-bottom: .8rem; display: flex; align-items: center; gap: .7rem; }
.footer-contact p i { color: var(--gold); width: 14px; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 1.5rem 0; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .73rem; color: var(--text-muted); }

/* ─── MODAL GALLERY ──────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,.95);
    display: none; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-content {
    background: var(--dark); border-radius: 8px; width: 100%; max-width: 1000px;
    max-height: 90vh; overflow-y: auto;
    position: relative; animation: scaleIn .3s ease;
    border: 1px solid rgba(201,168,76,.15);
}
.modal-close {
    position: sticky; top: 1rem; left: 100%;
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1);
    color: var(--white); font-size: 1.2rem; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition); margin: 1rem 1rem 0 auto;
    float: right;
}
.modal-close:hover { background: var(--gold); color: var(--black); }
.modal-gallery-wrap {
    position: relative; background: #000; aspect-ratio: 16/9;
    overflow: hidden; clear: both;
}
.modal-gallery-track {
    display: flex; transition: transform .4s ease; height: 100%;
}
.modal-gallery-track .gallery-slide {
    flex-shrink: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.modal-gallery-track .gallery-slide img {
    max-width: 100%; max-height: 100%; object-fit: contain;
}
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(0,0,0,.65); color: var(--gold); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); z-index: 5;
    border: 1px solid rgba(201,168,76,.3);
}
.gallery-nav:hover { background: var(--gold); color: var(--black); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-counter {
    position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%);
    font-size: .7rem; background: rgba(0,0,0,.7); color: var(--white);
    padding: .3rem .8rem; border-radius: 20px; letter-spacing: 1px;
}
.modal-body { padding: 2rem; }
.modal-body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.modal-tag { display: inline-block; padding: .25rem .8rem; border: 1px solid var(--gold); color: var(--gold); font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; border-radius: 2px; margin-bottom: 1rem; }
#modalDesc { color: var(--text-muted); font-size: .88rem; margin-bottom: 1.5rem; }
.modal-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.5rem; }
.modal-detail-item { background: var(--gray); padding: .8rem 1rem; border-radius: 4px; font-size: .78rem; }
.modal-detail-item small { display: block; color: var(--gold); font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .2rem; }
.modal-thumbs { display: flex; gap: .6rem; flex-wrap: wrap; }
.modal-thumb {
    width: 72px; height: 54px; object-fit: cover; border-radius: 4px;
    cursor: pointer; opacity: .5; transition: opacity var(--transition), border var(--transition);
    border: 2px solid transparent;
}
.modal-thumb.active { opacity: 1; border-color: var(--gold); }

/* ─── WHATSAPP FAB ───────────────────────────────────────────────── */
.whatsapp-fab {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366;
    color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all var(--transition);
    animation: pulse 2.5s infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); color: #fff; background: #20ba58; }

/* ─── CONTACT PAGE (contattaci.php) ─────────────────────────────── */
.page-hero {
    padding: 140px 5% 80px; background: var(--dark2);
    text-align: center; border-bottom: 1px solid rgba(201,168,76,.1);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.breadcrumb { font-size: .75rem; letter-spacing: 1px; color: var(--text-muted); margin-top: .8rem; }
.breadcrumb a { color: var(--gold); }
.contact-page-wrap { max-width: 1100px; margin: 60px auto; padding: 0 5%; display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.contact-form-full { background: var(--gray); border-radius: 6px; padding: 2.5rem; border: 1px solid rgba(201,168,76,.1); }
.contact-form-full h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

/* ─── LEGAL PAGES ────────────────────────────────────────────────── */
.legal-content { max-width: 820px; margin: 60px auto; padding: 0 5% 80px; }
.legal-content h1 { font-size: clamp(1.8rem,3vw,2.8rem); margin-bottom: 1rem; }
.legal-content .content-text { line-height: 1.9; color: rgba(245,240,232,.75); }
.legal-content .content-text h2 { font-size: 1.3rem; margin: 2rem 0 .8rem; }
.legal-content .content-text p { margin-bottom: .9rem; }

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeInDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes bounce     { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
@keyframes scaleIn    { from { transform:scale(.94); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes pulse      { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4)} 50%{box-shadow:0 4px 30px rgba(37,211,102,.7)} }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .chi-siamo-wrap, .su-misura-wrap { grid-template-columns: 1fr; gap: 3rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .contatti-wrap { grid-template-columns: 1fr; }
    .contact-page-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 280px;
        background: var(--dark2); flex-direction: column; justify-content: center;
        padding: 2rem; gap: 2rem; transition: right var(--transition);
        border-left: 1px solid rgba(201,168,76,.15);
    }
    .nav-menu.open { right: 0; }
    .nav-menu li a { font-size: .9rem; }
    .chi-siamo-stats { gap: 1.5rem; flex-wrap: wrap; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .portfolio-track { grid-template-columns: 1fr; }
    .modal-details { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons a { width: 100%; max-width: 280px; text-align: center; }
}
@media (max-width: 480px) {
    .servizi-grid, .pacchetti-grid, .vantaggi-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── SCROLLBAR ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
