﻿/*
 * Ranatè 5 Experiences - CSS principale
 * Programmatore Esposito Francesco
 */
:root{
    --night:#050505;
    --night-2:#111111;
    --sea:#b40018;
    --sea-light:#e50914;
    --gold:#e50914;
    --gold-soft:#ffffff;
    --sand:#f1f1f1;
    --cream:#fafafa;
    --white:#ffffff;
    --danger:#b40018;
    --success:#177245;
    --text:#111111;
    --muted:#666666;
    --shadow:0 24px 70px rgba(0,0,0,.28);
    --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
    background:var(--cream);
    color:var(--text);
    overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 34px));margin:0 auto}
.sea-noise{position:fixed;inset:0;pointer-events:none;opacity:.05;background-image:radial-gradient(circle at 20% 20%,#000 0 1px,transparent 1px);background-size:18px 18px;z-index:0}
.site-header{
    position:sticky;top:0;z-index:50;background:rgba(5,5,5,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(229,9,20,.24)
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:22px}
.brand img{width:170px;height:auto;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25))}
.main-nav{display:flex;align-items:center;gap:8px}
.main-nav a{color:rgba(255,255,255,.88);padding:12px 15px;border-radius:999px;font-weight:700;font-size:15px;transition:.25s ease}
.main-nav a:hover,.main-nav a.active{background:rgba(229,9,20,.16);color:var(--gold-soft);transform:translateY(-1px)}
.main-nav .btn-nav{background:linear-gradient(135deg,var(--gold),var(--gold-soft));color:var(--night);box-shadow:0 10px 22px rgba(229,9,20,.18)}
.nav-toggle{display:none;background:none;border:0;flex-direction:column;gap:5px;cursor:pointer;padding:10px}
.nav-toggle span{display:block;width:28px;height:3px;border-radius:3px;background:var(--gold-soft)}
.hero{position:relative;min-height:calc(100vh - 82px);display:flex;align-items:center;padding:80px 0;background:radial-gradient(circle at 15% 15%,rgba(229,9,20,.36),transparent 34%),linear-gradient(135deg,var(--night),#240006 48%,#050505);color:white;overflow:hidden}
.hero:after{content:"";position:absolute;left:-10%;right:-10%;bottom:-90px;height:190px;background:var(--cream);border-radius:50% 50% 0 0/100% 100% 0 0;z-index:1}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.eyebrow{margin:0 0 12px;color:var(--gold);letter-spacing:3px;text-transform:uppercase;font-weight:900;font-size:13px}
h1,h2,h3{margin:0;line-height:1.05}
h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,8vw,92px);letter-spacing:-2px}
h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,4vw,58px)}
h3{font-size:22px}
p{line-height:1.75;color:inherit}
.hero-lead{font-size:clamp(18px,2.3vw,24px);color:rgba(255,255,255,.84);max-width:650px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:32px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:14px 22px;font-weight:900;cursor:pointer;transition:.25s ease;font-size:15px;line-height:1;gap:8px}
.btn.primary{background:linear-gradient(135deg,var(--gold),var(--gold-soft));color:var(--night);box-shadow:0 16px 40px rgba(229,9,20,.24)}
.btn.primary:hover{transform:translateY(-2px);box-shadow:0 20px 50px rgba(229,9,20,.34)}
.btn.ghost{border:1px solid rgba(255,255,255,.28);color:white;background:rgba(255,255,255,.06)}
.btn.ghost:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}
.btn.ghost.dark{color:var(--night);border-color:rgba(5,5,5,.16);background:white}
.btn.full{width:100%}
.btn.danger{background:var(--danger);color:#fff}
.hero-info-card{display:flex;flex-direction:column;gap:10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:18px;max-width:560px;backdrop-filter:blur(16px)}
.hero-visual{position:relative;min-height:520px}
.glass-card{background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.22);box-shadow:var(--shadow);backdrop-filter:blur(22px);border-radius:var(--radius)}
.main-card{position:absolute;inset:70px 40px 40px 20px;padding:46px;display:flex;flex-direction:column;justify-content:end;background-image:linear-gradient(180deg,rgba(5,5,5,.1),rgba(5,5,5,.75)),radial-gradient(circle at 20% 20%,rgba(229,9,20,.45),transparent 26%)}
.card-label{align-self:flex-start;background:rgba(229,9,20,.2);color:var(--gold-soft);border:1px solid rgba(229,9,20,.4);border-radius:999px;padding:9px 13px;font-weight:900;margin-bottom:18px}
.main-card p{color:rgba(255,255,255,.82)}
.mini-card{position:absolute;background:rgba(255,255,255,.9);color:var(--night);border:1px solid rgba(229,9,20,.36);border-radius:18px;padding:14px 18px;font-weight:900;box-shadow:0 18px 40px rgba(0,0,0,.16);animation:floaty 4.5s ease-in-out infinite}
.card-a{top:20px;right:30px}.card-b{top:235px;left:0;animation-delay:.7s}.card-c{bottom:22px;right:0;animation-delay:1.1s}
.hero-bg-orb{position:absolute;border-radius:50%;filter:blur(5px);opacity:.45}.orb-one{width:280px;height:280px;background:var(--gold);right:8%;top:10%;animation:pulse 6s ease-in-out infinite}.orb-two{width:340px;height:340px;background:var(--sea-light);left:-90px;bottom:15%;animation:pulse 7s ease-in-out infinite reverse}
.section{padding:95px 0;position:relative;z-index:2}
.section-heading{text-align:center;max-width:760px;margin:0 auto 46px}.section-heading p{color:var(--muted)}
.cards-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.experience-card{background:white;border:1px solid rgba(5,5,5,.08);border-radius:24px;padding:28px;box-shadow:0 20px 60px rgba(5,5,5,.07);transition:.25s ease;position:relative;overflow:hidden}.experience-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--sea),var(--gold))}.experience-card:hover{transform:translateY(-8px);box-shadow:0 28px 70px rgba(5,5,5,.13)}.icon{font-size:36px;margin-bottom:16px}.experience-card p{color:var(--muted)}
.split-section{background:linear-gradient(135deg,var(--night),var(--sea));color:white}.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.split-grid p{color:rgba(255,255,255,.8)}.feature-list{display:grid;gap:16px}.feature-list div{display:flex;align-items:center;gap:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:22px;border-radius:20px}.feature-list strong{color:var(--gold-soft);font-size:24px}.feature-list span{font-weight:800}
.page-hero{padding:90px 0 70px;background:radial-gradient(circle at 15% 20%,rgba(229,9,20,.24),transparent 25%),linear-gradient(135deg,var(--night),#240006);color:white}.page-hero.small h1{font-size:clamp(42px,6vw,74px)}.page-hero p:not(.eyebrow){max-width:760px;color:rgba(255,255,255,.8);font-size:18px}
.menu-tabs{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:34px}.menu-tab{border:1px solid rgba(5,5,5,.1);background:white;border-radius:999px;padding:12px 18px;font-weight:900;cursor:pointer;color:var(--night);transition:.2s ease}.menu-tab.active,.menu-tab:hover{background:var(--night);color:var(--gold-soft)}.menu-panel{display:none}.menu-panel.active{display:block}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.menu-card{min-height:230px;background:white;border:1px solid rgba(5,5,5,.08);border-radius:24px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 16px 50px rgba(5,5,5,.07);transition:.25s ease}.menu-card:hover{transform:translateY(-7px)}.menu-card p{color:var(--muted)}.badge{display:inline-block;background:rgba(229,9,20,.18);color:#b40018;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;margin-bottom:12px}.price{color:var(--sea);font-size:24px}.cta-band{padding-top:0}.cta-inner{background:linear-gradient(135deg,var(--night),var(--sea));color:white;border-radius:32px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:30px;box-shadow:var(--shadow)}.cta-inner p{color:rgba(255,255,255,.76)}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.event-card{background:white;border-radius:26px;padding:26px;display:flex;gap:22px;box-shadow:0 16px 55px rgba(5,5,5,.08);border:1px solid rgba(5,5,5,.07)}.event-date{flex:0 0 86px;height:86px;border-radius:22px;background:linear-gradient(135deg,var(--night),var(--sea));color:var(--gold-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.event-date strong{font-size:30px}.event-date span{font-size:10px;font-weight:900;letter-spacing:1px}.event-card p{color:var(--muted)}.event-card a{color:var(--sea);font-weight:900}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:34px;align-items:start}.contact-panel,.smart-form{background:white;border:1px solid rgba(5,5,5,.08);border-radius:28px;padding:34px;box-shadow:0 18px 60px rgba(5,5,5,.08)}.contact-panel h2{font-size:38px}.contact-panel p{color:var(--muted)}.contact-note{margin-top:24px;background:rgba(180,0,24,.08);border-left:5px solid var(--sea);padding:16px;border-radius:14px;color:var(--sea);font-weight:800}.form-row{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-row label{font-weight:900;color:var(--night)}input,select,textarea{width:100%;border:1px solid rgba(5,5,5,.14);border-radius:16px;padding:14px 15px;font:inherit;background:#fff;color:var(--text);outline:none;transition:.2s ease}input:focus,select:focus,textarea:focus{border-color:var(--sea);box-shadow:0 0 0 4px rgba(180,0,24,.12)}textarea{resize:vertical}.privacy-check{display:flex;gap:12px;margin:10px 0 20px;color:var(--muted);font-size:14px}.privacy-check input{width:auto}.form-result{margin-top:16px;border-radius:16px;padding:14px;display:none}.form-result.loading,.form-result.success,.form-result.error{display:block}.form-result.loading{background:rgba(180,0,24,.08);color:var(--sea)}.form-result.success{background:rgba(34,124,85,.12);color:var(--success)}.form-result.error{background:rgba(201,67,67,.12);color:var(--danger)}
.site-footer{background:var(--night);color:white;padding:62px 0 0}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:38px}.footer-logo{width:170px;margin-bottom:14px}.site-footer p,.site-footer a{color:rgba(255,255,255,.72)}.site-footer h3{color:var(--gold-soft);margin-bottom:16px}.site-footer a{display:block;margin:9px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px;margin-top:42px;text-align:center}.footer-bottom p{margin:0;font-size:14px}.floating-message{position:fixed;right:22px;bottom:22px;z-index:60;border:0;background:linear-gradient(135deg,var(--gold),var(--gold-soft));color:var(--night);box-shadow:0 18px 40px rgba(0,0,0,.22);border-radius:999px;padding:13px 17px;display:flex;align-items:center;gap:8px;font-weight:900;cursor:pointer}.floating-message span{font-size:22px}.floating-message small{font-weight:900}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}.delay-1{transition-delay:.12s}.delay-2{transition-delay:.22s}.delay-3{transition-delay:.32s}.delay-4{transition-delay:.42s}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes pulse{0%,100%{transform:scale(1);opacity:.35}50%{transform:scale(1.12);opacity:.55}}
/* Admin */
.admin-login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 15%,rgba(229,9,20,.18),transparent 30%),linear-gradient(135deg,var(--night),var(--sea));padding:25px}.login-card{width:min(430px,100%);background:white;border-radius:30px;padding:34px;box-shadow:var(--shadow)}.login-card img{width:190px;margin:0 auto 18px}.login-card h1{text-align:center;font-size:34px}.login-card p{text-align:center;color:var(--muted)}.alert{padding:13px;border-radius:14px;margin:15px 0;font-weight:800}.alert.error{background:rgba(201,67,67,.12);color:var(--danger)}.back-home{display:block;text-align:center;margin-top:18px;color:var(--sea);font-weight:900}.admin-body{display:grid;grid-template-columns:270px 1fr;min-height:100vh;background:#f4f4f4}.admin-sidebar{background:var(--night);color:white;padding:24px;position:sticky;top:0;height:100vh}.admin-sidebar img{width:185px;margin-bottom:28px}.admin-sidebar nav{display:grid;gap:10px}.admin-sidebar a{padding:14px 16px;border-radius:16px;color:rgba(255,255,255,.78);font-weight:900}.admin-sidebar a.active,.admin-sidebar a:hover{background:rgba(229,9,20,.16);color:var(--gold-soft)}.admin-main{padding:34px}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.admin-top h1{font-size:42px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.stats-grid article{background:white;border-radius:24px;padding:24px;box-shadow:0 16px 40px rgba(5,5,5,.06)}.stats-grid span{display:block;color:var(--muted);font-weight:900}.stats-grid strong{font-size:42px;color:var(--sea)}.admin-panel{background:white;border-radius:26px;padding:26px;box-shadow:0 16px 45px rgba(5,5,5,.07);border:1px solid rgba(5,5,5,.06)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-head h2{font-size:30px}.panel-head a{color:var(--sea);font-weight:900}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{text-align:left;padding:15px;border-bottom:1px solid rgba(5,5,5,.08)}.admin-table th{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:1px}.admin-table a{color:var(--sea);font-weight:900}.status{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;background:#eee;color:#333}.status.nuovo{background:rgba(229,9,20,.2);color:#b40018}.status.risposto{background:rgba(34,124,85,.15);color:var(--success)}.status.archiviato{background:#ececec}.status.in_lavorazione{background:rgba(180,0,24,.14);color:var(--sea)}.filters{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filters select{max-width:220px}.message-detail h2{font-size:32px;margin:26px 0 14px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.detail-grid div{background:#f6f6f6;border-radius:18px;padding:16px}.detail-grid span{display:block;color:var(--muted);font-size:13px;font-weight:900;margin-bottom:4px}.detail-grid strong{font-size:16px}.message-box{background:#f6f6f6;border-radius:18px;padding:22px;line-height:1.8}.admin-actions{display:flex;gap:16px;align-items:center;margin-top:22px;flex-wrap:wrap}.admin-actions form{display:flex;gap:10px;align-items:center}.admin-actions select{min-width:210px}
@media (max-width:1050px){.hero-grid,.split-grid,.contact-grid{grid-template-columns:1fr}.hero-visual{min-height:430px}.cards-grid{grid-template-columns:repeat(2,1fr)}.menu-grid,.event-grid{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-body{grid-template-columns:1fr}.admin-sidebar{position:relative;height:auto}.admin-sidebar nav{grid-template-columns:repeat(4,1fr)}.detail-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.nav-toggle{display:flex}.main-nav{position:absolute;top:82px;left:17px;right:17px;background:rgba(5,5,5,.98);border:1px solid rgba(229,9,20,.25);border-radius:22px;padding:14px;display:none;flex-direction:column;align-items:stretch}.main-nav.open{display:flex}.main-nav a{text-align:center}.brand img{width:145px}.hero{padding:55px 0 105px;min-height:auto}.hero-grid{gap:25px}h1{font-size:48px}.hero-actions{flex-direction:column}.btn{width:100%}.main-card{inset:55px 0 35px 0}.mini-card{font-size:14px}.cards-grid,.menu-grid,.event-grid,.footer-grid,.form-two,.stats-grid,.detail-grid{grid-template-columns:1fr}.cta-inner{flex-direction:column;align-items:flex-start}.footer-grid{gap:20px}.floating-message small{display:none}.admin-main{padding:20px}.admin-top{flex-direction:column;align-items:flex-start}.admin-sidebar nav{grid-template-columns:1fr 1fr}.filters select{max-width:none}.admin-actions form{width:100%;flex-direction:column;align-items:stretch}}
@media (max-width:430px){.container{width:min(100% - 24px,1180px)}.hero-visual{min-height:390px}.main-card{padding:28px}.contact-panel,.smart-form,.admin-panel{padding:22px;border-radius:22px}.section{padding:70px 0}.admin-sidebar nav{grid-template-columns:1fr}}


/* Tema Ranatè rosso / nero / bianco - aggiornamento grafico */
.site-header{
    background:rgba(5,5,5,.92);
    border-bottom:1px solid rgba(229,9,20,.38);
}
.main-nav a:hover,.main-nav a.active{
    background:rgba(229,9,20,.18);
    color:#ffffff;
}
.main-nav .btn-nav,
.btn.primary,
.floating-message{
    background:linear-gradient(135deg,#e50914,#b40018);
    color:#ffffff;
    box-shadow:0 16px 38px rgba(229,9,20,.28);
}
.btn.primary:hover,
.floating-message:hover{
    box-shadow:0 20px 50px rgba(229,9,20,.38);
}
.hero{
    background:radial-gradient(circle at 15% 15%,rgba(229,9,20,.36),transparent 34%),linear-gradient(135deg,#050505,#1a0005 48%,#050505);
}
.page-hero{
    background:radial-gradient(circle at 15% 20%,rgba(229,9,20,.24),transparent 25%),linear-gradient(135deg,#050505,#250006);
}
.main-card{
    background-image:linear-gradient(180deg,rgba(5,5,5,.1),rgba(5,5,5,.82)),radial-gradient(circle at 20% 20%,rgba(229,9,20,.48),transparent 26%);
}
.card-label,
.badge,
.status.nuovo{
    background:rgba(229,9,20,.12);
    border-color:rgba(229,9,20,.32);
    color:#b40018;
}
.main-card .card-label{
    color:#ffffff;
}
.experience-card:before{
    background:linear-gradient(90deg,#050505,#e50914,#ffffff);
}
.split-section,
.cta-inner,
.event-date,
.admin-login-body{
    background:linear-gradient(135deg,#050505,#1a0005,#b40018);
}
.menu-tab.active,.menu-tab:hover{
    background:#e50914;
    color:#ffffff;
}
.price,
.event-card a,
.back-home,
.panel-head a,
.admin-table a,
.stats-grid strong{
    color:#b40018;
}
.contact-note{
    background:rgba(229,9,20,.08);
    border-left-color:#e50914;
    color:#b40018;
}
input:focus,select:focus,textarea:focus{
    border-color:#e50914;
    box-shadow:0 0 0 4px rgba(229,9,20,.12);
}
.admin-sidebar{
    background:#050505;
    border-right:4px solid #b40018;
}
.admin-sidebar a.active,.admin-sidebar a:hover{
    background:rgba(229,9,20,.18);
    color:#ffffff;
}
.admin-body{
    background:#f4f4f4;
}
.site-footer{
    background:#050505;
    border-top:5px solid #b40018;
}
.site-footer h3{
    color:#ffffff;
}
.nav-toggle span{
    background:#ffffff;
}
@media (max-width:760px){
    .main-nav{
        background:rgba(5,5,5,.98);
        border:1px solid rgba(229,9,20,.32);
    }
}


/* Logo ufficiale Ranatè - immagine fornita dal cliente */
.brand{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.brand img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 14px 34px rgba(229,9,20,.34);
    border:1px solid rgba(255,255,255,.14);
    background:#c9151f;
    filter:none;
}
.footer-logo{
    width:132px;
    height:132px;
    object-fit:cover;
    border-radius:24px;
    box-shadow:0 16px 42px rgba(229,9,20,.26);
    border:1px solid rgba(255,255,255,.14);
}
.login-card img{
    width:152px;
    height:152px;
    object-fit:cover;
    border-radius:30px;
    box-shadow:0 18px 45px rgba(229,9,20,.25);
}
.admin-sidebar img{
    width:146px;
    height:146px;
    object-fit:cover;
    border-radius:28px;
    box-shadow:0 18px 45px rgba(229,9,20,.22);
    border:1px solid rgba(255,255,255,.14);
}
@media (max-width:760px){
    .brand img{
        width:64px;
        height:64px;
        border-radius:15px;
    }
    .nav-wrap{
        min-height:76px;
    }
    .main-nav{
        top:76px;
    }
}


/* Galleria fotografica e integrazione immagini reali Ranatè */
body.no-scroll{overflow:hidden}
.hero-with-photo .hero-visual{min-height:560px}
.photo-main-card{overflow:hidden;padding:0;background:#050505}
.photo-main-card>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:saturate(1.04) contrast(1.02)}
.photo-main-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,5,5,.08),rgba(5,5,5,.82));z-index:1}
.photo-card-overlay{position:absolute;inset:auto 0 0 0;z-index:2;padding:46px;color:#fff}
.photo-card-overlay p{color:rgba(255,255,255,.84)}
.cards-grid-with-images .experience-card{padding-top:118px;min-height:330px}
.experience-img{position:absolute;top:0;left:0;width:100%;height:104px;object-fit:cover;border-radius:24px 24px 0 0;filter:saturate(1.05)}
.cards-grid-with-images .experience-card:before{z-index:2}
.gallery-preview-section{background:#fff}
.home-gallery-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;grid-auto-rows:210px;gap:16px}
.home-gallery-card{position:relative;overflow:hidden;border-radius:26px;box-shadow:0 18px 58px rgba(5,5,5,.13);border:1px solid rgba(5,5,5,.08);background:#111}
.home-gallery-card.wide{grid-row:span 2}
.home-gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease,filter .55s ease}
.home-gallery-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(5,5,5,.72));opacity:.95}
.home-gallery-card span{position:absolute;left:18px;bottom:16px;z-index:2;background:rgba(229,9,20,.88);color:#fff;border-radius:999px;padding:8px 12px;font-weight:900;font-size:13px;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.home-gallery-card:hover img{transform:scale(1.07);filter:saturate(1.16)}
.gallery-preview-actions{text-align:center;margin-top:34px}
.split-section-photo{background-image:linear-gradient(135deg,rgba(5,5,5,.96),rgba(55,0,10,.91),rgba(180,0,24,.86)),url('../img/galleria/ranate-terrazza-arco-mare.jpg');background-size:cover;background-position:center;background-attachment:fixed}
.gallery-page-hero{background-image:linear-gradient(135deg,rgba(5,5,5,.87),rgba(75,0,10,.74)),url('../img/galleria/ranate-vista-porto.jpg');background-size:cover;background-position:center}
.menu-page-hero{background-image:linear-gradient(135deg,rgba(5,5,5,.84),rgba(75,0,10,.72)),url('../img/galleria/ranate-cena-vino.jpg');background-size:cover;background-position:center}
.eventi-page-hero{background-image:linear-gradient(135deg,rgba(5,5,5,.86),rgba(75,0,10,.74)),url('../img/galleria/ranate-sala-elegante.jpg');background-size:cover;background-position:center}
.prenota-page-hero{background-image:linear-gradient(135deg,rgba(5,5,5,.84),rgba(75,0,10,.72)),url('../img/galleria/ranate-vetrata-mare.jpg');background-size:cover;background-position:center}
.gallery-page-section{background:linear-gradient(180deg,#fafafa,#ffffff)}
.gallery-masonry{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:245px;gap:18px}
.gallery-item{position:relative;overflow:hidden;border-radius:28px;cursor:pointer;background:#111;box-shadow:0 18px 60px rgba(5,5,5,.12);border:1px solid rgba(5,5,5,.08);outline:none}
.gallery-item.large{grid-column:span 2;grid-row:span 2}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease,filter .6s ease}
.gallery-item:focus-visible{box-shadow:0 0 0 4px rgba(229,9,20,.22),0 18px 60px rgba(5,5,5,.12)}
.gallery-item-overlay{position:absolute;inset:auto 0 0 0;padding:24px;color:#fff;background:linear-gradient(180deg,transparent,rgba(5,5,5,.86));transform:translateY(28px);transition:.35s ease}
.gallery-item-overlay span{display:inline-flex;background:#e50914;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;margin-bottom:10px}
.gallery-item-overlay h3{margin-bottom:8px}.gallery-item-overlay p{margin:0;color:rgba(255,255,255,.78);line-height:1.5}
.gallery-item:hover img,.gallery-item:focus-visible img{transform:scale(1.07);filter:saturate(1.14)}
.gallery-item:hover .gallery-item-overlay,.gallery-item:focus-visible .gallery-item-overlay{transform:translateY(0)}
.gallery-cta-band{padding-top:0}
.lightbox{position:fixed;inset:0;background:rgba(5,5,5,.92);z-index:200;display:none;align-items:center;justify-content:center;flex-direction:column;padding:30px;color:#fff}
.lightbox.open{display:flex;animation:lightboxIn .22s ease both}
.lightbox img{max-width:min(1100px,92vw);max-height:78vh;border-radius:24px;box-shadow:0 28px 100px rgba(0,0,0,.45);object-fit:contain}
.lightbox h3{margin-top:18px;font-size:28px;text-align:center}
.lightbox-close{position:absolute;top:22px;right:24px;width:48px;height:48px;border:0;border-radius:50%;background:#e50914;color:#fff;font-size:34px;line-height:1;cursor:pointer;font-weight:300;display:grid;place-items:center}
.menu-photo-strip-section{padding-top:0;background:#fafafa}
.menu-photo-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.menu-photo-strip img{height:230px;width:100%;object-fit:cover;border-radius:26px;box-shadow:0 18px 54px rgba(5,5,5,.1);border:1px solid rgba(5,5,5,.08)}
.event-photo-section{padding-top:0;background:#fff}
.event-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.event-photo-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center;background:#fff;border-radius:30px;padding:22px;box-shadow:0 18px 60px rgba(5,5,5,.09);border:1px solid rgba(5,5,5,.08)}
.event-photo-card img{height:260px;width:100%;object-fit:cover;border-radius:24px}.event-photo-card p:not(.eyebrow){color:var(--muted)}
.contact-panel-img{width:100%;height:230px;object-fit:cover;border-radius:22px;margin:22px 0 6px;box-shadow:0 16px 46px rgba(5,5,5,.12)}
@keyframes lightboxIn{from{opacity:0}to{opacity:1}}
@media (max-width:1050px){
    .home-gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px}
    .gallery-masonry{grid-template-columns:repeat(2,1fr)}
    .menu-photo-strip{grid-template-columns:1fr 1fr}
    .event-photo-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
    .hero-with-photo .hero-visual{min-height:430px}
    .photo-card-overlay{padding:28px}
    .home-gallery-grid,.gallery-masonry,.menu-photo-strip{grid-template-columns:1fr;grid-auto-rows:260px}
    .home-gallery-card.wide,.gallery-item.large{grid-column:auto;grid-row:auto}
    .gallery-item-overlay{transform:none}
    .event-photo-card{grid-template-columns:1fr;padding:16px}
    .event-photo-card img{height:230px}
    .split-section-photo{background-attachment:scroll}
}
@media (max-width:430px){
    .cards-grid-with-images .experience-card{padding-top:108px}
    .experience-img{height:96px}
    .home-gallery-grid,.gallery-masonry{grid-auto-rows:230px}
    .lightbox{padding:18px}.lightbox img{border-radius:18px}.lightbox-close{top:14px;right:14px}
}


/* Modifica hero richiesta: mare in sfumatura dietro il testo e collage piatti nella card */
.hero-with-photo{
    background:radial-gradient(circle at 15% 15%,rgba(229,9,20,.28),transparent 34%),linear-gradient(135deg,#050505,#1a0005 48%,#050505);
}
.hero-with-photo::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(90deg,rgba(5,5,5,.12) 0%,rgba(80,0,10,.48) 42%,rgba(5,5,5,.92) 74%,rgba(5,5,5,.98) 100%),
        linear-gradient(180deg,rgba(180,0,24,.32) 0%,rgba(5,5,5,.78) 100%),
        url('../img/galleria/ranate-vista-porto.jpg');
    background-size:cover;
    background-position:left center;
    background-repeat:no-repeat;
    opacity:.86;
}
.hero-with-photo .hero-bg-orb{
    z-index:1;
    opacity:.38;
}
.hero-with-photo .hero-grid{
    z-index:2;
}
.hero-with-photo .hero-content{
    position:relative;
}
.hero-with-photo .hero-content::before{
    content:"";
    position:absolute;
    inset:-44px -34px -38px -34px;
    z-index:-1;
    border-radius:34px;
    background:linear-gradient(90deg,rgba(5,5,5,.20),rgba(5,5,5,.05));
    backdrop-filter:blur(1px);
}
.photo-main-card>img{
    object-position:center;
    filter:saturate(1.08) contrast(1.04) brightness(.92);
}
.photo-main-card:after{
    background:linear-gradient(180deg,rgba(5,5,5,.10),rgba(5,5,5,.34) 38%,rgba(5,5,5,.88));
}
@media (max-width:1050px){
    .hero-with-photo::before{
        background:
            linear-gradient(180deg,rgba(5,5,5,.38),rgba(5,5,5,.88)),
            linear-gradient(180deg,rgba(180,0,24,.30),rgba(5,5,5,.76)),
            url('../img/galleria/ranate-vista-porto.jpg');
        background-size:cover;
        background-position:center;
    }
}
@media (max-width:760px){
    .hero-with-photo .hero-content::before{
        inset:-24px -18px -24px -18px;
        border-radius:24px;
        background:rgba(5,5,5,.22);
    }
}

/* ================================
   Ranatè 15 moduli - estensioni
   Programmatore Esposito Francesco
================================ */
.alert.success{background:rgba(34,124,85,.14);color:var(--success)}
.hero-with-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,5,.46),rgba(80,0,12,.63),rgba(5,5,5,.88)),url('../img/galleria/ranate-vista-porto.jpg') left center/cover no-repeat;opacity:.9;z-index:0}.hero-with-photo .hero-bg-orb,.hero-with-photo .hero-grid{z-index:2}.photo-main-card{padding:0;overflow:hidden;min-height:410px}.photo-main-card>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:brightness(.78) saturate(1.08)}.photo-main-card::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,5,.4),rgba(5,5,5,.08)),linear-gradient(0deg,rgba(5,5,5,.78),transparent 58%)}.photo-card-overlay{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:54px}.photo-card-overlay h2{color:#fff;max-width:430px}.photo-card-overlay p{color:rgba(255,255,255,.86);max-width:430px}.menu-highlight{background:#fff}.qr-home{background:linear-gradient(145deg,#fff,#f5f5f5);border:1px solid rgba(5,5,5,.08);box-shadow:var(--shadow);border-radius:30px;padding:28px;display:grid;place-items:center;text-align:center}.qr-home img{width:230px;border-radius:18px}.qr-home span{font-weight:900;color:#b40018;margin-top:12px}.qr-small{width:130px;border-radius:18px;margin-top:24px}.digital-category{margin-bottom:42px}.digital-category h2{margin-bottom:18px;color:#b40018}.digital-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:#fff;border:1px solid rgba(5,5,5,.08);border-radius:22px;padding:20px;margin-bottom:14px;box-shadow:0 12px 35px rgba(5,5,5,.06)}.digital-row h3{margin:6px 0}.digital-row p{margin:.2rem 0;color:#555}.digital-row small,.menu-card small{color:#777}.digital-row strong{font-size:22px;color:#b40018;white-space:nowrap}.menu-card{overflow:hidden}.menu-img{width:100%;height:190px;object-fit:cover}.menu-card-body{padding:24px}.reviews-section,.news-preview{background:#fff}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.review-card{background:linear-gradient(145deg,#fff,#f5f5f5);border:1px solid rgba(5,5,5,.07);box-shadow:0 15px 40px rgba(5,5,5,.06);border-radius:28px;padding:28px}.stars{color:#b40018;font-size:20px;letter-spacing:2px}.review-card strong{display:block;color:#111;margin-top:15px}.review-card span{color:#777;font-weight:800}.gallery-masonry{columns:3 260px;column-gap:18px}.gallery-item{break-inside:avoid;width:100%;margin:0 0 18px;border:0;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 15px 38px rgba(5,5,5,.08);text-align:left;cursor:pointer;position:relative}.gallery-item img{width:100%;height:auto}.gallery-item span{position:absolute;top:14px;left:14px;background:#b40018;color:#fff;border-radius:999px;padding:7px 11px;font-weight:900;font-size:12px}.gallery-item strong{display:block;padding:16px}.gallery-lightbox{position:fixed;inset:0;background:rgba(5,5,5,.88);display:none;place-items:center;z-index:200;padding:25px}.gallery-lightbox.open{display:grid}.gallery-lightbox div{max-width:min(960px,94vw);background:#111;border-radius:26px;overflow:hidden}.gallery-lightbox img{width:100%;max-height:76vh;object-fit:contain}.gallery-lightbox h3{color:#fff;padding:18px}.lightbox-close{position:absolute;top:22px;right:24px;background:#e50914;color:#fff;border:0;border-radius:50%;width:46px;height:46px;font-size:26px;cursor:pointer}.no-scroll{overflow:hidden}.experience-timeline{display:grid;gap:34px}.timeline-card{display:grid;grid-template-columns:.85fr 1.15fr;gap:34px;align-items:center;background:#fff;border-radius:32px;box-shadow:0 18px 50px rgba(5,5,5,.07);border:1px solid rgba(5,5,5,.06);padding:28px}.timeline-card:nth-child(even){grid-template-columns:1.15fr .85fr}.timeline-card:nth-child(even) .timeline-img{order:2}.timeline-img img{width:100%;height:320px;object-fit:cover;border-radius:24px}.big-icon{font-size:44px;display:inline-flex;margin-bottom:12px}.article-wrap{max-width:900px}.article-wrap>img{width:100%;max-height:480px;object-fit:cover;border-radius:30px;box-shadow:var(--shadow);margin-bottom:26px}.article-date{color:#b40018;font-weight:900}.article-content{background:#fff;border-radius:28px;padding:30px;margin:20px 0;line-height:1.85;box-shadow:0 14px 35px rgba(5,5,5,.06)}.legal-card{background:#fff;border-radius:28px;padding:34px;box-shadow:0 14px 40px rgba(5,5,5,.07);font-size:18px}.footer-socials{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px}.footer-socials a,.footer-wa{display:inline-flex!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:8px 12px;border-radius:999px}.footer-newsletter{margin-top:42px;display:grid;grid-template-columns:1fr 1.3fr;gap:24px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:28px;padding:24px}.footer-newsletter form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.footer-newsletter input[type=email]{background:#fff}.mini-privacy{grid-column:1 / -1;color:rgba(255,255,255,.7);font-size:13px}.floating-actions{position:fixed;right:22px;bottom:22px;z-index:70;display:flex;align-items:center;gap:10px}.floating-actions .floating-message{position:static}.floating-whatsapp{width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-weight:900;font-size:25px;box-shadow:0 18px 40px rgba(0,0,0,.25)}.kira-widget{position:fixed;left:22px;bottom:22px;z-index:75}.kira-bubble{width:72px;height:72px;border:0;border-radius:26px;background:linear-gradient(135deg,#050505,#e50914);color:#fff;box-shadow:0 20px 46px rgba(0,0,0,.32);cursor:pointer;display:grid;place-items:center}.kira-bubble span{font-family:Georgia,serif;font-size:34px;line-height:1}.kira-bubble small{font-weight:900;margin-top:-12px}.kira-panel{position:absolute;left:0;bottom:84px;width:min(360px,calc(100vw - 44px));background:#fff;border-radius:26px;box-shadow:0 25px 65px rgba(0,0,0,.35);overflow:hidden;display:none}.kira-panel.open{display:block}.kira-head{background:#050505;color:#fff;padding:16px 18px;display:flex;justify-content:space-between;align-items:center}.kira-head button{background:#e50914;color:#fff;border:0;border-radius:50%;width:30px;height:30px;font-size:20px;cursor:pointer}.kira-messages{height:290px;overflow:auto;padding:16px;background:#f4f4f4}.kira-msg{max-width:82%;padding:11px 13px;border-radius:17px;margin-bottom:10px;line-height:1.45;font-size:14px}.kira-msg.bot{background:#fff;color:#111;border:1px solid rgba(5,5,5,.08)}.kira-msg.user{background:#e50914;color:#fff;margin-left:auto}.kira-msg.typing{opacity:.7}.kira-panel form{display:flex;padding:12px;gap:8px}.kira-panel input{height:44px}.kira-panel button[type=submit]{background:#e50914;color:#fff;border:0;border-radius:14px;padding:0 14px;font-weight:900}.cookie-banner{position:fixed;left:22px;right:22px;bottom:110px;background:#fff;border:1px solid rgba(5,5,5,.08);box-shadow:0 18px 50px rgba(0,0,0,.22);border-radius:22px;padding:16px;z-index:80;display:none;align-items:center;justify-content:space-between;gap:18px}.cookie-banner.show{display:flex}.cookie-banner p{margin:0;color:#333}.cookie-banner button{background:#e50914;color:#fff;border:0;border-radius:999px;padding:10px 16px;font-weight:900}.cookie-banner a{font-weight:900;color:#b40018;margin-right:12px}
.admin-stats-wide{grid-template-columns:repeat(4,1fr)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.quick-grid a{background:#f7f7f7;border:1px solid rgba(5,5,5,.06);padding:18px;border-radius:18px;font-weight:900}.admin-two-panels{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.admin-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.admin-form-grid label span{display:block;font-weight:900;margin-bottom:8px;color:#555}.full-row{grid-column:1 / -1}.check-line{display:flex!important;align-items:center;gap:10px;font-weight:900}.check-line input{width:auto}.spaced-panel{margin-top:24px}.inline-form{display:inline}.inline-form button{background:none;border:0;color:#b40018;font-weight:900;cursor:pointer}.status-form select{min-width:140px}.admin-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.admin-gallery-grid article{background:#f7f7f7;border-radius:22px;padding:12px}.admin-gallery-grid img{width:100%;height:150px;object-fit:cover;border-radius:16px}.qr-panel{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}.qr-panel img{width:280px;border-radius:22px;border:10px solid #fff;box-shadow:0 12px 30px rgba(0,0,0,.1)}.compact th,.compact td{padding:12px}.event-card>img{width:100%;height:220px;object-fit:cover}.event-card{overflow:hidden}.event-card>div{padding:22px}.main-nav{gap:4px}.main-nav a{font-size:14px;padding:11px 13px}
@media (max-width:1100px){.admin-stats-wide,.quick-grid,.admin-gallery-grid{grid-template-columns:repeat(2,1fr)}.admin-two-panels,.footer-newsletter,.timeline-card,.timeline-card:nth-child(even){grid-template-columns:1fr}.timeline-card:nth-child(even) .timeline-img{order:0}.reviews-grid{grid-template-columns:1fr 1fr}.footer-newsletter form{grid-template-columns:1fr}.qr-panel{grid-template-columns:1fr;text-align:center}.qr-panel img{margin:auto}}
@media (max-width:760px){.reviews-grid,.admin-form-grid,.quick-grid,.admin-gallery-grid,.admin-stats-wide{grid-template-columns:1fr}.digital-row{flex-direction:column}.timeline-img img{height:240px}.footer-newsletter{padding:18px}.cookie-banner{flex-direction:column;align-items:flex-start;bottom:100px}.kira-widget{left:14px;bottom:14px}.floating-actions{right:14px;bottom:14px}.floating-whatsapp{width:50px;height:50px}.kira-bubble{width:62px;height:62px;border-radius:22px}.hero-with-photo::before{background:linear-gradient(90deg,rgba(5,5,5,.65),rgba(80,0,12,.74)),url('../img/galleria/ranate-vista-porto.jpg') center/cover no-repeat}.photo-card-overlay{padding:34px}.photo-card-overlay h2{font-size:38px}.photo-main-card{min-height:360px}.qr-home img{width:180px}}

/* ==========================================================
   Correzioni grafiche 17/06/2026 - Eventi, footer e QR
   Programmatore Esposito Francesco
   ========================================================== */
.clean-footer{
    width:100%;
    overflow:hidden;
    border-top:4px solid #e50914;
    background:#050505;
    margin-top:0;
}
.footer-grid-clean{
    align-items:start;
}
.footer-column a,
.footer-links-column a{
    display:block;
    margin:8px 0;
    color:rgba(255,255,255,.76);
}
.footer-brand-box p,
.footer-column p{
    max-width:430px;
    margin:.45rem 0;
}
.footer-newsletter form{
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    align-items:center;
}
.footer-newsletter .mini-privacy{
    display:flex;
    align-items:center;
    gap:8px;
    grid-column:1 / -1;
    margin:0;
}
.footer-newsletter .mini-privacy input{
    width:auto;
    margin:0;
}
.footer-bottom{
    width:100%;
    margin-top:42px;
    border-top:1px solid rgba(255,255,255,.12);
    padding:18px 14px;
    text-align:center;
}
.footer-bottom p{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin:0;
    color:rgba(255,255,255,.72);
}
.footer-bottom a,
.footer-legal-links a{
    display:inline-flex!important;
    margin:0!important;
    color:#fff!important;
    font-weight:800;
}
.footer-legal-links{
    display:inline-flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
}
.footer-legal-links a:before{
    content:"•";
    margin-right:12px;
    color:#e50914;
}
.footer-legal-links a:first-child:before{
    content:"";
    margin:0;
}
.news-preview-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    max-width:980px;
    margin:0 auto;
}
.news-mini-card{
    display:grid;
    grid-template-columns:190px 1fr;
    gap:22px;
    align-items:stretch;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:28px;
    box-shadow:0 18px 58px rgba(5,5,5,.08);
    overflow:hidden;
    padding:18px;
}
.news-mini-card img{
    width:100%;
    height:210px;
    object-fit:cover;
    border-radius:20px;
}
.news-mini-card p{color:#666}.news-mini-card a{color:#b40018;font-weight:900}
.qr-page-hero{
    background-image:linear-gradient(135deg,rgba(5,5,5,.88),rgba(85,0,14,.72)),url('../img/galleria/ranate-vista-porto.jpg');
    background-size:cover;
    background-position:center;
}
.qr-public-section{background:#fff;min-height:calc(100vh - 440px)}
.qr-public-grid{
    display:grid;
    grid-template-columns:1fr .8fr;
    gap:48px;
    align-items:center;
}
.qr-public-copy p{color:#555;max-width:680px}
.qr-public-card{
    display:grid;
    place-items:center;
    text-align:center;
    background:linear-gradient(145deg,#fff,#f3f3f3);
    border:1px solid rgba(5,5,5,.08);
    border-radius:34px;
    padding:42px;
    box-shadow:0 28px 80px rgba(5,5,5,.13);
}
.qr-public-card img{
    width:min(320px,70vw);
    border-radius:22px;
    border:12px solid #fff;
    box-shadow:0 18px 44px rgba(0,0,0,.12);
}
.qr-public-card strong{display:block;color:#b40018;margin-top:18px;font-size:18px}
.qr-public-card span{color:#666;margin-top:8px;font-weight:800;word-break:break-all}
.events-section-full{
    width:100%;
    padding:86px 0;
    position:relative;
    z-index:2;
}
.events-section-white{background:#fff}
.events-section-light{background:linear-gradient(180deg,#fafafa,#f1f1f1)}
.events-section-inner{
    width:min(1360px,calc(100% - 40px));
    margin:0 auto;
}
.events-wide-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
    width:100%;
    align-items:stretch;
}
.event-wide-card{
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:34px;
    overflow:hidden;
    box-shadow:0 24px 70px rgba(5,5,5,.09);
}
.events-section-light .event-wide-card{background:#fff}
.event-wide-img{
    height:280px;
    min-height:280px;
    background:#111;
    overflow:hidden;
    display:block;
}
.event-wide-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .55s ease, filter .55s ease;
}
.event-wide-card:hover .event-wide-img img{
    transform:scale(1.06);
    filter:saturate(1.1);
}
.event-wide-content{
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    flex:1;
}
.event-meta-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:14px;
}
.event-meta-row span{
    display:inline-flex;
    align-items:center;
    background:rgba(229,9,20,.09);
    color:#b40018;
    border:1px solid rgba(229,9,20,.16);
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:900;
}
.event-wide-content h3{
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(26px,2vw,34px);
    line-height:1.02;
    margin-bottom:12px;
}
.event-subtitle{
    font-weight:900;
    color:#111!important;
    font-size:18px;
    margin:.2rem 0 .6rem;
}
.event-wide-content p{color:#666}
.event-actions-row{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
    padding-top:22px;
}
.event-actions-row small{
    color:#777;
    font-weight:900;
}
.event-detail-hero{
    position:relative;
    min-height:560px;
    display:flex;
    align-items:end;
    color:#fff;
    background:linear-gradient(90deg,rgba(5,5,5,.88),rgba(75,0,12,.66),rgba(5,5,5,.45)),var(--event-bg) center/cover no-repeat;
    overflow:hidden;
}
.event-detail-hero:after{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 80% 20%,rgba(229,9,20,.35),transparent 25%);
}
.event-detail-hero-inner{
    position:relative;
    z-index:2;
    padding:110px 0 90px;
}
.event-detail-hero h1{max-width:980px}
.event-detail-hero p:not(.eyebrow){max-width:820px;color:rgba(255,255,255,.82);font-size:20px}
.event-detail-meta{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:28px;
}
.event-detail-meta span{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    padding:10px 14px;
    font-weight:900;
    backdrop-filter:blur(12px);
}
.event-detail-layout{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:32px;
    align-items:start;
}
.event-detail-text,.event-detail-side{
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:32px;
    padding:34px;
    box-shadow:0 20px 60px rgba(5,5,5,.08);
}
.event-detail-text p{color:#555}
.event-detail-side strong{
    display:block;
    color:#b40018;
    font-size:34px;
    margin-top:12px;
}
.event-gallery-detail-section{background:#fff}
.event-detail-gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-auto-rows:245px;
    gap:18px;
}
.event-detail-gallery .gallery-item.large{
    grid-column:span 2;
    grid-row:span 2;
}
.admin-current-img{
    display:flex;
    align-items:center;
    gap:14px;
    background:#f6f6f6;
    border-radius:18px;
    padding:12px;
}
.admin-current-img img{
    width:140px;
    height:90px;
    object-fit:cover;
    border-radius:14px;
}
.admin-event-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.admin-event-gallery-grid article{
    background:#f7f7f7;
    border:1px solid rgba(5,5,5,.06);
    border-radius:24px;
    padding:14px;
    display:grid;
    gap:10px;
}
.admin-event-gallery-grid img{
    width:100%;
    height:190px;
    object-fit:cover;
    border-radius:18px;
}
.admin-actions-cell{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.hidden-delete-form{display:none!important}
@media (max-width:1100px){
    .qr-public-grid,.event-detail-layout{grid-template-columns:1fr}
    .events-wide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .event-wide-img{height:260px;min-height:260px}
    .admin-event-gallery-grid{grid-template-columns:repeat(2,1fr)}
    .event-detail-gallery{grid-template-columns:repeat(2,1fr)}
    .news-preview-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
    .footer-newsletter form{grid-template-columns:1fr}
    .footer-bottom p{flex-direction:column;gap:8px}
    .footer-legal-links a:before{content:"";margin:0}
    .qr-public-card{padding:24px}
    .events-section-inner{width:min(100% - 24px,1360px)}
    .event-wide-content{padding:24px}
    .events-wide-grid{grid-template-columns:1fr}
    .event-wide-img{height:240px;min-height:240px}
    .event-actions-row .btn{width:100%}
    .admin-event-gallery-grid,.event-detail-gallery{grid-template-columns:1fr}
    .event-detail-gallery .gallery-item.large{grid-column:auto;grid-row:auto}
    .news-mini-card{grid-template-columns:1fr}
    .news-mini-card img{height:230px}
}

/* ==========================================================
   Correzione News full width 17/06/2026
   Richiesta: estendere il contenuto al 100%
   Programmatore Esposito Francesco
   ========================================================== */
.news-page-hero-full{
    width:100%;
    min-height:430px;
    display:flex;
    align-items:center;
    background:
        radial-gradient(circle at 78% 18%, rgba(229,9,20,.24), transparent 28%),
        linear-gradient(135deg, rgba(5,5,5,.92), rgba(70,0,12,.84)),
        url('../img/galleria/ranate-vista-porto.jpg') center/cover no-repeat;
}
.news-section-fullwidth{
    width:100%;
    padding:86px 0;
    background:
        radial-gradient(circle at 12px 12px, rgba(5,5,5,.055) 1px, transparent 1px),
        #fff;
    background-size:24px 24px;
    position:relative;
    z-index:2;
}
.container-fluid-content{
    width:calc(100% - 44px);
    max-width:100%;
    margin:0 auto;
}
.news-wide-list{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:34px;
}
.news-wide-card{
    width:100%;
    min-height:360px;
    display:grid;
    grid-template-columns:minmax(360px, 42%) 1fr;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:36px;
    overflow:hidden;
    box-shadow:0 26px 80px rgba(5,5,5,.10);
}
.news-wide-img{
    display:block;
    min-height:360px;
    overflow:hidden;
    background:#111;
}
.news-wide-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease, filter .6s ease;
}
.news-wide-card:hover .news-wide-img img{
    transform:scale(1.055);
    filter:saturate(1.12) contrast(1.04);
}
.news-wide-content{
    padding:44px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
}
.news-wide-meta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}
.news-wide-meta span{
    display:inline-flex;
    align-items:center;
    background:rgba(229,9,20,.09);
    color:#b40018;
    border:1px solid rgba(229,9,20,.16);
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:900;
}
.news-wide-content h2{
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(34px,4vw,64px);
    line-height:.98;
    margin:0 0 18px;
    color:#080808;
    max-width:980px;
}
.news-wide-content p{
    color:#555;
    max-width:900px;
    font-size:18px;
    line-height:1.7;
    margin-bottom:26px;
}
.news-empty-full{
    width:100%;
    min-height:340px;
    display:grid;
    place-items:center;
    text-align:center;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:34px;
    box-shadow:0 22px 70px rgba(5,5,5,.08);
    padding:42px;
}
.news-empty-full p{color:#666;max-width:720px}
.news-preview-grid{
    width:100%;
    max-width:100%;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
}
.news-mini-card{
    width:100%;
}
@media (max-width:980px){
    .news-wide-card{grid-template-columns:1fr}
    .news-wide-img{min-height:280px}
    .news-wide-content{padding:30px}
    .container-fluid-content{width:calc(100% - 28px)}
}
@media (max-width:520px){
    .news-section-fullwidth{padding:64px 0}
    .news-wide-content h2{font-size:34px}
    .news-wide-content p{font-size:16px}
    .news-preview-grid{grid-template-columns:1fr}
}


/* ==========================================================
   Correzione News 3 per riga - 17/06/2026
   Richiesta: news sulla stessa riga, contenitore al 100%,
   almeno 3 card per riga su desktop e adattamento responsive.
   Programmatore Esposito Francesco
   ========================================================== */
.news-section-fullwidth .container-fluid-content{
    width:calc(100% - 48px);
    max-width:1640px;
    margin:0 auto;
}
.news-wide-list{
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:28px;
    align-items:stretch;
}
.news-wide-card{
    width:100%;
    min-height:0;
    display:flex!important;
    flex-direction:column;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 22px 65px rgba(5,5,5,.09);
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.news-wide-card:hover{
    transform:translateY(-7px);
    box-shadow:0 30px 85px rgba(5,5,5,.13);
    border-color:rgba(229,9,20,.18);
}
.news-wide-img{
    width:100%;
    min-height:0!important;
    height:285px;
    display:block;
    overflow:hidden;
    background:#111;
}
.news-wide-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.news-wide-content{
    flex:1;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
}
.news-wide-meta{
    margin-bottom:14px;
}
.news-wide-content h2{
    font-size:clamp(25px,2vw,34px)!important;
    line-height:1.02;
    margin-bottom:14px;
    max-width:100%;
}
.news-wide-content p{
    max-width:100%;
    font-size:16px;
    line-height:1.62;
    margin-bottom:24px;
}
.news-wide-content .btn{
    margin-top:auto;
}
.news-preview .container{
    width:calc(100% - 48px);
    max-width:1640px;
}
.news-preview-grid{
    width:100%;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:28px;
    margin:0 auto;
}
.news-mini-card{
    width:100%;
    display:flex!important;
    flex-direction:column;
    gap:0;
    padding:0;
    background:#fff;
    border-radius:30px;
    overflow:hidden;
}
.news-mini-card img{
    width:100%;
    height:250px!important;
    object-fit:cover;
    border-radius:0!important;
}
.news-mini-card > div{
    flex:1;
    padding:26px;
    display:flex;
    flex-direction:column;
}
.news-mini-card > div a{
    margin-top:auto;
    display:inline-flex;
}
@media (max-width:1180px){
    .news-wide-list,
    .news-preview-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media (max-width:760px){
    .news-section-fullwidth .container-fluid-content,
    .news-preview .container{
        width:calc(100% - 28px);
    }
    .news-wide-list,
    .news-preview-grid{
        grid-template-columns:1fr!important;
        gap:20px;
    }
    .news-wide-img,
    .news-mini-card img{
        height:240px!important;
    }
    .news-wide-content,
    .news-mini-card > div{
        padding:24px;
    }
}


/* ==========================================================
   Correzione Esperienze 3 per riga - 17/06/2026
   Richiesta: pagina esperienze con contenuto a larghezza piena,
   almeno tre card per riga su desktop e adattamento responsive.
   Tutto resta gestibile da area administrator.
   Programmatore Esposito Francesco
   ========================================================== */
.experiences-section-fullwidth{
    background:#fff;
}
.experiences-section-fullwidth .container-fluid-content{
    width:calc(100% - 48px);
    max-width:1640px;
    margin:0 auto;
}
.experiences-grid-three{
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:28px;
    align-items:stretch;
}
.experience-grid-card{
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:32px;
    overflow:hidden;
    box-shadow:0 22px 65px rgba(5,5,5,.09);
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    position:relative;
}
.experience-grid-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg,#e50914,#b40018,#050505);
    z-index:2;
}
.experience-grid-card:hover{
    transform:translateY(-8px);
    box-shadow:0 34px 90px rgba(5,5,5,.14);
    border-color:rgba(229,9,20,.2);
}
.experience-grid-img{
    width:100%;
    height:300px;
    background:#111;
    overflow:hidden;
}
.experience-grid-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease, filter .6s ease;
}
.experience-grid-card:hover .experience-grid-img img{
    transform:scale(1.06);
    filter:saturate(1.08) contrast(1.04);
}
.experience-grid-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:72px;
    background:linear-gradient(135deg,#050505,#b40018);
}
.experience-grid-content{
    flex:1;
    padding:30px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.experience-grid-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:18px;
    background:linear-gradient(135deg,rgba(229,9,20,.13),rgba(180,0,24,.06));
    border:1px solid rgba(229,9,20,.16);
    font-size:26px;
    margin-bottom:16px;
}
.experience-grid-content h2{
    font-size:clamp(30px,2.3vw,42px);
    margin-bottom:14px;
}
.experience-grid-content p:not(.eyebrow){
    color:#555;
    font-size:16px;
    line-height:1.68;
    margin-bottom:24px;
}
.experience-grid-content .btn{
    margin-top:auto;
}
.empty-state{
    background:#fff;
    border:1px solid rgba(5,5,5,.08);
    border-radius:30px;
    box-shadow:0 18px 50px rgba(5,5,5,.07);
    padding:36px;
    text-align:center;
}
@media (max-width:1180px){
    .experiences-grid-three{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .experience-grid-img{
        height:270px;
    }
}
@media (max-width:760px){
    .experiences-section-fullwidth .container-fluid-content{
        width:calc(100% - 28px);
    }
    .experiences-grid-three{
        grid-template-columns:1fr!important;
        gap:22px;
    }
    .experience-grid-img{
        height:240px;
    }
    .experience-grid-content{
        padding:24px;
    }
}

/* ==========================================================
   CMS COMPLETO TESTI / IMMAGINI / MENU - Ranatè
   Programmatore Esposito Francesco
   ========================================================== */
.hero-with-photo::before{
    background:linear-gradient(90deg,rgba(5,5,5,.46),rgba(80,0,12,.63),rgba(5,5,5,.88)),var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) left center/cover no-repeat!important;
}
.cms-help-panel{margin-bottom:22px}.cms-layout{display:grid;grid-template-columns:280px 1fr;gap:22px;align-items:start}.cms-groups{position:sticky;top:24px;display:grid;gap:10px}.cms-groups h2{font-size:28px;margin-bottom:8px}.cms-groups a{display:block;padding:12px 14px;border-radius:14px;background:#f7f7f7;color:#111;font-weight:900;border:1px solid rgba(5,5,5,.06)}.cms-groups a.active,.cms-groups a:hover{background:linear-gradient(135deg,#e50914,#830012);color:#fff}.cms-fields{display:grid;gap:18px}.cms-field{border:1px solid rgba(5,5,5,.08);background:#fafafa;border-radius:20px;padding:18px}.cms-field-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.cms-field-head strong{display:block;font-size:18px}.cms-field-head small{display:block;color:#777;font-weight:800;margin-top:4px}.cms-field textarea{min-height:120px;resize:vertical}.cms-field input[type=text],.cms-field textarea,.nav-admin-table input{width:100%}.cms-image-row{display:flex;align-items:center;gap:18px;margin-top:12px;flex-wrap:wrap}.cms-image-row img{width:170px;height:110px;object-fit:cover;border-radius:16px;border:1px solid rgba(5,5,5,.08);background:#fff}.cms-image-row label{font-weight:900;color:#333}.cms-tip{display:block;margin-top:8px;color:#777}.inline-delete{border:0;background:rgba(229,9,20,.1);color:#b40018;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.inline-delete:hover{background:#e50914;color:#fff}.nav-admin-table{min-width:1050px}.nav-admin-table input[type=number]{max-width:90px}.nav-admin-table input[type=checkbox]{width:22px;height:22px}.news-wide-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%!important}.news-wide-card{display:flex!important;flex-direction:column!important;min-height:100%;overflow:hidden}.news-wide-img{width:100%!important;height:240px!important;display:block}.news-wide-img img{width:100%;height:100%;object-fit:cover}.news-wide-content{padding:24px!important}.news-preview-grid.news-grid-three{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;width:100%}.events-wide-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}.event-wide-card{display:flex!important;flex-direction:column!important;min-height:100%}.event-wide-img{width:100%!important;height:260px!important;display:block}.event-wide-img img{width:100%;height:100%;object-fit:cover}.event-wide-content{padding:24px!important}.experiences-grid-three{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}.experience-grid-card{display:flex!important;flex-direction:column!important;min-height:100%}.experience-grid-img{width:100%;height:250px}.experience-grid-img img{width:100%;height:100%;object-fit:cover}.container-fluid-content{width:min(1560px,calc(100% - 48px));margin:0 auto}.admin-sidebar{overflow:auto}.admin-sidebar nav a{font-size:14px}
@media (max-width:1180px){.cms-layout{grid-template-columns:1fr}.cms-groups{position:static}.news-wide-list,.news-preview-grid.news-grid-three,.events-wide-grid,.experiences-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:760px){.news-wide-list,.news-preview-grid.news-grid-three,.events-wide-grid,.experiences-grid-three{grid-template-columns:1fr!important}.cms-field-head{flex-direction:column}.cms-image-row img{width:100%;height:190px}.container-fluid-content{width:min(100% - 28px,1560px)}}


/* ==========================================================
   Ripristino sfondo mare sotto il blocco testi hero
   Richiesta cliente: mantenere il mare visibile dietro il testo
   senza toccare il resto della struttura.
   ========================================================== */
.hero-with-photo::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(90deg,rgba(5,5,5,.18) 0%,rgba(80,0,10,.42) 42%,rgba(5,5,5,.78) 72%,rgba(5,5,5,.92) 100%),
        linear-gradient(180deg,rgba(180,0,24,.20) 0%,rgba(5,5,5,.48) 100%),
        var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) left center/cover no-repeat !important;
    opacity:.96;
}
.hero-with-photo .hero-content{
    position:relative;
    isolation:isolate;
}
.hero-with-photo .hero-content::before{
    content:"";
    position:absolute;
    inset:-28px -24px -26px -24px;
    z-index:-1;
    border-radius:34px;
    background:linear-gradient(90deg,rgba(5,5,5,.18),rgba(5,5,5,.08));
    border:1px solid rgba(255,255,255,.06);
    backdrop-filter:blur(1.2px);
}
@media (max-width:1050px){
    .hero-with-photo::before{
        background:
            linear-gradient(180deg,rgba(5,5,5,.28),rgba(5,5,5,.80)),
            linear-gradient(180deg,rgba(180,0,24,.22),rgba(5,5,5,.56)),
            var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) center/cover no-repeat !important;
    }
}
@media (max-width:760px){
    .hero-with-photo .hero-content::before{
        inset:-18px -14px -18px -14px;
        border-radius:24px;
        background:rgba(5,5,5,.18);
    }
}


/* ==========================================================
   FIX DEFINITIVO SFONDO MARE HERO
   Il mare viene applicato sia all'intera hero sia al pannello
   dietro il testo Granatello / Ranatè 5 Experiences.
   Non modifica struttura, testi o card destra.
   ========================================================== */
.hero.hero-with-photo{
    background:
        radial-gradient(circle at 12% 70%,rgba(229,9,20,.46),transparent 18%),
        radial-gradient(circle at 85% 28%,rgba(229,9,20,.42),transparent 18%),
        linear-gradient(90deg,rgba(5,5,5,.34) 0%,rgba(65,0,10,.48) 44%,rgba(5,5,5,.88) 73%,rgba(5,5,5,.96) 100%),
        var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) left center/cover no-repeat !important;
}
.hero.hero-with-photo::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
        linear-gradient(90deg,rgba(5,5,5,.12) 0%,rgba(70,0,10,.32) 40%,rgba(5,5,5,.72) 72%,rgba(5,5,5,.92) 100%),
        linear-gradient(180deg,rgba(180,0,24,.10) 0%,rgba(5,5,5,.42) 100%),
        var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) left center/cover no-repeat !important;
    opacity:1 !important;
}
.hero-with-photo .hero-content{
    position:relative;
    isolation:isolate;
}
.hero-with-photo .hero-content::before{
    content:"";
    position:absolute;
    inset:-32px -28px -30px -28px;
    z-index:-1;
    border-radius:34px;
    background:
        linear-gradient(90deg,rgba(5,5,5,.38) 0%,rgba(80,0,12,.34) 48%,rgba(5,5,5,.20) 100%),
        var(--hero-bg,url('../img/galleria/ranate-vista-porto.jpg')) left center/cover no-repeat !important;
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 28px 90px rgba(0,0,0,.24);
    opacity:1 !important;
}
.hero-with-photo .hero-content::after{
    content:"";
    position:absolute;
    inset:-32px -28px -30px -28px;
    z-index:-1;
    border-radius:34px;
    background:linear-gradient(90deg,rgba(5,5,5,.18),rgba(5,5,5,.08));
    pointer-events:none;
}
.hero-with-photo .hero-grid,
.hero-with-photo .hero-bg-orb{
    position:relative;
}
.hero-with-photo .hero-grid{z-index:2}
.hero-with-photo .hero-bg-orb{z-index:1}
@media (max-width:1050px){
    .hero.hero-with-photo,
    .hero.hero-with-photo::before,
    .hero-with-photo .hero-content::before{
        background-position:center !important;
    }
}
@media (max-width:760px){
    .hero-with-photo .hero-content::before,
    .hero-with-photo .hero-content::after{
        inset:-20px -16px -20px -16px;
        border-radius:24px;
    }
}

/* Ranatè App/PWA integration */
.floating-app{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#c4101e;color:white;box-shadow:0 18px 38px rgba(196,16,30,.35);font-weight:900;border:1px solid rgba(255,255,255,.25)}
.floating-app span{font-size:22px;line-height:1}.floating-app small{font-size:10px;margin-top:-8px}.app-download-hero{background:radial-gradient(circle at 12% 0,rgba(196,16,30,.20),transparent 36%),linear-gradient(135deg,#080808,#240007 55%,#c4101e);color:white;min-height:72vh;display:flex;align-items:center}.app-download-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}.app-download-copy h1{font-size:clamp(42px,6vw,78px);line-height:.95;margin:14px 0}.app-download-copy p{font-size:20px;line-height:1.6;color:#ffe4e7}.app-download-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.app-download-note{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:22px;padding:18px;line-height:1.6;color:#ffe4e7}.phone-frame{width:min(360px,90vw);margin:auto;border:1px solid rgba(255,255,255,.18);background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.05));border-radius:42px;padding:30px;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.35)}.phone-logo{width:160px;height:160px;object-fit:cover;border-radius:34px;margin:0 auto 18px;box-shadow:0 20px 45px rgba(0,0,0,.24)}.phone-frame h2{font-size:30px;margin:0 0 10px}.phone-frame p{color:#ffe4e7;line-height:1.5}.phone-button{display:inline-flex;border-radius:18px;background:white;color:#c4101e;font-weight:900;padding:13px 18px;margin-top:12px}.btn.ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:white}@media(max-width:900px){.app-download-grid{grid-template-columns:1fr}.app-download-hero{padding:36px 0}.phone-frame{width:min(330px,100%)}}

/* --- Hero migliorato: pills centrati e porto in sfumatura sotto il testo --- */
.hero-shell{position:relative;z-index:2;display:grid;gap:26px}
.hero-shell .hero-grid{margin-bottom:0;align-items:stretch}
.hero-content{display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate}
.hero-with-photo .hero-content::before{
    content:"";
    position:absolute;
    inset:-32px -28px -30px -28px;
    z-index:-1;
    border-radius:34px;
    background:
      linear-gradient(180deg,rgba(10,10,10,.82) 0%,rgba(40,0,8,.60) 36%,rgba(65,0,10,.34) 58%,rgba(18,18,18,.18) 100%),
      linear-gradient(90deg,rgba(8,8,8,.46) 0%,rgba(100,0,15,.20) 48%,rgba(8,8,8,.20) 100%),
      url('../img/granatello-panorama.jpg') center bottom/cover no-repeat !important;
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 28px 90px rgba(0,0,0,.24);
    opacity:1 !important;
}
.hero-with-photo .hero-content::after{
    content:"";
    position:absolute;
    inset:-32px -28px -30px -28px;
    z-index:-1;
    border-radius:34px;
    background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));
    pointer-events:none;
}
.hero-info-card{margin-top:24px;background:rgba(255,255,255,.10);backdrop-filter:blur(7px);border-color:rgba(255,255,255,.12)}
.hero-photo-visual{min-height:auto}
.photo-main-card{min-height:460px;border-radius:34px;box-shadow:0 28px 65px rgba(0,0,0,.24)}
.photo-card-overlay{justify-content:flex-end}
.photo-card-overlay h2{font-size:64px;line-height:.93;max-width:480px;margin:12px 0 16px}
.photo-card-overlay p{font-size:19px;line-height:1.6;max-width:480px}
.photo-card-overlay .card-label{display:inline-flex;align-self:flex-start;background:rgba(255,255,255,.92);color:#7f0011;border:0;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.14)}
.hero-pills-wrap{
    position:relative;
    left:50%;
    transform:translateX(-50%);
    width:100vw;
    display:flex;
    justify-content:center;
    margin-top:4px;
    z-index:3;
}
.hero-pills-centered{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;width:100%;max-width:760px;margin:0 auto;padding:0 24px}
.center-pill{display:inline-flex;align-items:center;justify-content:center;flex:0 1 190px;min-width:190px;padding:14px 20px;border-radius:999px;background:rgba(255,255,255,.96);color:#111;border:1px solid rgba(229,9,20,.22);box-shadow:0 16px 38px rgba(0,0,0,.16);font-weight:900;font-size:15px;text-align:center}
@media (max-width:1100px){
  .photo-card-overlay h2{font-size:52px}
}
@media (max-width:760px){
  .hero-with-photo .hero-content::before,
  .hero-with-photo .hero-content::after{inset:-20px -16px -20px -16px;border-radius:24px}
  .hero-pills-centered{max-width:100%;gap:10px;padding:0 18px}
  .center-pill{min-width:unset;width:100%;flex:1 1 100%}
  .photo-main-card{min-height:390px}
  .photo-card-overlay{padding:28px}
  .photo-card-overlay h2{font-size:42px}
  .photo-card-overlay p{font-size:17px}
}

/* --- HERO FINAL FIX: blocco centrato, card destra contenuta, pills centrati --- */
.hero-shell{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  gap:20px;
}
.hero-shell .hero-grid{
  grid-template-columns:minmax(0, 1.05fr) minmax(360px, 450px);
  gap:34px;
  align-items:center;
  max-width:1240px;
  margin:0 auto;
}
.hero-with-photo .hero-content{
  max-width:760px;
  width:100%;
  padding:10px 6px;
}
.hero-with-photo .hero-content h1{
  max-width:760px;
  font-size:clamp(54px, 5.3vw, 82px);
  line-height:.96;
  margin-bottom:18px;
}
.hero-with-photo .hero-content .hero-lead{
  max-width:620px;
  font-size:clamp(20px, 1.6vw, 24px);
  line-height:1.55;
}
.hero-with-photo .hero-content::before,
.hero-with-photo .hero-content::after{
  inset:-20px -18px -20px -18px;
}
.hero-photo-visual{
  width:100%;
  min-width:0;
  display:flex;
  justify-content:center;
}
.photo-main-card{
  width:100%;
  max-width:450px;
  min-height:500px;
  margin:0 auto;
}
.photo-card-overlay{
  padding:40px 36px;
}
.photo-card-overlay h2{
  font-size:clamp(42px, 3.9vw, 58px);
  line-height:.94;
  max-width:330px;
}
.photo-card-overlay p{
  font-size:18px;
  max-width:340px;
}
.hero-pills-wrap{
  left:auto;
  transform:none;
  width:100%;
  max-width:1240px;
  margin:8px auto 0;
  padding:0 10px;
}
.hero-pills-centered{
  width:100%;
  max-width:720px;
  margin:0 auto;
  justify-content:center;
}
.center-pill{
  flex:0 1 190px;
  min-width:190px;
}
@media (max-width:1180px){
  .hero-shell .hero-grid{grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:24px}
}
@media (max-width:1050px){
  .hero-shell .hero-grid{grid-template-columns:1fr;max-width:760px}
  .hero-with-photo .hero-content{max-width:100%;text-align:left}
  .hero-with-photo .hero-content .hero-lead{max-width:100%}
  .photo-main-card{max-width:100%;min-height:430px}
  .hero-pills-wrap{max-width:760px}
}
@media (max-width:760px){
  .hero-shell{gap:16px}
  .hero-shell .hero-grid{max-width:100%;gap:20px}
  .hero-with-photo .hero-content h1{font-size:clamp(40px, 10vw, 56px)}
  .hero-with-photo .hero-content .hero-lead{font-size:18px}
  .photo-main-card{min-height:360px}
  .hero-pills-wrap{padding:0}
}

/* --- HERO V3 COMPLETAMENTE RICREATO --- */
.hero.hero-v3{
  min-height:calc(100vh - 82px);
}
.hero.hero-v3::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(5,5,5,.82) 0%, rgba(28,0,7,.58) 42%, rgba(5,5,5,.84) 100%),
    var(--hero-bg) center center/cover no-repeat;
  opacity:.92;
  z-index:0;
}
.hero-v3-wrap{
  position:relative;
  z-index:2;
  width:min(1260px, calc(100% - 34px));
  margin:0 auto;
  display:grid;
  gap:24px;
}
.hero-v3-panel{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);
  gap:34px;
  align-items:center;
  background:linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  border-radius:40px;
  padding:34px;
  box-shadow:0 28px 90px rgba(0,0,0,.25);
  backdrop-filter:blur(16px);
  overflow:hidden;
  position:relative;
}
.hero-v3-panel::before{
  content:"";
  position:absolute;
  inset:auto auto -120px -110px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(229,9,20,.30), transparent 62%);
  pointer-events:none;
}
.hero-v3-copy{
  position:relative;
  z-index:2;
  padding:18px 6px 18px 6px;
}
.hero-v3-copy h1{
  font-size:clamp(58px, 7vw, 92px);
  line-height:.93;
  max-width:700px;
  margin-bottom:18px;
}
.hero-v3-copy .hero-lead{
  max-width:640px;
  font-size:clamp(19px, 2vw, 24px);
  color:rgba(255,255,255,.88);
}
.hero-v3-info{
  max-width:580px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 40px rgba(0,0,0,.16);
}
.hero-v3-showcase{
  position:relative;
  min-width:0;
  z-index:2;
}
.hero-v3-photo{
  position:relative;
  min-height:500px;
  border-radius:34px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 25px 60px rgba(0,0,0,.26);
}
.hero-v3-photo img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.82) saturate(1.06);
}
.hero-v3-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,5,5,.10), rgba(5,5,5,.82));
}
.hero-v3-photo-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:34px;
}
.hero-v3-tag{
  align-self:flex-start;
  display:inline-flex;
  background:rgba(255,255,255,.95);
  color:#8e0011;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  margin-bottom:16px;
}
.hero-v3-photo-overlay h2{
  font-size:clamp(42px,4.2vw,60px);
  line-height:.92;
  max-width:340px;
  margin-bottom:14px;
}
.hero-v3-photo-overlay p{
  max-width:370px;
  color:rgba(255,255,255,.88);
  font-size:18px;
  line-height:1.65;
  margin:0;
}
.hero-v3-mini{
  position:absolute;
  z-index:3;
  background:rgba(255,255,255,.94);
  color:#111;
  border:1px solid rgba(229,9,20,.22);
  border-radius:22px;
  box-shadow:0 16px 38px rgba(0,0,0,.16);
}
.hero-v3-mini-top{
  top:-12px;
  right:-8px;
  min-width:112px;
  padding:16px 18px;
  text-align:center;
}
.hero-v3-mini-top strong{
  display:block;
  font-size:34px;
  line-height:1;
  color:#b40018;
}
.hero-v3-mini-top span{
  display:block;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1.3px;
}
.hero-v3-mini-bottom{
  left:-12px;
  bottom:18px;
  padding:14px 18px;
  font-weight:900;
}
.hero-v3-pills{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  width:100%;
  max-width:760px;
  margin:0 auto;
  position:relative;
  z-index:2;
}
.hero-v3-pills .center-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  padding:15px 22px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#111;
  border:1px solid rgba(229,9,20,.22);
  box-shadow:0 16px 38px rgba(0,0,0,.16);
  font-weight:900;
}
@media (max-width:1100px){
  .hero-v3-panel{
    grid-template-columns:1fr;
    max-width:860px;
    margin:0 auto;
  }
  .hero-v3-copy h1{max-width:100%}
  .hero-v3-photo{min-height:430px}
}
@media (max-width:760px){
  .hero-v3-wrap{gap:18px}
  .hero-v3-panel{padding:22px;border-radius:28px;gap:22px}
  .hero-v3-copy h1{font-size:clamp(42px, 11vw, 58px)}
  .hero-v3-copy .hero-lead{font-size:18px}
  .hero-v3-photo{min-height:360px;border-radius:24px}
  .hero-v3-photo-overlay{padding:24px}
  .hero-v3-photo-overlay h2{font-size:38px;max-width:270px}
  .hero-v3-photo-overlay p{font-size:16px}
  .hero-v3-mini-top{top:10px;right:10px}
  .hero-v3-mini-bottom{left:10px;bottom:10px}
  .hero-v3-pills .center-pill{width:100%;min-width:unset}
}

/* --- HERO APPROVATO DAL MOCKUP --- */
.hero.hero-v3{
  min-height:calc(100vh - 82px);
  padding:76px 0 130px;
  align-items:center;
}
.hero.hero-v3::before{
  background:
    linear-gradient(90deg, rgba(10,7,8,.78) 0%, rgba(38,10,14,.56) 36%, rgba(15,10,12,.78) 100%),
    var(--hero-bg) center center/cover no-repeat;
  opacity:.96;
}
.hero.hero-v3 .orb-one{
  width:310px;
  height:310px;
  left:-40px;
  right:auto;
  top:auto;
  bottom:170px;
  background:#ff2833;
  opacity:.58;
  filter:blur(6px);
}
.hero.hero-v3 .orb-two{
  width:520px;
  height:520px;
  left:16%;
  top:0;
  bottom:auto;
  background:radial-gradient(circle, rgba(229,9,20,.18), transparent 65%);
  opacity:.7;
  filter:blur(36px);
}
.hero-v3-wrap{
  width:min(1320px, calc(100% - 42px));
  gap:28px;
}
.hero-v3-panel{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  backdrop-filter:none;
  padding:0;
  overflow:visible;
  grid-template-columns:minmax(540px, 1.08fr) minmax(360px, .9fr);
  gap:34px;
  justify-content:center;
}
.hero-v3-panel::before{display:none}
.hero-v3-copy{
  background:linear-gradient(140deg, rgba(28,18,19,.78), rgba(10,8,9,.60));
  border:1px solid rgba(255,90,90,.25);
  border-radius:42px;
  padding:44px 42px 36px;
  box-shadow:0 0 0 1px rgba(255,255,255,.05) inset, 0 14px 40px rgba(0,0,0,.18), 0 0 28px rgba(229,9,20,.14);
  backdrop-filter:blur(12px);
  position:relative;
  max-width:100%;
}
.hero-v3-copy::after{
  content:"";
  position:absolute;
  inset:auto 28px 120px 28px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.hero-v3-copy .eyebrow{
  letter-spacing:4px;
  margin-bottom:18px;
}
.hero-v3-copy h1{
  font-size:clamp(64px, 6.2vw, 96px);
  line-height:.9;
  max-width:560px;
  margin-bottom:22px;
}
.hero-v3-copy .hero-lead{
  max-width:540px;
  font-size:clamp(18px, 1.7vw, 24px);
  line-height:1.56;
  color:rgba(255,255,255,.9);
  margin-bottom:28px;
}
.hero-v3-copy .hero-actions{
  gap:16px;
  margin-bottom:32px;
}
.hero-v3-copy .hero-actions .btn{
  width:auto;
  min-width:178px;
  justify-content:center;
  border-radius:999px;
  padding:16px 28px;
  font-size:18px;
}
.hero-v3-copy .hero-actions .btn::after{
  content:'›';
  margin-left:10px;
  font-size:20px;
  line-height:1;
}
.hero-v3-copy .hero-actions .btn.ghost{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.18);
}
.hero-v3-info{
  background:transparent;
  border:0;
  box-shadow:none;
  max-width:100%;
  padding:28px 0 0;
  border-top:1px solid rgba(255,255,255,.10);
  gap:14px;
}
.hero-v3-info span{
  font-size:17px;
  color:rgba(255,255,255,.96);
}
.hero-v3-showcase{max-width:450px;width:100%;justify-self:center}
.hero-v3-photo{
  min-height:560px;
  border-radius:34px;
  box-shadow:0 14px 40px rgba(0,0,0,.20), 0 0 18px rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
}
.hero-v3-photo img{filter:brightness(.82) saturate(1.03)}
.hero-v3-photo::after{background:linear-gradient(180deg, rgba(6,6,6,.05), rgba(6,6,6,.82))}
.hero-v3-photo-overlay{padding:34px 30px 30px}
.hero-v3-tag{
  padding:11px 16px;
  font-size:14px;
  font-weight:900;
  margin-bottom:18px;
}
.hero-v3-photo-overlay h2{
  font-size:clamp(48px, 4vw, 66px);
  line-height:.9;
  max-width:330px;
  margin-bottom:16px;
}
.hero-v3-photo-overlay p{
  max-width:350px;
  font-size:17px;
  line-height:1.6;
}
.hero-v3-mini{
  border-radius:24px;
  background:rgba(255,255,255,.96);
}
.hero-v3-mini-top{
  top:-12px;
  right:-18px;
  min-width:126px;
  padding:18px 18px 16px;
}
.hero-v3-mini-top strong{font-size:48px}
.hero-v3-mini-top span{font-size:13px;letter-spacing:.4px;text-transform:none}
.hero-v3-mini-bottom{
  left:20px;
  bottom:18px;
  padding:14px 18px;
  font-size:16px;
}
.hero-v3-pills{
  max-width:860px;
  gap:22px;
  margin-top:-6px;
}
.hero-v3-pills .center-pill{
  min-width:190px;
  font-size:16px;
  padding:17px 28px;
  box-shadow:0 14px 32px rgba(0,0,0,.14);
}
@media (max-width:1180px){
  .hero-v3-panel{grid-template-columns:minmax(0,1fr) minmax(340px,420px)}
  .hero-v3-copy h1{font-size:clamp(58px,5.6vw,84px)}
}
@media (max-width:1020px){
  .hero.hero-v3{padding:58px 0 110px}
  .hero-v3-panel{grid-template-columns:1fr;max-width:860px;margin:0 auto;gap:26px}
  .hero-v3-showcase{max-width:100%}
  .hero-v3-photo{min-height:460px}
  .hero-v3-pills{max-width:760px;gap:14px}
}
@media (max-width:760px){
  .hero.hero-v3{padding:42px 0 95px}
  .hero.hero-v3 .orb-one{width:220px;height:220px;bottom:120px;left:-60px}
  .hero-v3-wrap{width:min(100% - 24px, 100%);gap:18px}
  .hero-v3-copy{padding:28px 24px 24px;border-radius:28px}
  .hero-v3-copy::after{inset:auto 18px 102px 18px}
  .hero-v3-copy h1{font-size:clamp(42px, 11vw, 58px)}
  .hero-v3-copy .hero-actions .btn{width:100%;min-width:unset}
  .hero-v3-info{padding-top:24px}
  .hero-v3-info span{font-size:15px}
  .hero-v3-photo{min-height:380px;border-radius:26px}
  .hero-v3-photo-overlay{padding:24px}
  .hero-v3-photo-overlay h2{font-size:40px;max-width:240px}
  .hero-v3-photo-overlay p{font-size:15px;max-width:290px}
  .hero-v3-mini-top{right:8px;top:8px;min-width:112px;padding:14px 14px 12px}
  .hero-v3-mini-top strong{font-size:38px}
  .hero-v3-mini-bottom{left:10px;bottom:10px;font-size:14px}
  .hero-v3-pills{gap:12px}
  .hero-v3-pills .center-pill{width:100%;min-width:unset}
}


/* ==========================================================
   HERO CENTER FIX DEFINITIVO + ANIMAZIONI CONTINUE
   Questa sezione forza il blocco HERO al centro della viewport
   e mantiene l'arco inferiore rosso/bianco.
   ========================================================== */
.hero.hero-v3{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  min-height:calc(100vh - 82px) !important;
  padding:72px 0 132px !important;
  overflow:hidden !important;
}
.hero.hero-v3::before{
  inset:-22px !important;
  background:
    linear-gradient(90deg, rgba(7,5,6,.86) 0%, rgba(42,5,12,.56) 38%, rgba(7,5,6,.88) 100%),
    var(--hero-bg) center center/cover no-repeat !important;
  opacity:1 !important;
  animation:ranateHeroBreath 18s ease-in-out infinite !important;
  transform-origin:center center;
}
.hero.hero-v3::after{
  z-index:1 !important;
  border-top:7px solid #c4101e !important;
  box-shadow:0 -18px 55px rgba(196,16,30,.22) !important;
}
.hero.hero-v3 .hero-v3-wrap{
  width:min(1120px, calc(100vw - 52px)) !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  display:grid !important;
  justify-items:center !important;
  gap:28px !important;
  z-index:3 !important;
}
.hero.hero-v3 .hero-v3-panel{
  width:100% !important;
  max-width:1120px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0, 520px) minmax(0, 430px) !important;
  gap:28px !important;
  justify-content:center !important;
  align-items:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.hero.hero-v3 .hero-v3-copy{
  width:100% !important;
  max-width:520px !important;
  margin:0 !important;
  padding:44px 42px 36px !important;
  border-radius:38px !important;
  background:linear-gradient(140deg, rgba(36,20,22,.80), rgba(10,8,9,.68)) !important;
  border:1px solid rgba(255,105,105,.26) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 18px 48px rgba(0,0,0,.26),
    0 0 30px rgba(229,9,20,.16) !important;
  backdrop-filter:blur(14px) !important;
  animation:ranateCardFloat 8s ease-in-out infinite !important;
}
.hero.hero-v3 .hero-v3-copy .eyebrow{
  color:#ff2531 !important;
  letter-spacing:4px !important;
  margin-bottom:18px !important;
}
.hero.hero-v3 .hero-v3-copy h1{
  font-size:clamp(54px, 4.6vw, 78px) !important;
  line-height:.92 !important;
  letter-spacing:-2px !important;
  max-width:440px !important;
  margin:0 0 22px !important;
}
.hero.hero-v3 .hero-v3-copy .hero-lead{
  max-width:440px !important;
  font-size:18px !important;
  line-height:1.65 !important;
  margin:0 0 28px !important;
  color:rgba(255,255,255,.92) !important;
}
.hero.hero-v3 .hero-v3-copy .hero-actions{
  display:flex !important;
  gap:16px !important;
  flex-wrap:wrap !important;
  margin:0 0 34px !important;
}
.hero.hero-v3 .hero-v3-copy .hero-actions .btn{
  width:auto !important;
  min-width:155px !important;
  padding:16px 24px !important;
  border-radius:999px !important;
  position:relative !important;
  overflow:hidden !important;
}
.hero.hero-v3 .hero-v3-copy .hero-actions .btn.primary::before{
  content:"";
  position:absolute;
  inset:0 auto 0 -70%;
  width:52%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform:skewX(-18deg);
  animation:ranateButtonShine 4.8s ease-in-out infinite;
}
.hero.hero-v3 .hero-v3-info{
  padding:28px 0 0 !important;
  border-top:1px solid rgba(255,255,255,.12) !important;
  background:transparent !important;
  box-shadow:none !important;
  border-left:0 !important;
  border-right:0 !important;
  border-bottom:0 !important;
  border-radius:0 !important;
  max-width:100% !important;
}
.hero.hero-v3 .hero-v3-info span{
  font-size:16px !important;
}
.hero.hero-v3 .hero-v3-showcase{
  width:100% !important;
  max-width:430px !important;
  justify-self:center !important;
  animation:ranateCardFloat 8s ease-in-out infinite .8s !important;
}
.hero.hero-v3 .hero-v3-photo{
  width:100% !important;
  min-height:500px !important;
  max-height:500px !important;
  border-radius:34px !important;
  overflow:hidden !important;
  box-shadow:0 18px 52px rgba(0,0,0,.28), 0 0 22px rgba(255,255,255,.08) !important;
}
.hero.hero-v3 .hero-v3-photo img{
  animation:ranateImageAlive 16s ease-in-out infinite !important;
  transform-origin:center center;
}
.hero.hero-v3 .hero-v3-photo-overlay{
  padding:34px 30px 30px !important;
}
.hero.hero-v3 .hero-v3-photo-overlay h2{
  font-size:clamp(44px, 3.4vw, 58px) !important;
  line-height:.9 !important;
  max-width:310px !important;
}
.hero.hero-v3 .hero-v3-photo-overlay p{
  max-width:330px !important;
  font-size:16px !important;
  line-height:1.62 !important;
}
.hero.hero-v3 .hero-v3-mini{
  animation:ranateBadgeFloat 5.8s ease-in-out infinite !important;
}
.hero.hero-v3 .hero-v3-mini-top{
  right:-14px !important;
  top:-12px !important;
}
.hero.hero-v3 .hero-v3-mini-bottom{
  left:0 !important;
  bottom:18px !important;
}
.hero.hero-v3 .hero-v3-pills{
  width:100% !important;
  max-width:650px !important;
  margin:0 auto !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:20px !important;
  flex-wrap:wrap !important;
  position:relative !important;
  left:auto !important;
  transform:none !important;
}
.hero.hero-v3 .hero-v3-pills .center-pill{
  flex:0 0 190px !important;
  min-width:190px !important;
  width:190px !important;
  justify-content:center !important;
  animation:ranatePillAlive 6s ease-in-out infinite !important;
}
.hero.hero-v3 .hero-v3-pills .center-pill:nth-child(2){animation-delay:.5s !important}
.hero.hero-v3 .hero-v3-pills .center-pill:nth-child(3){animation-delay:1s !important}

@keyframes ranateHeroBreath{
  0%,100%{transform:scale(1); filter:saturate(1) brightness(1)}
  50%{transform:scale(1.045); filter:saturate(1.13) brightness(1.05)}
}
@keyframes ranateCardFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-8px,0)}
}
@keyframes ranateImageAlive{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.055)}
}
@keyframes ranateBadgeFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-7px,0)}
}
@keyframes ranatePillAlive{
  0%,100%{transform:translateY(0); box-shadow:0 14px 32px rgba(0,0,0,.14)}
  50%{transform:translateY(-6px); box-shadow:0 20px 42px rgba(0,0,0,.22)}
}
@keyframes ranateButtonShine{
  0%,35%{left:-70%}
  55%,100%{left:125%}
}

