/* ============================================================
   KARPATHOS IN TASCA — CSS
   Mobile-first, fully responsive
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* VARIABLES */
:root {
    --blue: #C9973A;
    --sea:  #4E92B8;
    --red:  #C0392B;
    --gold: #C9973A;
    --gold-lt: #E4B86A;
    --gold-dim: rgba(201,151,58,.15);
    --coral: #C4572A;
    --dark: #0B1A2E;
    --light: #0F2240;
    --bg: #0B1A2E;
    --bg2: #0F2240;
    --bg3: #132947;
    --text: #F0EAE0;
    --text-md: #BFB4A6;
    --text-mt: #7A6E62;
    --border: rgba(201,151,58,.22);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,.35);
    --shadow-sm: 0 2px 12px rgba(0,0,0,.25);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1,h2,h3,h4 { font-family: Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 8vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 3.5vw, 1.4rem); }

.tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--blue);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.tag-light {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
}

/* ============================================================
   SECTION LAYOUT HELPERS
============================================================ */
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-md); font-size: 1rem; }

.two-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
}
.col-text { width: 100%; }
.col-phone { width: 100%; display: flex; justify-content: center; }

@media (min-width: 768px) {
    .two-col { flex-direction: row; gap: 48px; }
    .two-col.reverse { flex-direction: row-reverse; }
    .col-text { flex: 1; }
    .col-phone { flex: 0 0 auto; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    min-height: 48px;
}
.btn-primary {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}
.btn-primary:hover { background: #b0842f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,58,.4); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: var(--text);
}
.check-list li i.fa-check-circle,
.check-list li i.fa-thermometer-half,
.check-list li i.fa-wind,
.check-list li i.fa-water,
.check-list li i.fa-umbrella-beach { color: var(--sea); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   NAVIGATION
============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(11,26,46,.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
    padding: 10px 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    max-width: 1300px;
    margin: 0 auto;
    gap: 16px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.05rem;
    white-space: nowrap;
    z-index: 999;
    position: relative;
}
.logo-text em { color: var(--gold); font-style: italic; }
.logo-icon { font-size: 1.3rem; }
.nav-share i { color: #1877F2; margin-right: 4px; }
.nav-share:hover i { color: #3b8bff; }
.nav-wa i { color: #25D366; margin-right: 4px; }
.nav-wa:hover i { color: #4ae584; }

/* ============================================================
   KMAP LOGO — il logo vero dell'app (images/logo-kmap.png)

   Fino al 29/07/2026 qui il logo era disegnato a mano con il CSS: un sole
   che girava piu' la scritta "Kmap" in Georgia. Era un'imitazione, non il
   logo dell'app. Ora e' l'immagine vera, con lo sfondo trasparente: si
   appoggia sul blu della navbar e su quello del footer senza ritagli.
   L'immagine si rifa' con genera-immagini-logo.ps1 nella cartella del sito.
============================================================ */
.kmap-logo-img {
    display: block;
    width: auto;
    height: 34px;          /* comanda l'altezza: la larghezza segue da sola */
    flex-shrink: 0;
}

.nav-logo .kmap-logo-img { height: 34px; }
.footer-logo .kmap-logo-img { height: 30px; }
.footer-logo { display: flex; align-items: center; }

/* Mobile nav */
.nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    z-index: 997;
    padding: 80px 24px 40px;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.nav-links.open { display: flex; }

.nav-links a {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: 10px;
    transition: var(--transition);
    min-height: 48px;
    display: flex;
    align-items: center;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    background: rgba(201,151,58,.1);
}
.nav-cta {
    background: var(--gold) !important;
    color: var(--dark) !important;
    justify-content: center !important;
    margin-top: 8px;
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 999;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        padding: 0;
        gap: 4px;
        overflow: visible;
    }
    .nav-links a {
        font-size: .82rem;
        padding: 8px 10px;
        min-height: unset;
    }
    .nav-cta {
        padding: 8px 20px !important;
        margin-top: 0 !important;
    }
}

/* ============================================================
   LANGUAGE PICKER
============================================================ */
.lang-picker {
    position: relative;
    z-index: 999;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 10px;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}
.lang-current:hover { border-color: var(--gold); }
.lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-caret { font-size: .6rem; color: var(--text-mt); transition: transform .2s; }
.lang-picker.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(11,26,46,.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    min-width: 168px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lang-picker.open .lang-menu { display: flex; }
.lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
    font-family: inherit;
    padding: 9px 10px;
    border-radius: 8px;
    text-align: left;
    width: 100%;
}
.lang-opt span { font-size: 1.15rem; line-height: 1; }
.lang-opt:hover { background: rgba(201,151,58,.12); color: var(--gold-lt); }
.lang-opt.active { background: var(--gold-dim); color: var(--gold-lt); }

/* ============================================================
   PHONE MOCKUP
============================================================ */
.phone-mockup {
    width: 230px;
    height: 480px;
    background: #111;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px #333;
    position: relative;
    flex-shrink: 0;
}
.phone-md { width: 210px; height: 440px; }
.phone-notch {
    width: 70px; height: 18px;
    background: #111;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 10px; left: 50%; transform: translateX(-50%);
    z-index: 5;
}
.phone-screen {
    width: 100%; height: 100%;
    background: var(--bg2);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.phone-float-wrap {
    display: inline-block;
    animation: phoneFloat 4s ease-in-out infinite;
}
.phone-glow {
    width: 160px; height: 30px;
    background: radial-gradient(ellipse, rgba(30,111,168,.5) 0%, transparent 70%);
    margin: 0 auto;
    border-radius: 50%;
    margin-top: 10px;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   APP SCREENS (inside phone)
============================================================ */
.app-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg2);
    font-size: 8px;
}
.app-status-bar { height: 16px; background: var(--bg); }
.app-tab-bar {
    height: 32px;
    background: var(--bg3);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: auto;
}
.tab { opacity: .45; }
.tab-active { opacity: 1; }
.app-mini-header {
    background: var(--bg);
    color: var(--text);
    padding: 20px 10px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 8px;
}
.mini-title { font-weight: 700; font-size: 9px; }
.back-arr { font-size: 14px; opacity: .8; }

/* HOME SCREEN */
.screen-home { background: var(--bg2); }
.app-home-header {
    background: var(--bg);
    color: var(--text);
    padding: 24px 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.home-greeting { font-size: 7px; opacity: .8; }
.home-island { font-size: 11px; font-weight: 700; }
.home-avatar { font-size: 20px; }

.weather-widget-mini {
    margin: 8px;
    background: var(--bg3);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.ww-icon { font-size: 18px; }
.ww-body { flex: 1; }
.ww-temp { font-size: 11px; font-weight: 700; color: var(--gold-lt); }
.ww-desc { font-size: 6.5px; color: var(--text-md); }
.ww-arrow { font-size: 14px; color: var(--text-mt); }

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 6px 6px;
    gap: 4px;
}
.quick-item {
    background: var(--bg3);
    border-radius: 8px;
    padding: 6px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.quick-item span { font-size: 5.5px; color: var(--text-md); text-align: center; }
.home-section-title { font-size: 7px; font-weight: 700; color: var(--text); padding: 0 8px 4px; }
.place-row {
    margin: 0 8px;
    background: var(--bg3);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.place-row-img { font-size: 16px; }
.place-row-body { flex: 1; }
.place-row-name { font-size: 7.5px; font-weight: 700; }
.place-row-meta { font-size: 6px; color: var(--text-mt); }
.place-row-heart { font-size: 12px; }

/* MAP SCREEN */
.screen-map { background: var(--bg2); }
.map-sim {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #16324f 0%, #1a3a5c 100%);
}
.map-road { position: absolute; background: rgba(240,234,224,.25); border-radius: 2px; }
.r1 { width: 3px; height: 100%; left: 50%; top: 0; }
.r2 { width: 100%; height: 3px; top: 45%; left: 0; }
.r3 { width: 3px; height: 60%; left: 70%; top: 30%; transform: rotate(15deg); }
.map-marker {
    position: absolute;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s;
    z-index: 2;
}
.map-marker.pulse { animation: markerPulse 2s ease-in-out infinite; }
.map-marker.bounce { animation: markerBounce 1.2s ease-in-out infinite; }
.map-filters-bar {
    position: absolute;
    top: 6px; left: 4px; right: 4px;
    display: flex;
    gap: 3px;
    background: rgba(15,34,64,.95);
    border-radius: 8px;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.mf { flex: 1; text-align: center; font-size: 7px; padding: 3px; border-radius: 5px; cursor: pointer; color: var(--text-md); }
.mf.active { background: var(--gold); color: var(--bg); }

/* ─────────────────────────────────────────────
   MAP SCREEN V2 — mockup realistico Karpathos
───────────────────────────────────────────── */
.map-screen-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg2);
}
.msv2-status {
    height: 10px;
    background: var(--bg);
    flex-shrink: 0;
}
.msv2-header {
    background: var(--bg2);
    padding: 7px 10px 5px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.msv2-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
}
.msv2-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
.msv2-title {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--text);
    flex: 1;
    letter-spacing: -0.01em;
}
.msv2-count {
    font-size: 8px;
    color: var(--text-mt);
    font-weight: 600;
    background: var(--bg3);
    padding: 1px 5px;
    border-radius: 99px;
}
/* Chips filter bar */
.msv2-chips {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 5px 6px 5px;
    display: flex;
    gap: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.msv2-chip {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 7px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    background: var(--bg3);
    font-size: 7.5px;
    font-weight: 700;
    color: var(--text-md);
    white-space: nowrap;
    flex-shrink: 0;
}
.msv2-chip-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg);
}
/* Map canvas */
.msv2-map {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #16324f;
}
/* Island land mass (Karpathos is elongated N-S) */
.msv2-island {
    position: absolute;
    left: 28%; top: 3%;
    width: 48%; height: 93%;
    background: linear-gradient(170deg, #2b4a3a 0%, #24402f 40%, #2b4a3a 100%);
    border-radius: 38% 42% 30% 34% / 5% 5% 8% 8%;
    opacity: 0.85;
    box-shadow: 0 0 0 2px rgba(240,234,224,0.15);
}
/* Roads */
.msv2-road {
    position: absolute;
    background: rgba(255,255,255,0.75);
    border-radius: 2px;
}
/* E25 main road: runs N-S, slightly left of center */
.msv2-road-main {
    width: 3px; height: 55%;
    left: 47%; top: 5%;
    transform: rotate(-1deg);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.07);
}
.msv2-road-main-lower {
    width: 3px; height: 40%;
    left: 46.5%; top: 57%;
    transform: rotate(2deg);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.07);
}
/* Road east (to Apella / Spoa) */
.msv2-road-east {
    width: 30%; height: 2px;
    left: 46%; top: 40%;
    transform: rotate(10deg);
}
/* Road west (to Lefkos / Arkasa) */
.msv2-road-west {
    width: 22%; height: 2px;
    left: 26%; top: 60%;
    transform: rotate(-4deg);
}
/* South branch */
.msv2-road-south {
    width: 2px; height: 15%;
    left: 47%; top: 77%;
    transform: rotate(6deg);
}
/* North spur to Olympos */
.msv2-road-north {
    width: 2px; height: 12%;
    left: 42%; top: 5%;
    transform: rotate(-5deg);
}
/* Map pins base */
.msv2-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
    z-index: 3;
}
.msv2-pin-bubble {
    font-size: 13px;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
    line-height: 1;
}
.msv2-pin-label {
    background: rgba(15,34,64,0.92);
    border-radius: 4px;
    padding: 1px 4px;
    font-size: 6px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    margin-top: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.msv2-label-blue {
    background: var(--gold);
    color: var(--bg);
}
/* Highlighted selected pin */
.msv2-pin-selected {
    font-size: 15px;
    filter: drop-shadow(0 2px 4px rgba(201,151,58,0.4));
}
.msv2-pulse .msv2-pin-bubble {
    animation: markerPulse 2.5s ease-in-out infinite;
}
/* Capital Pigadia */
.msv2-pin-capital {
    z-index: 4;
}
.msv2-pin-capital-marker {
    background: var(--gold);
    color: var(--bg);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 7px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(201,151,58,0.35);
}
.msv2-pin-capital-marker::after {
    content: '';
    display: block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--gold);
    margin: 0 auto;
}
/* Bottom info card */
.msv2-card {
    background: var(--bg2);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}
.msv2-card-icon {
    font-size: 18px;
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.msv2-card-body { flex: 1; min-width: 0; }
.msv2-card-name {
    font-size: 10px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msv2-card-meta {
    font-size: 7.5px;
    color: var(--text-mt);
    margin-top: 1px;
}
.msv2-ale-badge { color: var(--gold-lt); font-weight: 700; }
.msv2-card-btn {
    font-size: 8.5px;
    font-weight: 700;
    color: var(--bg);
    background: var(--gold);
    border-radius: 99px;
    padding: 5px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Tab bar */
.msv2-tabbar {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    display: flex;
    height: 36px;
    flex-shrink: 0;
}
.msv2-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
}
.msv2-tab-em { font-size: 13px; line-height: 1; }
.msv2-tab-lbl {
    font-size: 5.5px;
    color: var(--text-mt);
    font-weight: 600;
}
.msv2-tab-on { border-top: 2px solid var(--gold); }
.msv2-tab-on .msv2-tab-lbl { color: var(--gold); font-weight: 700; }

/* Map route hint box */
.map-route-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
}
.mrh-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 1px;
}
.map-route-hint strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.map-route-hint p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* TREKKING SCREEN */
.screen-trekking { background: var(--bg); }
.trek-mini-card {
    margin: 6px;
    background: var(--bg3);
    border-radius: 8px;
    padding: 8px;
    border-left: 3px solid var(--gold);
}
.trek-mini-name { font-size: 8.5px; font-weight: 700; color: var(--text); margin: 4px 0; }
.trek-mini-stats { display: flex; gap: 6px; font-size: 6.5px; color: var(--text-md); }
.diff-badge {
    display: inline-block;
    font-size: 6px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.diff-badge.easy { background: #3E8E5A; color: #fff; }
.diff-badge.medium { background: var(--gold); color: var(--bg); }
.diff-badge.hard { background: var(--coral); color: #fff; }

/* QUIZ SCREEN */
.screen-quiz { background: var(--bg2); }
.quiz-phone-body { flex: 1; padding: 8px; overflow: hidden; }
.qp-progress { height: 3px; background: var(--bg3); border-radius: 2px; margin-bottom: 8px; }
.qp-bar { height: 3px; background: var(--gold); border-radius: 2px; transition: width .4s; }
.qp-q { font-size: 8px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.qp-opts { display: flex; flex-direction: column; gap: 4px; }
.qp-opt {
    padding: 6px 8px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 7px;
    background: var(--bg3);
    color: var(--text-md);
    cursor: pointer;
}
.qp-selected {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--bg);
}
.qp-next-btn {
    margin-top: 8px;
    background: var(--gold);
    color: var(--bg);
    border-radius: 8px;
    padding: 6px;
    text-align: center;
    font-size: 7px;
    font-weight: 700;
}

/* WEATHER SCREEN */
.screen-weather { background: linear-gradient(160deg, #0F2240 0%, #1a3a5c 100%); }
.ws-current { padding: 12px; text-align: center; color: var(--text); flex-shrink: 0; }
.ws-big-icon { font-size: 28px; }
.ws-temp-big { font-size: 20px; font-weight: 700; }
.ws-condition { font-size: 7px; opacity: .9; }
.ws-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 0 8px 8px;
}
.ws-cell { background: rgba(201,151,58,.12); border-radius: 8px; padding: 6px; color: var(--text); border: 1px solid var(--border); }
.ws-lbl { font-size: 6px; opacity: .8; }
.ws-val { font-size: 10px; font-weight: 700; }
.ws-rec-box { margin: 0 8px 8px; background: rgba(201,151,58,.12); border-radius: 8px; padding: 8px; color: var(--text); border: 1px solid var(--border); }
.ws-rec-title { font-size: 7px; font-weight: 700; margin-bottom: 4px; }
.ws-rec-beach { font-size: 7px; padding: 2px 0; }

/* RESTAURANT SCREEN */
.screen-rest { background: var(--bg2); }
.rest-filters-row { display: flex; gap: 3px; padding: 6px; flex-wrap: wrap; }
.rest-filter-chip {
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 6.5px;
    background: var(--bg3);
    color: var(--gold-lt);
    font-weight: 600;
    border: 1px solid transparent;
}
.rest-filter-chip.active { background: var(--gold); color: var(--bg); }
.rest-card-mini {
    margin: 4px 6px;
    background: var(--bg3);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.rest-emoji { font-size: 18px; flex-shrink: 0; }
.rest-body { flex: 1; min-width: 0; }
.rest-name { font-size: 8px; font-weight: 700; color: var(--text); }
.rest-meta { font-size: 6.5px; color: var(--text-mt); margin: 2px 0; }
.rest-tags-mini { display: flex; gap: 3px; flex-wrap: wrap; }
.rest-tags-mini span { font-size: 5.5px; background: var(--bg); color: var(--text-md); padding: 1px 5px; border-radius: 4px; }

/* BAR SCREEN */
.screen-bars { background: var(--bg); }
.bars-type-row { display: flex; gap: 3px; padding: 6px; overflow: hidden; }
.bt-chip { padding: 3px 7px; border-radius: 999px; font-size: 6px; background: rgba(240,234,224,.08); color: var(--text); border: 1px solid var(--border); white-space: nowrap; }
.bt-chip.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.bar-mini-card {
    margin: 4px 6px;
    background: rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px;
}
.bar-mini-card.night { border-left: 3px solid #7C3AED; }
.bar-mini-card.beach { border-left: 3px solid #0891B2; }
.bmc-left { flex: 1; }
.bmc-badge { font-size: 6px; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.bmc-name { font-size: 8.5px; font-weight: 700; color: #fff; }
.bmc-meta { font-size: 6.5px; color: rgba(255,255,255,.7); }
.bmc-hours { font-size: 6.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.bmc-flag { font-size: 6px; color: var(--gold); margin-top: 2px; }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 60%, var(--bg3) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-waves {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.wave {
    position: absolute;
    bottom: -10px;
    left: -10%;
    right: -10%;
    height: 120px;
    background: rgba(255,255,255,.04);
    border-radius: 50% 50% 0 0;
}
.w1 { bottom: 0; animation: waveA 7s ease-in-out infinite; }
.w2 { bottom: 15px; animation: waveA 9s ease-in-out infinite reverse; background: rgba(255,255,255,.03); }
.w3 { bottom: 30px; animation: waveA 11s ease-in-out infinite; background: rgba(255,255,255,.02); }
@keyframes waveA {
    0%,100% { transform: translateX(0) scaleY(1); }
    50% { transform: translateX(5%) scaleY(1.05); }
}

.hero-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 16px 70px;
    gap: 32px;
    text-align: center;
}
.hero-launch {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.hero-launch-line {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-lt));
    flex-shrink: 0;
}
.hero-launch-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: .3px;
    color: var(--gold-lt);
    text-shadow: 0 0 22px rgba(228,184,106,.28);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.9);
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}
.hero-badge:hover { background: rgba(255,255,255,.2); }
.badge-dot {
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title { color: #fff; margin-bottom: 14px; }
.hero-title em { color: var(--gold); font-style: italic; }
.hero-sub { color: rgba(255,255,255,.85); font-size: .98rem; max-width: 520px; margin: 0 auto 20px; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; }
.hero-actions .btn { width: 100%; max-width: 320px; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    padding: 8px 16px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.2rem; color: var(--gold); font-family: Georgia, serif; }
.stat span { font-size: .65rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .05em; }
.stat-sep { width: 1px; height: 24px; background: rgba(255,255,255,.2); }

.hero-text { width: 100%; }
.hero-phone { display: flex; justify-content: center; }

.scroll-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.6);
    font-size: .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: bounceDown 2s ease-in-out infinite;
    white-space: nowrap;
}
@keyframes bounceDown { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 120px 16px 80px;
    }
    .hero-text { flex: 1; }
    .hero-phone { flex: 0 0 auto; }
    .hero-actions { flex-direction: row; align-items: flex-start; }
    .hero-actions .btn { width: auto; }
    .hero-stats { justify-content: flex-start; flex-wrap: nowrap; }
}

/* ============================================================
   TUTTO IN UN'APP
============================================================ */
.tutto-section {
    padding: 70px 0;
    background: var(--bg);
}
.tutto-section .section-head h2 { color: var(--text); }

.tutto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.tutto-item {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 8px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--c, var(--gold));
    transition: var(--transition);
    cursor: default;
}
.tutto-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tutto-icon { font-size: 1.7rem; display: block; margin-bottom: 6px; }
.tutto-item strong { display: block; font-size: .78rem; font-weight: 700; color: var(--text); margin-bottom: 2px; line-height: 1.3; }
.tutto-item small { font-size: .68rem; color: var(--text-mt); display: block; line-height: 1.3; }

@media (min-width: 480px) { .tutto-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 768px) { .tutto-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .tutto-grid { grid-template-columns: repeat(5, 1fr); } }

/* ============================================================
   MAP SECTION
============================================================ */
.map-section {
    padding: 70px 0;
    position: relative;
    background: linear-gradient(160deg, var(--bg) 0%, #1a3a5c 100%);
}
.map-dark-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--bg) 0%, #1a3a5c 100%); }
.map-section .container { position: relative; z-index: 1; }
.map-section .col-text h2 { color: var(--text); }
.map-section .col-text p { color: var(--text-md); }
.map-section .check-list li { color: var(--text-md); }
.map-section .check-list li i { color: var(--gold); }

/* ============================================================
   BEACHES
============================================================ */
.beaches-section { padding: 70px 0; background: var(--bg); }
.beach-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.filter-btn {
    padding: 9px 16px;
    border-radius: 999px;
    border: 2px solid var(--border);
    background: var(--bg2);
    color: var(--text-md);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    white-space: nowrap;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-lt); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg); }

.beaches-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg2);
}
.beaches-scroll::-webkit-scrollbar { height: 4px; }
.beaches-scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

.beach-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.beach-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.beach-emoji-lg { font-size: 2.2rem; }
.beach-card h3 { font-size: 1.1rem; color: var(--text); margin-bottom: 6px; }
.beach-card p { font-size: .86rem; color: var(--text-md); margin-bottom: 10px; line-height: 1.5; }
.beach-meta { font-size: .76rem; color: var(--text-mt); margin-bottom: 8px; }
.beach-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.beach-tags span {
    font-size: .68rem;
    background: var(--gold-dim);
    color: var(--gold-lt);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}
.badge-ale { font-size: .68rem; background: var(--gold); color: var(--dark); padding: 3px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.badge-family { font-size: .68rem; background: rgba(39,174,96,.15); color: #5BC98A; padding: 3px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.badge-sport { font-size: .68rem; background: rgba(78,146,184,.18); color: #7FB8DA; padding: 3px 8px; border-radius: 6px; font-weight: 700; white-space: nowrap; }

/* ============================================================
   RISTORANTI
============================================================ */
.restaurants-section { padding: 70px 0; background: var(--bg2); }
.restaurants-section .col-text h2 { color: var(--text); }

.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
@media (min-width: 480px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

.cat-item {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: default;
}
.cat-item span { font-size: 1.3rem; display: block; margin-bottom: 4px; }
.cat-item small { font-size: .68rem; color: var(--text-md); font-weight: 600; line-height: 1.2; }

.ale-tip-box {
    background: var(--gold-dim);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.atb-icon { font-size: 1.2rem; flex-shrink: 0; }
.atb-body strong { display: block; font-size: .85rem; color: var(--text); margin-bottom: 4px; }
.atb-body p { font-size: .82rem; color: var(--text-md); line-height: 1.4; margin: 0; }

/* ============================================================
   BAR & VITA NOTTURNA
============================================================ */
.bars-section {
    padding: 70px 0;
    position: relative;
    background: var(--bg);
}
.bars-dark-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--bg) 0%, #1E1B4B 100%); }
.bars-section .container { position: relative; z-index: 1; }
.bars-section .col-text h2 { color: var(--text); }
.bars-section .col-text p { color: var(--text-md); }
.bars-section .check-list li { color: var(--text-md); }
.bars-section .check-list li i { color: var(--gold-lt); }

.bar-types-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.bar-type-chip {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1.5px solid var(--bc, rgba(255,255,255,.2));
    transition: var(--transition);
    white-space: nowrap;
    min-height: 36px;
    display: flex;
    align-items: center;
}

/* ============================================================
   TREKKING
============================================================ */
.trekking-section {
    padding: 70px 0;
    position: relative;
    background: #1A2A1A;
}
.trekking-dark-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #0D1A0D 0%, #1E3A1E 100%); }
.trekking-section .container { position: relative; z-index: 1; }
.trekking-section .col-text h2 { color: #fff; }
.trekking-section .col-text p { color: rgba(255,255,255,.8); }
.diff-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.diff-item { display: flex; align-items: center; gap: 12px; }
.diff-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.tip-note {
    background: rgba(201,151,58,.12);
    border-left: 3px solid var(--gold);
    padding: 12px;
    border-radius: 0 8px 8px 0;
    font-size: .86rem;
    color: rgba(255,255,255,.85);
}

/* ============================================================
   BOAT TOURS
============================================================ */
.boat-section { padding: 70px 0; background: var(--bg2); }
.boat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 560px) { .boat-grid { grid-template-columns: repeat(2, 1fr); } }

.boat-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.boat-port-badge { padding: 6px 14px; font-size: .72rem; font-weight: 700; color: #fff; letter-spacing: .05em; text-transform: uppercase; }
.boat-icon { font-size: 1.8rem; padding: 12px 16px 0; }
.boat-card h3 { padding: 6px 16px; font-size: 1rem; color: var(--text); }
.boat-card p { padding: 0 16px; font-size: .83rem; color: var(--text-md); line-height: 1.5; }
.boat-info-row { display: flex; gap: 12px; padding: 8px 16px 14px; flex-wrap: wrap; }
.boat-info-row span { font-size: .78rem; color: var(--text-mt); }
.boat-card-special { border: 2px solid var(--red); }

/* ============================================================
   KITESURF
============================================================ */
.kitesurf-section { padding: 70px 0; position: relative; background: #0369A1; }
.kitesurf-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #022B60 0%, #0369A1 60%, #0891B2 100%); }
.kitesurf-section .container { position: relative; z-index: 1; }
.kitesurf-section .col-text h2 { color: #fff; }
.kitesurf-section .col-text p { color: rgba(255,255,255,.8); }

.kite-info-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.kite-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    padding: 12px;
    border: 1px solid rgba(255,255,255,.2);
}
.kite-icon { font-size: 1.5rem; flex-shrink: 0; }
.kite-card strong { display: block; color: #fff; font-size: .88rem; margin-bottom: 2px; }
.kite-card p { color: rgba(255,255,255,.75); font-size: .8rem; line-height: 1.4; margin: 0; }

/* ============================================================
   QUIZ
============================================================ */
.quiz-section { padding: 70px 0; background: var(--bg); }
.quiz-section .section-head h2 { color: var(--text); }

.quiz-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.quiz-box {
    width: 100%;
    max-width: 560px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.quiz-phone-col { display: none; }

@media (min-width: 900px) {
    .quiz-layout { flex-direction: row; align-items: flex-start; }
    .quiz-box { flex: 1; }
    .quiz-phone-col { display: block; flex: 0 0 auto; }
}

.quiz-progress-wrap { height: 5px; background: var(--bg3); }
.quiz-progress-bar {
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transition: width .4s;
    width: 20%;
}
.quiz-step-info {
    background: var(--bg3);
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold-lt);
    padding: 6px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.quiz-q { display: none; padding: 18px; }
.quiz-q.active { display: block; }
.quiz-q h3 { color: var(--text); margin-bottom: 6px; font-size: 1.05rem; }
.quiz-hint { color: var(--text-mt); font-size: .8rem; margin-bottom: 14px; }

.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg3);
    min-height: 60px;
}
.quiz-opt:active { border-color: var(--gold); background: var(--gold-dim); }
.quiz-opt.selected { border-color: var(--gold); background: var(--gold-dim); }
.opt-ic { font-size: 1.5rem; flex-shrink: 0; }
.quiz-opt strong { display: block; font-size: .88rem; color: var(--text); }
.quiz-opt small { font-size: .76rem; color: var(--text-mt); }

.quiz-result { padding: 18px; }
.result-header { text-align: center; margin-bottom: 14px; }
.result-trophy { font-size: 2.5rem; margin-bottom: 6px; }
.result-header h3 { color: var(--text); font-size: 1.05rem; }
.result-main-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 14px; }
.rmc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.rmc-emoji { font-size: 2.2rem; }
.rmc-type { font-size: .68rem; text-transform: uppercase; color: var(--text-md); font-weight: 700; }
.rmc-name { font-size: .95rem; font-weight: 700; color: var(--text); font-family: Georgia, serif; }
.rmc-match { background: var(--gold); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.rmc-desc { font-size: .83rem; color: var(--text-md); line-height: 1.5; margin-bottom: 10px; }
.rmc-ale-note {
    background: var(--gold-dim);
    border-left: 3px solid var(--gold);
    padding: 10px;
    font-size: .8rem;
    color: var(--gold-lt);
    font-style: italic;
    border-radius: 0 8px 8px 0;
    margin-bottom: 10px;
}
.rmc-how { font-size: .78rem; color: var(--text-md); }
.result-alts h4 { font-size: .82rem; color: var(--text-md); margin-bottom: 8px; }
.alt-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 6px;
    box-shadow: var(--shadow-sm);
}
.alt-emoji { font-size: 1.3rem; }
.alt-name { font-size: .83rem; font-weight: 700; color: var(--text); }
.alt-type { font-size: .73rem; color: var(--text-mt); }
.alt-match { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--gold-lt); }
.result-cta-wrap { margin-top: 14px; text-align: center; }
.result-cta-wrap p { font-size: .82rem; color: var(--text-md); margin-bottom: 12px; }
.result-cta-wrap .btn { margin: 4px; }

/* ============================================================
   WEATHER
============================================================ */
.weather-section { padding: 70px 0; background: var(--bg); }
.weather-section .col-text h2 { color: var(--text); }

/* ============================================================
   TRANSPORT
============================================================ */
.transport-section {
    padding: 70px 0;
    position: relative;
    background: var(--bg);
}
.transport-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--bg) 0%, #1a2d3f 100%); }
.transport-section .container { position: relative; z-index: 1; }
.transport-section .section-head h2 { color: #fff; }
.transport-section .section-head p { color: rgba(255,255,255,.7); }

.transport-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .transport-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .transport-grid { grid-template-columns: repeat(3, 1fr); } }

.transport-card { background: rgba(255,255,255,.06); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.transport-card-head { padding: 14px; display: flex; align-items: center; gap: 10px; color: #fff; }
.tc-icon { font-size: 1.6rem; flex-shrink: 0; }
.tc-title { font-size: .95rem; font-weight: 700; }
.tc-sub { font-size: .72rem; opacity: .8; }
.transport-card-body { padding: 14px; }

.bus-day-tabs { display: flex; gap: 3px; margin-bottom: 10px; }
.bdt {
    flex: 1;
    text-align: center;
    padding: 5px 3px;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    font-size: .65rem;
    color: rgba(255,255,255,.6);
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bdt.active { background: #7C3AED; color: #fff; border-color: #7C3AED; }

.bus-route-mini {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 8px;
}
.brm-line {
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.brm-dest { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.9); }
.brm-stops { font-size: .68rem; color: rgba(255,255,255,.5); }
.brm-price { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--gold); white-space: nowrap; }

.bus-times {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}
.bt-col { flex: 1; }
.btc-header { font-size: .65rem; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 5px; letter-spacing: .05em; }
.btc-time { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.9); padding: 1px 0; }
.bt-divider { width: 1px; background: rgba(255,255,255,.15); }
.transport-note { font-size: .75rem; color: rgba(255,255,255,.55); font-style: italic; padding-top: 4px; }

.taxi-info { margin-bottom: 10px; }
.taxi-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 7px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.08); }
.taxi-row:last-child { border-bottom: none; margin-bottom: 0; }
.taxi-label { font-size: .78rem; color: rgba(255,255,255,.75); }
.taxi-num { font-size: .88rem; font-weight: 700; color: var(--gold); }
.taxi-routes { display: flex; flex-wrap: wrap; gap: 5px; }
.taxi-route-chip {
    font-size: .7rem;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.8);
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
}

.rental-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rental-opt { display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(255,255,255,.06); border-radius: 8px; }
.rental-opt span { font-size: 1.3rem; flex-shrink: 0; }
.rental-opt strong { display: block; font-size: .83rem; color: rgba(255,255,255,.9); }
.rental-opt small { font-size: .7rem; color: rgba(255,255,255,.5); }

/* ============================================================
   ESSENTIALS
============================================================ */
.essentials-section { padding: 70px 0; background: var(--bg2); }
.essentials-section .section-head h2 { color: var(--text); }

.essentials-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .essentials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .essentials-grid { grid-template-columns: repeat(3, 1fr); } }

.ess-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--ec, var(--gold));
}
.ess-icon-wrap { font-size: 1.6rem; margin-bottom: 8px; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ess-card h3 { font-size: .95rem; color: var(--ec, var(--gold)); margin-bottom: 10px; }
.ess-entries { display: flex; flex-direction: column; gap: 6px; }
.ess-entry { display: flex; justify-content: space-between; align-items: flex-start; font-size: .8rem; padding: 5px 0; border-bottom: 1px solid var(--border); gap: 8px; }
.ess-entry:last-child { border-bottom: none; }
.ess-entry span { color: var(--text-md); flex: 1; line-height: 1.3; }
.ess-entry strong { color: var(--ec, var(--gold)); font-weight: 700; white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   EVENTS
============================================================ */
.events-section { padding: 70px 0; position: relative; background: #2D0A3F; }
.events-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #1A052B 0%, #3D1260 100%); }
.events-section .container { position: relative; z-index: 1; }
.events-section .col-text h2 { color: #fff; }
.events-section .col-text p { color: rgba(255,255,255,.75); }

.events-months { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.event-month-chip {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.2);
    cursor: pointer;
    transition: var(--transition);
    min-height: 36px;
    display: flex;
    align-items: center;
}
.event-month-chip.active { background: #DB2777; border-color: #DB2777; color: #fff; }

.event-cards-mini { display: flex; flex-direction: column; gap: 8px; }
.ecm {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    padding: 11px;
    border: 1px solid rgba(255,255,255,.12);
}
.ecm-date {
    font-size: .7rem;
    font-weight: 700;
    color: #DB2777;
    background: rgba(219,39,119,.15);
    padding: 4px 6px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 44px;
    text-align: center;
}
.ecm-body strong { display: block; font-size: .86rem; color: #fff; margin-bottom: 2px; }
.ecm-body small { font-size: .73rem; color: rgba(255,255,255,.6); }

/* ============================================================
   ALE
============================================================ */
.ale-section { padding: 70px 0; background: var(--bg); }
.ale-layout { display: flex; flex-direction: column; gap: 36px; }
.ale-text h2 { color: var(--text); margin-bottom: 12px; }
.ale-text p { color: var(--text-md); font-size: .97rem; margin-bottom: 12px; line-height: 1.7; }
.ale-creds { display: flex; flex-direction: column; gap: 9px; margin: 16px 0; }
.ale-cred { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-md); }
.ale-cred i { color: var(--gold); width: 18px; text-align: center; }
.ale-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 700;
    transition: var(--transition);
    min-height: 44px;
}
.social-pill.ig { background: var(--gold-dim); color: var(--gold-lt); }
.social-pill.yt { background: rgba(196,87,42,.15); color: #E08A5F; }
.social-pill.wa { background: rgba(39,174,96,.15); color: #5BC98A; }
.social-pill.fb { background: rgba(24,119,242,.15); color: #6FA8F5; }

.ale-card {
    background: linear-gradient(160deg, var(--bg2) 0%, var(--bg3) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    color: var(--text);
    text-align: center;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}
.ale-avatar-wrap { margin-bottom: 10px; }
.ale-avatar-circle {
    width: 68px; height: 68px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    border: 2px solid rgba(255,255,255,.4);
}
.ale-card-name { font-size: 1.3rem; font-family: Georgia, serif; font-weight: 700; }
.ale-card-title { font-size: .78rem; opacity: .8; margin-bottom: 12px; }
.ale-quote {
    font-style: italic;
    font-size: .86rem;
    border-left: 3px solid var(--gold);
    padding-left: 12px;
    margin: 12px 0;
    text-align: left;
    opacity: .9;
}
.ale-timeline { border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.ale-year { font-size: .75rem; opacity: .7; }
.ale-year-now { opacity: 1; font-weight: 700; color: var(--gold); }

@media (min-width: 768px) {
    .ale-layout { flex-direction: row; align-items: flex-start; }
    .ale-text { flex: 1; }
    .ale-card-col { flex: 0 0 auto; }
}

/* ============================================================
   DOWNLOAD
============================================================ */
.download-section {
    padding: 90px 0;
    background: linear-gradient(160deg, var(--bg3) 0%, var(--bg) 100%);
    position: relative;
    text-align: center;
}
.download-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.download-section .container { position: relative; z-index: 1; }
.download-inner { max-width: 760px; margin: 0 auto; }
.dl-badge {
    display: inline-block;
    background: rgba(201,151,58,.2);
    border: 1px solid rgba(201,151,58,.4);
    color: var(--gold);
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.download-section h2 { color: #fff; margin-bottom: 12px; }
.download-section > .container > .download-inner > p { color: rgba(255,255,255,.75); font-size: .97rem; margin-bottom: 24px; }

.dl-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    max-width: 560px;
    margin: 0 auto 28px;
    text-align: left;
}
@media (min-width: 480px) { .dl-features-grid { grid-template-columns: repeat(3, 1fr); } }

.dl-feat { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: rgba(255,255,255,.85); }
.dl-feat i { color: #4ade80; font-size: .8rem; flex-shrink: 0; }

.store-buttons { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 32px; }
.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 14px;
    padding: 12px 22px;
    color: #fff;
    transition: var(--transition);
    width: 200px;
    backdrop-filter: blur(4px);
    min-height: 54px;
}
.store-btn:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.store-btn--soon { opacity: .55; cursor: not-allowed; }
.store-btn--soon:hover { background: rgba(255,255,255,.1); transform: none; }
.store-icon { font-size: 1.7rem; flex-shrink: 0; }
.store-text small { display: block; font-size: .68rem; opacity: .7; }
.store-text strong { font-size: .95rem; }

.dl-status-note { max-width: 480px; margin: -20px auto 32px; font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.65); }

@media (min-width: 480px) { .store-buttons { flex-direction: row; justify-content: center; } }

.notify-wrap { max-width: 440px; margin: 0 auto; }
.notify-wrap p { color: rgba(255,255,255,.7); font-size: .88rem; margin-bottom: 12px; }
.notify-form { display: flex; flex-direction: column; gap: 8px; }
.notify-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .93rem;
    outline: none;
    min-height: 48px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-appearance: none;
}
.notify-form input::placeholder { color: rgba(255,255,255,.5); }
.notify-form input:focus { border-color: var(--gold); background: rgba(255,255,255,.15); }
.notify-form button {
    padding: 14px 24px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}
.notify-form button:hover { background: #b0842f; }
.notify-success { color: #4ade80; font-size: .88rem; margin-top: 8px; }
@media (min-width: 480px) { .notify-form { flex-direction: row; } }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-logo { margin-bottom: 8px; }
.footer-brand p { font-size: .83rem; line-height: 1.6; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
    font-size: .95rem;
}
.footer-socials a:hover { background: var(--gold); color: var(--dark); }
.footer-col h4 { color: #fff; font-size: .85rem; margin-bottom: 12px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: .83rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.4); }

/* ============================================================
   ACCESSIBILITY & TOUCH TARGETS
============================================================ */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Ensure all interactive elements meet 44px minimum */
.filter-btn, .btn, .quiz-opt, .store-btn, .notify-form button,
.bdt, .event-month-chip, .tutto-item, .bar-type-chip {
    touch-action: manipulation;
}

/* ============================================================
   REDUCED MOTION & PRINT
============================================================ */
@media (prefers-reduced-motion: reduce) {
    .phone-float-wrap, .wave, .badge-dot, .scroll-cta { animation: none; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .navbar, .hero-phone, .quiz-phone-col { display: none; }
    body { font-size: 12pt; }
}

/* ============================================================
   ITINERARI TEMATICI SECTION
============================================================ */
.itinerari-section { padding: 80px 0; background: var(--bg2); }

.itinerari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.itinerario-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    border-top: 4px solid var(--ic, var(--gold));
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    transition: transform .2s, box-shadow .2s;
}
.itinerario-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.35); }

.it-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.it-icon { font-size: 2rem; }
.it-days {
    background: var(--ic, var(--gold));
    color: var(--bg);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.itinerario-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.itinerario-card p  { font-size: .88rem; color: var(--text-md); line-height: 1.55; margin-bottom: 14px; }

.it-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.it-tags span {
    font-size: .72rem;
    background: var(--gold-dim);
    color: var(--ic, var(--gold-lt));
    border: 1px solid var(--ic, var(--gold));
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .itinerari-grid { grid-template-columns: 1fr; }
}