@media (max-width:1120px){
  .hero.hero-v3 .hero-v3-wrap{
    width:min(900px, calc(100vw - 42px)) !important;
    max-width:900px !important;
  }
  .hero.hero-v3 .hero-v3-panel{
    max-width:900px !important;
    grid-template-columns:1fr !important;
  }
  .hero.hero-v3 .hero-v3-copy,
  .hero.hero-v3 .hero-v3-showcase{
    max-width:100% !important;
  }
  .hero.hero-v3 .hero-v3-photo{
    min-height:420px !important;
    max-height:none !important;
  }
}
@media (max-width:760px){
  .hero.hero-v3{
    padding:42px 0 100px !important;
  }
  .hero.hero-v3 .hero-v3-wrap{
    width:min(100% - 24px, 100%) !important;
    gap:18px !important;
  }
  .hero.hero-v3 .hero-v3-copy{
    padding:28px 24px 24px !important;
    border-radius:28px !important;
  }
  .hero.hero-v3 .hero-v3-copy h1{
    font-size:clamp(42px, 11vw, 58px) !important;
    max-width:100% !important;
  }
  .hero.hero-v3 .hero-v3-copy .hero-lead{
    max-width:100% !important;
    font-size:17px !important;
  }
  .hero.hero-v3 .hero-v3-copy .hero-actions .btn{
    width:100% !important;
  }
  .hero.hero-v3 .hero-v3-photo{
    min-height:360px !important;
  }
  .hero.hero-v3 .hero-v3-pills{
    gap:12px !important;
  }
  .hero.hero-v3 .hero-v3-pills .center-pill{
    width:100% !important;
    flex:1 1 100% !important;
  }
}
@media (prefers-reduced-motion: reduce){
  .hero.hero-v3::before,
  .hero.hero-v3 .hero-v3-copy,
  .hero.hero-v3 .hero-v3-showcase,
  .hero.hero-v3 .hero-v3-photo img,
  .hero.hero-v3 .hero-v3-mini,
  .hero.hero-v3 .hero-v3-pills .center-pill,
  .hero.hero-v3 .hero-v3-copy .hero-actions .btn.primary::before{
    animation:none !important;
  }
}

/* ==========================================================
   FIX FINALE HERO-V3-WRAP 100% + CENTRATURA REALE
   Richiesta: hero-v3-wrap centrato e width al 100%.
   Programmatore Esposito Francesco
   ========================================================== */

/* Il wrapper prende tutta la larghezza della hero */
.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    display:grid !important;
    justify-items:center !important;
    align-items:center !important;
    justify-content:center !important;
    gap:28px !important;
    z-index:3 !important;
    box-sizing:border-box !important;
}

/* Il contenuto interno resta centrato con una larghezza controllata */
.hero.hero-v3 .hero-v3-panel{
    width:min(1120px, calc(100% - 52px)) !important;
    max-width:1120px !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
    justify-self:center !important;
    align-self:center !important;
    display:grid !important;
    grid-template-columns:minmax(0, 520px) minmax(0, 430px) !important;
    gap:28px !important;
    justify-content:center !important;
    align-items:center !important;
    box-sizing:border-box !important;
}

/* Le due card non devono spingere il blocco verso destra */
.hero.hero-v3 .hero-v3-copy{
    width:100% !important;
    max-width:520px !important;
    min-width:0 !important;
    justify-self:center !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-showcase{
    width:100% !important;
    max-width:430px !important;
    min-width:0 !important;
    justify-self:center !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
}

/* I tre pulsanti sotto devono stare centrati rispetto alla pagina, non alla card */
.hero.hero-v3 .hero-v3-pills{
    width:100% !important;
    max-width:760px !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
    justify-self:center !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:20px !important;
    flex-wrap:wrap !important;
    position:relative !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
    box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-pills .center-pill{
    flex:0 0 190px !important;
    width:190px !important;
    min-width:190px !important;
    max-width:190px !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Mantiene la hero perfettamente al centro della viewport */
.hero.hero-v3{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:left !important;
}

/* Responsive: su tablet e mobile il blocco resta centrato e non esce dallo schermo */
@media (max-width:1120px){
    .hero.hero-v3 .hero-v3-panel{
        width:min(900px, calc(100% - 42px)) !important;
        max-width:900px !important;
        grid-template-columns:1fr !important;
    }

    .hero.hero-v3 .hero-v3-copy,
    .hero.hero-v3 .hero-v3-showcase{
        max-width:100% !important;
        width:100% !important;
    }

    .hero.hero-v3 .hero-v3-pills{
        width:min(760px, calc(100% - 42px)) !important;
        max-width:760px !important;
    }
}

@media (max-width:760px){
    .hero.hero-v3 > .container.hero-v3-wrap,
    .hero.hero-v3 .hero-v3-wrap{
        width:100% !important;
        max-width:100% !important;
        padding-left:0 !important;
        padding-right:0 !important;
        gap:18px !important;
    }

    .hero.hero-v3 .hero-v3-panel{
        width:calc(100% - 24px) !important;
        max-width:calc(100% - 24px) !important;
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    .hero.hero-v3 .hero-v3-pills{
        width:calc(100% - 24px) !important;
        max-width:calc(100% - 24px) !important;
        gap:12px !important;
    }

    .hero.hero-v3 .hero-v3-pills .center-pill{
        flex:1 1 100% !important;
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
    }
}
/* Home hero vertical lift - definitivo */
.hero.hero-v3{
  display:grid !important;
  place-items:start center !important;
  align-content:start !important;
  align-items:start !important;
  justify-content:center !important;
  padding:28px 0 78px !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  align-self:start !important;
  margin-top:0 !important;
}

@media (max-width:1120px){
  .hero.hero-v3{
    padding:24px 0 76px !important;
  }
}

@media (max-width:760px){
  .hero.hero-v3{
    padding:22px 0 82px !important;
  }
}
/* ==========================================================
   CODEX HERO FINAL FIX
   Correzione home: meno spazio alto, testi dentro le card,
   card immagine leggibile e pill inferiori non sovrapposte.
   ========================================================== */
.hero.hero-v3{
  display:block !important;
  min-height:auto !important;
  height:auto !important;
  padding:28px 0 72px !important;
  overflow:hidden !important;
  align-items:initial !important;
  justify-content:initial !important;
}

.hero.hero-v3::after{
  bottom:-86px !important;
  height:150px !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  width:min(1040px, calc(100% - 48px)) !important;
  max-width:1040px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  gap:24px !important;
  justify-items:center !important;
  align-items:start !important;
  justify-content:center !important;
  align-content:start !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  z-index:3 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-panel{
  width:100% !important;
  max-width:1040px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0, 470px) minmax(0, 400px) !important;
  gap:28px !important;
  justify-content:center !important;
  align-items:center !important;
  justify-items:stretch !important;
  overflow:visible !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-copy{
  width:100% !important;
  max-width:470px !important;
  min-width:0 !important;
  justify-self:end !important;
  margin:0 !important;
  padding:38px 40px 34px !important;
  border-radius:34px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-copy::after{
  inset:auto 28px 106px 28px !important;
}

.hero.hero-v3 .hero-v3-copy .eyebrow{
  font-size:13px !important;
  letter-spacing:5px !important;
  line-height:1.2 !important;
  margin:0 0 18px !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-copy h1{
  max-width:100% !important;
  width:100% !important;
  font-size:clamp(44px, 3.35vw, 62px) !important;
  line-height:.95 !important;
  letter-spacing:-1px !important;
  margin:0 0 20px !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

.hero.hero-v3 .hero-v3-copy .hero-lead{
  max-width:100% !important;
  font-size:17px !important;
  line-height:1.55 !important;
  margin:0 0 24px !important;
}

.hero.hero-v3 .hero-v3-copy .hero-actions{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin:0 0 28px !important;
}

.hero.hero-v3 .hero-v3-copy .hero-actions .btn{
  width:auto !important;
  min-width:150px !important;
  max-width:100% !important;
  padding:15px 22px !important;
  font-size:16px !important;
  white-space:nowrap !important;
}

.hero.hero-v3 .hero-v3-info{
  max-width:100% !important;
  padding:24px 0 0 !important;
  gap:10px !important;
  overflow:hidden !important;
}

.hero.hero-v3 .hero-v3-info span{
  display:block !important;
  max-width:100% !important;
  font-size:15px !important;
  line-height:1.45 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-showcase{
  width:100% !important;
  max-width:400px !important;
  min-width:0 !important;
  justify-self:start !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-photo{
  width:100% !important;
  min-height:500px !important;
  max-height:none !important;
  border-radius:32px !important;
  overflow:hidden !important;
}

.hero.hero-v3 .hero-v3-photo-overlay{
  padding:30px 28px 86px !important;
}

.hero.hero-v3 .hero-v3-tag{
  margin-bottom:16px !important;
}

.hero.hero-v3 .hero-v3-photo-overlay h2{
  max-width:100% !important;
  font-size:clamp(36px, 3vw, 50px) !important;
  line-height:.95 !important;
  letter-spacing:-.5px !important;
  margin:0 0 14px !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

.hero.hero-v3 .hero-v3-photo-overlay p{
  max-width:100% !important;
  font-size:15px !important;
  line-height:1.45 !important;
  margin:0 !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-mini-top{
  right:-12px !important;
  top:-18px !important;
}

.hero.hero-v3 .hero-v3-mini-bottom{
  left:22px !important;
  bottom:18px !important;
  max-width:calc(100% - 44px) !important;
  white-space:normal !important;
  text-align:center !important;
}

.hero.hero-v3 .hero-v3-pills{
  width:100% !important;
  max-width:660px !important;
  margin:0 auto !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:16px !important;
  flex-wrap:wrap !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  z-index:4 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-pills .center-pill{
  flex:0 1 180px !important;
  width:auto !important;
  min-width:170px !important;
  max-width:200px !important;
  padding:15px 20px !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
}

@media (min-width:1500px){
  .hero.hero-v3{
    padding-top:34px !important;
  }
}

@media (max-width:1120px){
  .hero.hero-v3{
    padding:26px 0 72px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    width:min(900px, calc(100% - 42px)) !important;
    max-width:900px !important;
  }

  .hero.hero-v3 .hero-v3-panel{
    grid-template-columns:1fr !important;
    max-width:760px !important;
  }

  .hero.hero-v3 .hero-v3-copy,
  .hero.hero-v3 .hero-v3-showcase{
    max-width:100% !important;
    width:100% !important;
    justify-self:center !important;
  }

  .hero.hero-v3 .hero-v3-photo{
    min-height:430px !important;
  }
}

@media (max-width:760px){
  .hero.hero-v3{
    padding:22px 0 78px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    gap:18px !important;
  }

  .hero.hero-v3 .hero-v3-panel{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .hero.hero-v3 .hero-v3-copy{
    padding:28px 24px 24px !important;
    border-radius:28px !important;
  }

  .hero.hero-v3 .hero-v3-copy::after{
    inset:auto 18px 98px 18px !important;
  }

  .hero.hero-v3 .hero-v3-copy h1{
    font-size:clamp(40px, 12vw, 54px) !important;
    letter-spacing:-.5px !important;
  }

  .hero.hero-v3 .hero-v3-copy .hero-lead{
    font-size:16px !important;
  }

  .hero.hero-v3 .hero-v3-copy .hero-actions .btn{
    width:100% !important;
    min-width:0 !important;
  }

  .hero.hero-v3 .hero-v3-photo{
    min-height:380px !important;
    border-radius:26px !important;
  }

  .hero.hero-v3 .hero-v3-photo-overlay{
    padding:24px 22px 78px !important;
  }

  .hero.hero-v3 .hero-v3-photo-overlay h2{
    font-size:clamp(34px, 10vw, 42px) !important;
  }

  .hero.hero-v3 .hero-v3-mini-top{
    right:8px !important;
    top:8px !important;
  }

  .hero.hero-v3 .hero-v3-mini-bottom{
    left:12px !important;
    bottom:12px !important;
    max-width:calc(100% - 24px) !important;
  }

  .hero.hero-v3 .hero-v3-pills{
    width:100% !important;
    max-width:100% !important;
    gap:12px !important;
  }

  .hero.hero-v3 .hero-v3-pills .center-pill{
    flex:1 1 100% !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
}
/* END CODEX HERO FINAL FIX */
/* ==========================================================
   CODEX HERO WIDTH 80 TOP FIX
   Richiesta: hero-v3-wrap e hero-v3-panel piu larghi,
   blocco molto piu alto, testi sempre dentro le card.
   ========================================================== */
.hero.hero-v3{
  display:block !important;
  min-height:auto !important;
  height:auto !important;
  padding:0 0 58px !important;
  overflow:hidden !important;
  align-items:initial !important;
  justify-content:initial !important;
}

.hero.hero-v3::after{
  bottom:-92px !important;
  height:148px !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  width:80vw !important;
  max-width:80vw !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  gap:22px !important;
  justify-items:center !important;
  align-items:start !important;
  justify-content:center !important;
  align-content:start !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:translateY(-54px) !important;
  z-index:3 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-panel,
.hero.hero-v3 .hero-v3-panel.reveal,
.hero.hero-v3 .hero-v3-panel.reveal.visible{
  width:80vw !important;
  max-width:80vw !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr) !important;
  gap:32px !important;
  justify-content:center !important;
  align-items:center !important;
  justify-items:stretch !important;
  overflow:visible !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-copy{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  justify-self:stretch !important;
  margin:0 !important;
  padding:38px 42px 34px !important;
  border-radius:34px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-copy::after{
  inset:auto 30px 102px 30px !important;
}

.hero.hero-v3 .hero-v3-copy .eyebrow{
  font-size:13px !important;
  line-height:1.2 !important;
  letter-spacing:5px !important;
  margin:0 0 18px !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-copy h1{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  font-size:clamp(46px, 3.9vw, 72px) !important;
  line-height:.94 !important;
  letter-spacing:-1px !important;
  margin:0 0 20px !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

.hero.hero-v3 .hero-v3-copy .hero-lead{
  width:100% !important;
  max-width:680px !important;
  font-size:17px !important;
  line-height:1.55 !important;
  margin:0 0 24px !important;
}

.hero.hero-v3 .hero-v3-copy .hero-actions{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin:0 0 28px !important;
}

.hero.hero-v3 .hero-v3-copy .hero-actions .btn{
  width:auto !important;
  min-width:150px !important;
  max-width:100% !important;
  padding:15px 22px !important;
  font-size:16px !important;
  white-space:nowrap !important;
}

.hero.hero-v3 .hero-v3-info{
  width:100% !important;
  max-width:100% !important;
  padding:24px 0 0 !important;
  gap:10px !important;
  overflow:hidden !important;
}

.hero.hero-v3 .hero-v3-info span{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  font-size:15px !important;
  line-height:1.45 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-showcase,
.hero.hero-v3 .hero-v3-showcase.reveal,
.hero.hero-v3 .hero-v3-showcase.reveal.visible{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  justify-self:stretch !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-photo{
  width:100% !important;
  min-height:500px !important;
  max-height:500px !important;
  border-radius:32px !important;
  overflow:hidden !important;
}

.hero.hero-v3 .hero-v3-photo-overlay{
  padding:30px 30px 90px !important;
}

.hero.hero-v3 .hero-v3-tag{
  margin-bottom:16px !important;
}

.hero.hero-v3 .hero-v3-photo-overlay h2{
  width:100% !important;
  max-width:100% !important;
  font-size:clamp(36px, 3.2vw, 58px) !important;
  line-height:.96 !important;
  letter-spacing:-.5px !important;
  margin:0 0 14px !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  word-break:normal !important;
}

.hero.hero-v3 .hero-v3-photo-overlay p{
  width:100% !important;
  max-width:100% !important;
  font-size:15px !important;
  line-height:1.45 !important;
  margin:0 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

.hero.hero-v3 .hero-v3-mini-top{
  right:14px !important;
  top:-18px !important;
}

.hero.hero-v3 .hero-v3-mini-bottom{
  left:24px !important;
  bottom:18px !important;
  max-width:calc(100% - 48px) !important;
  white-space:normal !important;
  text-align:center !important;
}

.hero.hero-v3 .hero-v3-pills{
  width:80vw !important;
  max-width:80vw !important;
  margin:-4px auto 0 !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:16px !important;
  flex-wrap:wrap !important;
  position:relative !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  z-index:4 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-pills .center-pill{
  flex:0 1 180px !important;
  width:auto !important;
  min-width:170px !important;
  max-width:210px !important;
  padding:15px 20px !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
}

@media (min-width:1500px){
  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    transform:translateY(-62px) !important;
  }
}

@media (max-width:1120px){
  .hero.hero-v3{
    padding:0 0 68px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap,
  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible{
    width:86vw !important;
    max-width:86vw !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    transform:translateY(-34px) !important;
  }

  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }

  .hero.hero-v3 .hero-v3-copy,
  .hero.hero-v3 .hero-v3-showcase{
    max-width:100% !important;
    width:100% !important;
    justify-self:center !important;
  }

  .hero.hero-v3 .hero-v3-photo{
    min-height:430px !important;
    max-height:none !important;
  }
}

@media (max-width:760px){
  .hero.hero-v3{
    padding:8px 0 76px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap,
  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    transform:none !important;
    gap:18px !important;
  }

  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .hero.hero-v3 .hero-v3-copy{
    padding:28px 24px 24px !important;
    border-radius:28px !important;
  }

  .hero.hero-v3 .hero-v3-copy::after{
    inset:auto 18px 98px 18px !important;
  }

  .hero.hero-v3 .hero-v3-copy h1{
    font-size:clamp(40px, 12vw, 54px) !important;
    letter-spacing:-.5px !important;
  }

  .hero.hero-v3 .hero-v3-copy .hero-lead{
    font-size:16px !important;
  }

  .hero.hero-v3 .hero-v3-copy .hero-actions .btn{
    width:100% !important;
    min-width:0 !important;
  }

  .hero.hero-v3 .hero-v3-photo{
    min-height:380px !important;
    border-radius:26px !important;
  }

  .hero.hero-v3 .hero-v3-photo-overlay{
    padding:24px 22px 78px !important;
  }

  .hero.hero-v3 .hero-v3-photo-overlay h2{
    font-size:clamp(34px, 10vw, 42px) !important;
  }

  .hero.hero-v3 .hero-v3-mini-top{
    right:8px !important;
    top:8px !important;
  }

  .hero.hero-v3 .hero-v3-mini-bottom{
    left:12px !important;
    bottom:12px !important;
    max-width:calc(100% - 24px) !important;
  }

  .hero.hero-v3 .hero-v3-pills{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    gap:12px !important;
  }

  .hero.hero-v3 .hero-v3-pills .center-pill{
    flex:1 1 100% !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }
}
/* END CODEX HERO WIDTH 80 TOP FIX */
/* ==========================================================
   CODEX HERO PIN TOP FIX
   Sposta definitivamente hero-v3-wrap e hero-v3-panel in alto,
   mantenendo larghezza 80% e testi contenuti nelle card.
   ========================================================== */
.hero.hero-v3{
  position:relative !important;
  display:block !important;
  min-height:calc(100vh - 82px) !important;
  height:calc(100vh - 82px) !important;
  padding:0 !important;
  overflow:hidden !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  position:absolute !important;
  top:65px !important;
  left:50% !important;
  right:auto !important;
  width:80vw !important;
  max-width:80vw !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  transform:translateX(-50%) !important;
  display:grid !important;
  gap:20px !important;
  justify-items:center !important;
  align-items:start !important;
  justify-content:center !important;
  align-content:start !important;
  z-index:3 !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-panel,
.hero.hero-v3 .hero-v3-panel.reveal,
.hero.hero-v3 .hero-v3-panel.reveal.visible{
  width:80vw !important;
  max-width:80vw !important;
  min-width:0 !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr) !important;
  gap:32px !important;
  justify-content:center !important;
  align-items:center !important;
  justify-items:stretch !important;
  transform:none !important;
  box-sizing:border-box !important;
}

.hero.hero-v3 .hero-v3-pills{
  width:80vw !important;
  max-width:80vw !important;
  margin:0 auto !important;
}

.hero.hero-v3 .hero-v3-copy h1{
  font-size:clamp(44px, 3.65vw, 68px) !important;
  max-width:100% !important;
  line-height:.94 !important;
}

.hero.hero-v3 .hero-v3-photo-overlay h2{
  font-size:clamp(34px, 3vw, 54px) !important;
  max-width:100% !important;
  line-height:.96 !important;
}

.hero.hero-v3 .hero-v3-photo{
  min-height:490px !important;
  max-height:490px !important;
}

@media (min-width:1500px){
  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    top:59px !important;
  }
}

@media (max-width:1120px){
  .hero.hero-v3{
    min-height:auto !important;
    height:auto !important;
    padding:18px 0 72px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    width:86vw !important;
    max-width:86vw !important;
    margin:0 auto !important;
    transform:none !important;
  }

  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible{
    width:86vw !important;
    max-width:86vw !important;
    grid-template-columns:1fr !important;
  }

  .hero.hero-v3 .hero-v3-pills{
    width:86vw !important;
    max-width:86vw !important;
  }

  .hero.hero-v3 .hero-v3-photo{
    min-height:420px !important;
    max-height:none !important;
  }
}

@media (max-width:760px){
  .hero.hero-v3{
    padding:12px 0 76px !important;
  }

  .hero.hero-v3 > .container.hero-v3-wrap,
  .hero.hero-v3 .hero-v3-wrap,
  .hero.hero-v3 .hero-v3-panel,
  .hero.hero-v3 .hero-v3-panel.reveal,
  .hero.hero-v3 .hero-v3-panel.reveal.visible,
  .hero.hero-v3 .hero-v3-pills{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
  }
}
/* END CODEX HERO PIN TOP FIX */
/* ==========================================================
   CODEX HERO BACKGROUND PHOTO FIX
   Mostra ranate-vista-porto.jpg come sfondo reale della hero.
   ========================================================== */
.hero.hero-with-photo.hero-v3,
.hero.hero-v3{
  background:
    linear-gradient(90deg, rgba(5,5,5,.34) 0%, rgba(95,18,28,.34) 42%, rgba(5,5,5,.66) 100%),
    url('../img/galleria/ranate-vista-porto.jpg') center center/cover no-repeat !important;
  background-color:#120306 !important;
}

.hero.hero-with-photo.hero-v3::before,
.hero.hero-v3::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    linear-gradient(90deg, rgba(5,5,5,.28) 0%, rgba(80,0,12,.30) 44%, rgba(5,5,5,.58) 100%),
    url('../img/galleria/ranate-vista-porto.jpg') center center/cover no-repeat !important;
  opacity:.98 !important;
  z-index:0 !important;
  transform:none !important;
  filter:none !important;
  animation:none !important;
}

.hero.hero-v3 .orb-one{
  opacity:.18 !important;
  filter:blur(14px) !important;
}

.hero.hero-v3 .orb-two{
  opacity:.16 !important;
  filter:blur(44px) !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  z-index:3 !important;
}
/* END CODEX HERO BACKGROUND PHOTO FIX */
/* ==========================================================
   CODEX HERO RED VEIL ATMOSPHERE
   Sfondo porto piu trasparente, pellicola rossa e profondita.
   ========================================================== */
.hero.hero-with-photo.hero-v3,
.hero.hero-v3{
  background:
    radial-gradient(circle at 49% 5%, rgba(229,9,20,.22) 0 10%, transparent 26%),
    linear-gradient(110deg, #120306 0%, #411018 44%, #050203 100%) !important;
  isolation:isolate !important;
}

.hero.hero-with-photo.hero-v3::before,
.hero.hero-v3::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  background-image:
    linear-gradient(90deg, rgba(5,3,4,.74) 0%, rgba(120,16,28,.46) 42%, rgba(5,2,3,.80) 100%),
    radial-gradient(circle at 48% 0%, rgba(255,35,55,.32) 0 13%, transparent 32%),
    linear-gradient(180deg, rgba(229,9,20,.16), rgba(12,0,3,.48)),
    url('../img/galleria/ranate-vista-porto.jpg') !important;
  background-size:cover, cover, cover, cover !important;
  background-position:center center, center top, center center, center center !important;
  background-repeat:no-repeat !important;
  opacity:.72 !important;
  filter:brightness(.72) contrast(.96) saturate(1.05) !important;
  transform:none !important;
  animation:ranateHeroVeilBreath 16s ease-in-out infinite !important;
  pointer-events:none !important;
}

.hero.hero-v3::after{
  box-shadow:0 -24px 70px rgba(196,16,30,.30) !important;
}

.hero.hero-v3 .orb-one{
  width:420px !important;
  height:420px !important;
  background:radial-gradient(circle, rgba(229,9,20,.36), rgba(229,9,20,.08) 48%, transparent 70%) !important;
  opacity:.24 !important;
  filter:blur(26px) !important;
  mix-blend-mode:screen !important;
}

.hero.hero-v3 .orb-two{
  background:radial-gradient(circle, rgba(255,255,255,.08), rgba(229,9,20,.12) 42%, transparent 70%) !important;
  opacity:.20 !important;
  filter:blur(54px) !important;
  mix-blend-mode:screen !important;
}

.hero.hero-v3 .hero-v3-copy,
.hero.hero-v3 .hero-v3-photo{
  box-shadow:
    0 24px 70px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 38px rgba(229,9,20,.14) !important;
}

@keyframes ranateHeroVeilBreath{
  0%,100%{filter:brightness(.70) contrast(.96) saturate(1.02)}
  50%{filter:brightness(.78) contrast(.98) saturate(1.13)}
}

@media (prefers-reduced-motion: reduce){
  .hero.hero-with-photo.hero-v3::before,
  .hero.hero-v3::before{
    animation:none !important;
  }
}
/* END CODEX HERO RED VEIL ATMOSPHERE */
/* ==========================================================
   CODEX HERO BRIGHT PHOTO PARTICLES
   Foto piu visibile + pellicola rossa leggera + pallini animati.
   ========================================================== */
.hero.hero-with-photo.hero-v3,
.hero.hero-v3{
  background:
    linear-gradient(90deg, rgba(5,2,3,.18) 0%, rgba(145,18,30,.14) 42%, rgba(5,2,3,.34) 100%),
    url('../img/galleria/ranate-vista-porto.jpg') center center/cover no-repeat !important;
  background-color:#160306 !important;
  isolation:isolate !important;
}

.hero.hero-with-photo.hero-v3::before,
.hero.hero-v3::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  background-image:
    linear-gradient(90deg, rgba(6,2,3,.22) 0%, rgba(190,25,42,.18) 45%, rgba(4,1,2,.38) 100%),
    linear-gradient(180deg, rgba(255,20,35,.08), rgba(20,0,4,.20)),
    url('../img/galleria/ranate-vista-porto.jpg') !important;
  background-size:cover, cover, cover !important;
  background-position:center center, center center, center center !important;
  background-repeat:no-repeat !important;
  opacity:1 !important;
  filter:brightness(.98) contrast(1.02) saturate(1.08) !important;
  transform:none !important;
  animation:none !important;
  pointer-events:none !important;
}

.hero.hero-v3 .hero-bg-orb{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
  filter:none !important;
  pointer-events:none !important;
  z-index:1 !important;
  mix-blend-mode:screen !important;
  opacity:1 !important;
}

.hero.hero-v3 .orb-one{
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 62%, rgba(255,66,82,.34) 0 3px, transparent 5px),
    radial-gradient(circle at 38% 18%, rgba(255,210,214,.30) 0 2px, transparent 4px),
    radial-gradient(circle at 55% 38%, rgba(255,50,70,.28) 0 3px, transparent 5px),
    radial-gradient(circle at 72% 24%, rgba(255,255,255,.32) 0 2px, transparent 4px),
    radial-gradient(circle at 84% 68%, rgba(255,80,96,.30) 0 3px, transparent 5px),
    radial-gradient(circle at 46% 78%, rgba(255,255,255,.22) 0 2px, transparent 4px) !important;
  animation:ranateParticleDriftA 20s ease-in-out infinite !important;
}

.hero.hero-v3 .orb-two{
  background:
    radial-gradient(circle at 18% 76%, rgba(255,42,62,.28) 0 2px, transparent 4px),
    radial-gradient(circle at 30% 34%, rgba(255,255,255,.28) 0 2px, transparent 4px),
    radial-gradient(circle at 62% 16%, rgba(255,78,96,.25) 0 3px, transparent 5px),
    radial-gradient(circle at 69% 72%, rgba(255,235,238,.26) 0 2px, transparent 4px),
    radial-gradient(circle at 91% 42%, rgba(255,42,62,.30) 0 3px, transparent 5px),
    radial-gradient(circle at 8% 48%, rgba(255,255,255,.22) 0 2px, transparent 4px) !important;
  animation:ranateParticleDriftB 26s ease-in-out infinite !important;
}

.hero.hero-v3 > .container.hero-v3-wrap,
.hero.hero-v3 .hero-v3-wrap{
  z-index:3 !important;
}

@keyframes ranateParticleDriftA{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(22px,-18px,0) scale(1.03)}
}

@keyframes ranateParticleDriftB{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-18px,20px,0) scale(1.02)}
}

@media (prefers-reduced-motion: reduce){
  .hero.hero-v3 .orb-one,
  .hero.hero-v3 .orb-two{
    animation:none !important;
  }
}
/* END CODEX HERO BRIGHT PHOTO PARTICLES */
/* ==========================================================
   CODEX FLOATING LOGO ICONS
   Sostituisce i simboli flottanti con i loghi immagine.
   ========================================================== */
.floating-whatsapp{
  width:58px !important;
  height:58px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  display:grid !important;
  place-items:center !important;
  font-size:0 !important;
  line-height:0 !important;
}

.floating-whatsapp img{
  width:58px !important;
  height:58px !important;
  display:block !important;
  object-fit:contain !important;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.28)) !important;
  transition:transform .22s ease, filter .22s ease !important;
}

.floating-whatsapp:hover img{
  transform:translateY(-2px) scale(1.04) !important;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.34)) !important;
}

.kira-bubble{
  width:76px !important;
  height:76px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  display:grid !important;
  place-items:center !important;
}

.kira-bubble img{
  width:76px !important;
  height:76px !important;
  display:block !important;
  object-fit:contain !important;
  border-radius:50% !important;
  filter:drop-shadow(0 16px 26px rgba(0,0,0,.34)) drop-shadow(0 0 14px rgba(229,9,20,.25)) !important;
  transition:transform .22s ease, filter .22s ease !important;
}

.kira-bubble:hover img{
  transform:translateY(-2px) scale(1.04) !important;
  filter:drop-shadow(0 20px 32px rgba(0,0,0,.40)) drop-shadow(0 0 18px rgba(229,9,20,.35)) !important;
}

.kira-bubble span,
.kira-bubble small{
  display:none !important;
}

@media (max-width:760px){
  .floating-whatsapp,
  .floating-whatsapp img{
    width:52px !important;
    height:52px !important;
  }

  .kira-bubble,
  .kira-bubble img{
    width:64px !important;
    height:64px !important;
  }
}
/* END CODEX FLOATING LOGO ICONS */

/* CODEX MENU BAR AND LANGUAGE */
.nav-wrap{position:relative}
.language-switcher{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:170px;position:relative;z-index:60}
.language-switcher label{color:rgba(255,255,255,.74);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.language-select{width:100%;min-width:150px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-weight:900;padding:0 34px 0 14px;cursor:pointer;outline:0;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.language-select:focus{border-color:#e50914;box-shadow:0 0 0 3px rgba(229,9,20,.22)}
.language-select option{background:#fff;color:#111;font-weight:800}
.google-translate-element{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.goog-te-banner-frame.skiptranslate,.goog-te-gadget-icon,.goog-te-balloon-frame,body>.skiptranslate{display:none!important}
body{top:0!important}
.menu-bar-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,#080405 0%,#190006 44%,#050505 100%);padding:86px 0 74px;min-height:calc(100vh - 82px);display:flex;align-items:center}
.menu-bar-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 18%,rgba(229,9,20,.28),transparent 32%),radial-gradient(circle at 76% 12%,rgba(255,255,255,.10),transparent 24%),linear-gradient(90deg,rgba(5,5,5,.18),rgba(5,5,5,.74));pointer-events:none}
.menu-bar-hero::after{content:"";position:absolute;inset:auto -8% -110px -8%;height:210px;background:#fafafa;border-radius:50% 50% 0 0/100% 100% 0 0;border-top:7px solid #e50914;box-shadow:0 -30px 85px rgba(229,9,20,.25)}
.menu-bar-layout{position:relative;z-index:1;display:grid;grid-template-columns:.82fr 1.18fr;gap:54px;align-items:center}
.menu-bar-copy h1{font-family:Georgia,serif;font-size:clamp(54px,7vw,104px);line-height:.9;margin:12px 0 20px;color:#fff}
.menu-bar-copy p{max-width:560px;color:rgba(255,255,255,.82);font-size:19px}
.menu-bar-address{display:grid;gap:8px;margin-top:26px;color:rgba(255,255,255,.86);font-weight:900}
.menu-bar-address span{display:flex;align-items:center;gap:8px}
.menu-bar-list{display:grid;gap:14px}
.menu-bar-item{position:relative;isolation:isolate;min-height:142px;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);box-shadow:0 24px 58px rgba(0,0,0,.30);display:flex;align-items:flex-end;padding:24px;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.menu-bar-image{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.34;filter:brightness(.72) saturate(1.1);transform:scale(1.01);transition:opacity .3s ease,transform .5s ease,filter .3s ease;z-index:-2}
.menu-bar-item::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,5,5,.88),rgba(5,5,5,.50) 52%,rgba(180,0,24,.18));z-index:-1}
.menu-bar-item:hover{transform:translateY(-5px);border-color:rgba(229,9,20,.62);box-shadow:0 30px 74px rgba(0,0,0,.38)}
.menu-bar-item:hover .menu-bar-image{opacity:.72;filter:brightness(.86) saturate(1.18);transform:scale(1.07)}
.menu-bar-content{display:grid;gap:6px;max-width:520px}
.menu-bar-content small{color:#e50914;font-weight:1000;text-transform:uppercase;letter-spacing:.18em;font-size:12px}
.menu-bar-content strong{font-family:Georgia,serif;color:#fff;font-size:clamp(34px,4vw,58px);line-height:.95}
.menu-bar-content em{font-style:normal;color:rgba(255,255,255,.78);font-weight:800;line-height:1.45}
#menu-list{position:relative;z-index:2;background:#fafafa}
@media(max-width:1080px){.menu-bar-layout{grid-template-columns:1fr;gap:32px}.menu-bar-hero{padding:54px 0 86px}.menu-bar-copy{text-align:left}.menu-bar-copy p{max-width:760px}.menu-bar-list{grid-template-columns:1fr 1fr}.main-nav a{padding:10px 11px;font-size:14px}.language-switcher{min-width:154px}.language-select{min-width:136px}}
@media(max-width:760px){.brand{order:1}.language-switcher{order:2;margin-left:auto;min-width:132px;gap:6px}.language-switcher label{display:none}.language-select{height:38px;min-width:132px;font-size:13px;padding-left:10px}.nav-toggle{order:3}.main-nav{order:4}.menu-bar-hero{min-height:auto;padding:42px 0 78px}.menu-bar-copy h1{font-size:52px}.menu-bar-copy p{font-size:16px}.menu-bar-list{grid-template-columns:1fr}.menu-bar-item{min-height:132px;padding:20px;border-radius:22px}.menu-bar-content strong{font-size:38px}.menu-bar-content em{font-size:14px}.menu-bar-address{font-size:14px}}

/* CODEX REMOTE MENU REPLICA */
.remote-menu-hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(135deg,rgba(5,5,5,.94),rgba(63,0,9,.92)),url('../img/menu-bar/menu-risto.jpg') center/cover no-repeat;padding:88px 0 74px;border-bottom:1px solid rgba(229,9,20,.30)}
.remote-menu-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 12%,rgba(229,9,20,.35),transparent 34%),linear-gradient(90deg,rgba(5,5,5,.2),rgba(5,5,5,.72));pointer-events:none}
.remote-menu-hero-inner{position:relative;z-index:1;text-align:center;max-width:940px}
.remote-menu-hero h1{font-family:Georgia,serif;font-size:clamp(66px,8vw,126px);line-height:.88;margin:12px 0 18px;color:#fff}
.remote-menu-hero p{color:rgba(255,255,255,.84);font-size:19px;max-width:680px;margin-left:auto;margin-right:auto}
.remote-menu-quick{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px}
.remote-menu-quick a{display:inline-flex;align-items:center;justify-content:center;min-width:138px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.09);color:#fff;border-radius:999px;padding:13px 20px;font-weight:1000;box-shadow:0 14px 35px rgba(0,0,0,.18);transition:.25s ease}
.remote-menu-quick a:hover{background:#e50914;border-color:#e50914;transform:translateY(-2px)}
.remote-menu-cards{background:#111;padding:34px 0;border-bottom:1px solid rgba(229,9,20,.24)}
.remote-menu-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.remote-menu-card{position:relative;min-height:230px;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 58px rgba(0,0,0,.28);display:flex;flex-direction:column;justify-content:flex-end;padding:24px;color:#fff;isolation:isolate;background:#050505;transition:.25s ease}
.remote-menu-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,5,5,.88),rgba(5,5,5,.18) 62%);z-index:-1}
.remote-menu-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:brightness(.75) saturate(1.1);transition:.45s ease}
.remote-menu-card span{color:#e50914;text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:1000;margin-bottom:8px}
.remote-menu-card strong{font-family:Georgia,serif;font-size:34px;line-height:1;color:#fff}
.remote-menu-card:hover{transform:translateY(-6px);border-color:rgba(229,9,20,.62)}
.remote-menu-card:hover img{transform:scale(1.07);filter:brightness(.9) saturate(1.18)}
.remote-menu-content{background:linear-gradient(180deg,#fafafa,#fff);padding:58px 0 80px}
.remote-menu-section{scroll-margin-top:110px;margin-bottom:58px}
.remote-menu-section:last-child{margin-bottom:0}
.remote-menu-section-head{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid rgba(5,5,5,.10)}
.remote-menu-section-head h2{font-family:Georgia,serif;font-size:clamp(44px,5vw,76px);line-height:.92;margin:8px 0;color:#111}
.remote-menu-section-head p{max-width:760px;color:#555;margin:0}
.remote-source-link{flex:0 0 auto;border:1px solid rgba(5,5,5,.12);background:#fff;color:#b40018;border-radius:999px;padding:11px 15px;font-weight:900;box-shadow:0 10px 26px rgba(5,5,5,.06)}
.remote-menu-groups{columns:2 420px;column-gap:24px}
.remote-menu-group{break-inside:avoid;background:#fff;border:1px solid rgba(5,5,5,.08);border-radius:22px;padding:24px;margin:0 0 24px;box-shadow:0 16px 45px rgba(5,5,5,.06)}
.remote-menu-group h3{font-family:Georgia,serif;font-size:32px;line-height:1;margin:0 0 18px;color:#b40018;border-bottom:1px solid rgba(180,0,24,.16);padding-bottom:12px}
.remote-menu-item{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:flex-start;padding:16px 0;border-bottom:1px dashed rgba(5,5,5,.14)}
.remote-menu-item:last-child{border-bottom:0;padding-bottom:0}
.remote-menu-item h4{margin:0 0 6px;font-size:19px;color:#111;line-height:1.25}
.remote-menu-item p{margin:0;color:#606060;font-size:15px;line-height:1.55}
.remote-menu-item strong{color:#b40018;font-size:18px;white-space:nowrap;text-align:right;margin-top:1px}
.remote-menu-badge{display:inline-flex;width:max-content;background:rgba(229,9,20,.10);color:#b40018;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:1000;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
@media(max-width:900px){.remote-menu-card-grid{grid-template-columns:1fr}.remote-menu-card{min-height:210px}.remote-menu-section-head{display:block}.remote-source-link{margin-top:16px}.remote-menu-groups{columns:1}.remote-menu-hero{padding:62px 0 54px}.remote-menu-hero p{font-size:17px}}
@media(max-width:560px){.remote-menu-quick a{width:100%}.remote-menu-card strong{font-size:30px}.remote-menu-section-head h2{font-size:42px}.remote-menu-group{padding:18px;border-radius:18px}.remote-menu-item{grid-template-columns:1fr;gap:8px}.remote-menu-item strong{text-align:left}.remote-menu-content{padding:38px 0 58px}}

/* CODEX KIRA V2 VOICE AND ALIVE */
.kira-head-actions{display:flex;align-items:center;gap:8px}
.kira-head .kira-voice-toggle{width:auto;height:30px;border-radius:999px;padding:0 11px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:12px;font-weight:900}
.kira-head .kira-voice-toggle.off{background:rgba(255,255,255,.06);color:rgba(255,255,255,.66)}
.kira-bubble{position:relative;overflow:visible;animation:kiraBreathe 3.4s ease-in-out infinite}
.kira-bubble::before,.kira-bubble::after{content:"";position:absolute;inset:-7px;border-radius:30px;border:1px solid rgba(229,9,20,.38);pointer-events:none;animation:kiraPulseRing 2.8s ease-out infinite}
.kira-bubble::after{inset:-14px;animation-delay:.9s;opacity:.55}
.kira-bubble img{position:relative;z-index:2}
.kira-panel.open{animation:kiraPanelIn .22s ease-out}
.kira-panel.speaking .kira-head{background:linear-gradient(90deg,#050505,#7b0010,#050505);background-size:220% 100%;animation:kiraVoiceWave 1.2s ease-in-out infinite}
.kira-msg.typing::after{content:"";display:inline-block;width:22px;height:6px;margin-left:6px;background:radial-gradient(circle,#b40018 0 2px,transparent 3px) 0 50%/7px 6px repeat-x;animation:kiraDots 1s steps(3) infinite}
@keyframes kiraBreathe{0%,100%{transform:translateY(0) scale(1);box-shadow:0 20px 46px rgba(0,0,0,.32)}50%{transform:translateY(-5px) scale(1.035);box-shadow:0 26px 58px rgba(229,9,20,.32)}}
@keyframes kiraPulseRing{0%{transform:scale(.92);opacity:.72}100%{transform:scale(1.28);opacity:0}}
@keyframes kiraPanelIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes kiraVoiceWave{0%,100%{background-position:0 0}50%{background-position:100% 0}}
@keyframes kiraDots{to{background-position:21px 50%}}
@media (prefers-reduced-motion:reduce){.kira-bubble,.kira-bubble::before,.kira-bubble::after,.kira-panel.open,.kira-panel.speaking .kira-head,.kira-msg.typing::after{animation:none!important}}

/* CODEX KIRA V2 NOTICEABLE AI EFFECTS */
.kira-widget{isolation:isolate}
.kira-auto-welcome{position:absolute;left:88px;bottom:10px;width:min(310px,calc(100vw - 122px));background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(255,245,246,.96));border:1px solid rgba(229,9,20,.18);border-left:5px solid #e50914;border-radius:20px;padding:14px 16px;box-shadow:0 24px 58px rgba(0,0,0,.26);color:#111;opacity:0;transform:translateX(-10px) translateY(10px) scale(.96);pointer-events:none;transition:opacity .28s ease,transform .28s ease;cursor:pointer;overflow:hidden}
.kira-auto-welcome::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent,rgba(229,9,20,.10),transparent);transform:translateX(-120%);animation:kiraWelcomeShine 2.9s ease-in-out infinite}
.kira-auto-welcome::after{content:"";position:absolute;left:-7px;bottom:22px;width:14px;height:14px;background:#fff;transform:rotate(45deg);border-left:1px solid rgba(229,9,20,.18);border-bottom:1px solid rgba(229,9,20,.18)}
.kira-auto-welcome.show{opacity:1;transform:translateX(0) translateY(0) scale(1);pointer-events:auto;animation:kiraWelcomePop .5s cubic-bezier(.2,.9,.2,1)}
.kira-auto-welcome.hide{opacity:0;transform:translateX(-8px) translateY(8px) scale(.96);pointer-events:none}
.kira-auto-welcome strong{display:block;color:#b40018;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;position:relative;z-index:1}
.kira-auto-welcome span{display:block;color:#2b2b2b;font-size:14px;font-weight:800;line-height:1.42;position:relative;z-index:1}
.kira-bubble{background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.34),transparent 26%),linear-gradient(135deg,#050505,#7b0010 50%,#e50914)!important;box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.12),0 0 42px rgba(229,9,20,.30)!important}
.kira-bubble::before{box-shadow:0 0 22px rgba(229,9,20,.42)}
.kira-bubble::after{box-shadow:0 0 34px rgba(229,9,20,.28)}
.kira-bubble.attention{animation:kiraAttention 1.05s ease-in-out 5,kiraBreathe 3.4s ease-in-out infinite}
.kira-bubble img{filter:drop-shadow(0 10px 18px rgba(0,0,0,.32));animation:kiraAvatarGlow 3.6s ease-in-out infinite}
.kira-bubble .kira-ai-orbit{display:none}
.kira-widget::before,.kira-widget::after{content:"";position:absolute;left:-9px;bottom:-9px;width:92px;height:92px;border-radius:32px;pointer-events:none;z-index:-1}.kira-widget::before{background:conic-gradient(from 0deg,transparent,rgba(229,9,20,.45),transparent 42%,rgba(255,255,255,.32),transparent);filter:blur(.2px);animation:kiraOrbitSpin 4.2s linear infinite}.kira-widget::after{background:radial-gradient(circle,rgba(229,9,20,.20),transparent 64%);animation:kiraHaloBeat 2.2s ease-in-out infinite}
.kira-panel{border:1px solid rgba(229,9,20,.16)}
.kira-panel::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#e50914,#fff,#e50914,transparent);background-size:220% 100%;animation:kiraScanLine 2.3s linear infinite;z-index:3}
.kira-head{position:relative;overflow:hidden}.kira-head::after{content:"KIRA ONLINE";position:absolute;right:72px;bottom:5px;color:rgba(255,255,255,.46);font-size:10px;font-weight:1000;letter-spacing:.12em}.kira-head::before{content:"";width:8px;height:8px;border-radius:50%;background:#18d26e;box-shadow:0 0 14px #18d26e;position:absolute;right:155px;bottom:9px;animation:kiraOnlineBlink 1.4s ease-in-out infinite}
.kira-panel.thinking .kira-head::after{content:"ELABORO"}.kira-panel.thinking .kira-head::before{background:#ffd166;box-shadow:0 0 14px #ffd166}
.kira-panel.speaking{box-shadow:0 28px 80px rgba(0,0,0,.35),0 0 0 1px rgba(229,9,20,.15),0 0 44px rgba(229,9,20,.22)}
.kira-msg.bot{position:relative}.kira-msg.bot::before{content:"";position:absolute;left:-4px;top:14px;width:7px;height:7px;border-radius:50%;background:#e50914;box-shadow:0 0 10px rgba(229,9,20,.45)}
@keyframes kiraWelcomePop{0%{transform:translateX(-12px) translateY(12px) scale(.92)}70%{transform:translateX(3px) translateY(-2px) scale(1.025)}100%{transform:translateX(0) translateY(0) scale(1)}}
@keyframes kiraWelcomeShine{0%,58%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@keyframes kiraAttention{0%,100%{transform:translateY(0) scale(1)}22%{transform:translateY(-8px) scale(1.07) rotate(-2deg)}44%{transform:translateY(0) scale(1) rotate(2deg)}66%{transform:translateY(-5px) scale(1.05) rotate(-1deg)}}
@keyframes kiraAvatarGlow{0%,100%{filter:drop-shadow(0 10px 18px rgba(0,0,0,.32)) brightness(1)}50%{filter:drop-shadow(0 12px 22px rgba(229,9,20,.52)) brightness(1.08)}}
@keyframes kiraOrbitSpin{to{transform:rotate(360deg)}}
@keyframes kiraHaloBeat{0%,100%{transform:scale(.94);opacity:.58}50%{transform:scale(1.12);opacity:1}}
@keyframes kiraScanLine{to{background-position:220% 0}}
@keyframes kiraOnlineBlink{0%,100%{opacity:.48;transform:scale(.84)}50%{opacity:1;transform:scale(1.12)}}
@media(max-width:620px){.kira-auto-welcome{left:80px;bottom:4px;width:min(270px,calc(100vw - 104px));padding:12px 13px}.kira-auto-welcome span{font-size:13px}.kira-head::after,.kira-head::before{display:none}}
@media (prefers-reduced-motion:reduce){.kira-auto-welcome,.kira-auto-welcome::before,.kira-bubble.attention,.kira-bubble img,.kira-widget::before,.kira-widget::after,.kira-panel::before,.kira-head::before{animation:none!important}}

/* Gestione consenso cookie */
.footer-cookie-manage{appearance:none;background:none;border:0;color:inherit;font:inherit;font-weight:800;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.footer-cookie-manage:hover{color:#fff}
.cookie-policy-manage{margin-top:24px}
.cookie-banner{left:50%;right:auto;bottom:24px;width:min(1180px,calc(100% - 40px));transform:translateX(-50%);padding:22px 24px;border:1px solid rgba(5,5,5,.12);border-top:4px solid #e50914;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.30);align-items:center;gap:26px;z-index:1000}
.cookie-banner.show{display:flex}
.cookie-banner-copy{flex:1;min-width:0}
.cookie-banner-copy strong{display:block;margin-bottom:6px;color:#111;font-size:20px}
.cookie-banner-copy p{margin:0 0 7px;color:#383838;font-size:15px;line-height:1.55}
.cookie-banner-copy a{display:inline-block;margin:0;color:#a90017;font-size:14px;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.cookie-banner-actions,.cookie-settings-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.cookie-banner .cookie-action,.cookie-settings .cookie-action{min-height:44px;border:2px solid #151515;border-radius:999px;padding:10px 18px;font:inherit;font-size:14px;font-weight:1000;line-height:1.2;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.cookie-banner .cookie-action:hover,.cookie-settings .cookie-action:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.15)}
.cookie-action.reject{background:#151515;color:#fff}
.cookie-action.customize{background:#fff;color:#151515}
.cookie-action.accept{border-color:#c9001b;background:#c9001b;color:#fff}
.cookie-action:focus-visible,.footer-cookie-manage:focus-visible,.cookie-settings-close:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}
.cookie-settings{position:fixed;inset:0;z-index:1100;display:none;place-items:center;padding:24px;background:rgba(5,5,5,.72);backdrop-filter:blur(5px)}
.cookie-settings.open{display:grid}
.cookie-settings-card{position:relative;width:min(720px,100%);max-height:calc(100vh - 48px);overflow:auto;border-radius:28px;background:#fff;padding:34px;box-shadow:0 28px 90px rgba(0,0,0,.42)}
.cookie-settings-card .eyebrow{margin:0 0 6px;color:#c9001b}
.cookie-settings-card h2{margin:0 42px 12px 0;color:#111;font-family:Georgia,serif;font-size:clamp(32px,5vw,48px);line-height:1}
.cookie-settings-intro{margin:0 0 22px;color:#464646;line-height:1.65}
.cookie-settings-close{position:absolute;top:18px;right:18px;width:42px;height:42px;border:0;border-radius:50%;background:#f0f0f0;color:#111;font-size:28px;line-height:1;cursor:pointer}
.cookie-options{display:grid;gap:12px}
.cookie-option{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid rgba(5,5,5,.12);border-radius:18px;padding:17px 18px;background:#fff;cursor:pointer}
.cookie-option.required{background:#f5f5f5;cursor:default}
.cookie-option span{display:grid;gap:4px}
.cookie-option strong{color:#111;font-size:17px}
.cookie-option small{color:#5a5a5a;font-size:14px;line-height:1.45}
.cookie-option input{appearance:none;flex:0 0 auto;position:relative;width:48px;height:26px;border:0;border-radius:999px;background:#777;cursor:pointer;transition:background .2s ease}
.cookie-option input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.25);transition:transform .2s ease}
.cookie-option input:checked{background:#c9001b}
.cookie-option input:checked::after{transform:translateX(22px)}
.cookie-option input:disabled{background:#4a4a4a;cursor:not-allowed;opacity:.82}
.cookie-option input:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}
.cookie-settings-note{margin:18px 0;color:#555;font-size:14px}
.cookie-settings-actions{padding-top:18px;border-top:1px solid rgba(5,5,5,.10)}
@media(max-width:850px){.cookie-banner{align-items:flex-start;bottom:14px;width:calc(100% - 28px);padding:20px}.cookie-banner-actions{width:100%;justify-content:flex-start}.cookie-banner .cookie-action{flex:1 1 150px}.cookie-settings-actions{justify-content:stretch}.cookie-settings .cookie-action{flex:1 1 170px}}
@media(max-width:560px){.cookie-banner{max-height:calc(100vh - 28px);overflow:auto;flex-direction:column;gap:16px}.cookie-banner-actions{display:grid;grid-template-columns:1fr}.cookie-banner .cookie-action{width:100%}.cookie-settings{padding:10px}.cookie-settings-card{max-height:calc(100vh - 20px);padding:26px 18px 20px;border-radius:22px}.cookie-settings-close{top:12px;right:12px}.cookie-option{padding:15px 14px}.cookie-settings-actions{display:grid;grid-template-columns:1fr}.cookie-settings .cookie-action{width:100%}}
