/*
 * YoGym style-public.css — Kinetic Depth Design System
 * Caricato SOLO da: index.php, trainers.php, prezzi.php
 * NON modifica Bootstrap, :root, body, .navbar, .btn, .table
 * Usa esclusivamente classi prefissate yg- o yg_
 */

/* ── Google Fonts loaded via HTML <link> ─── */
/* Plus Jakarta Sans (headlines), Inter (body), Playfair Display (editorial) */

/* ── Font pubblici (non interferiscono con il backend) ─── */
.yg-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--yp-surface);
    color: var(--yp-text);
}
.yg-page *,
.yg-page *::before,
.yg-page *::after {
    box-sizing: border-box;
}
/* Prevent horizontal scroll on public pages */
.yg-page { overflow-x: clip; }

/* ── Variabili locali (non sovrascrivono :root) ─────────── */
/* Dark theme (default - Kinetic Depth) */
.yg-page,
.yg-page[data-theme="dark"] {
    --yp-primary:    #f97316;
    --yp-primary-hv: #ea6c0a;
    --yp-accent:     #fb923c;
    --yp-gradient:   linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    --yp-text:       #dae2fd;
    --yp-text-sec:   #e0c0b1;
    --yp-muted:      #a78b7d;
    --yp-surface:    #0b1326;
    --yp-surface-low: #131b2e;
    --yp-surface-mid: #171f33;
    --yp-surface-high: #222a3d;
    --yp-surface-highest: #2d3449;
    --yp-surface-lowest: #060e20;
    --yp-border:     rgba(88, 66, 55, 0.15);
    --yp-footer:     #060e20;
    --yp-nav-bg:     rgba(11, 19, 38, .75);
    --yp-nav-bg-solid: rgba(11, 19, 38, .85);
    --yp-nav-shadow: rgba(6, 14, 32, 0.4);
    --yp-card-hover: #2d3449;
    --yp-input-bg:   #0b1326;
    --yp-white:      #fff;
    --yp-white-08:   rgba(255,255,255,.08);
    --yp-white-20:   rgba(255,255,255,.2);
    --yp-white-90:   rgba(255,255,255,.9);
    --yp-text-68:    rgba(218,226,253,.68);
    --yp-text-50:    rgba(218,226,253,.5);
    --yp-text-45:    rgba(218,226,253,.45);
    --yp-text-35:    rgba(218,226,253,.35);
    --yp-text-25:    rgba(218,226,253,.25);
    --yp-text-06:    rgba(218,226,253,.06);
    --yp-mob-bg:     rgba(11, 19, 38, .97);
    --yp-mob-bg-scrolled: rgba(11, 19, 38, .98);
    --yp-link-color: #94a3b8;
}

/* Light theme */
.yg-page[data-theme="light"] {
    --yp-primary:    #f97316;
    --yp-primary-hv: #ea6c0a;
    --yp-accent:     #fb923c;
    --yp-gradient:   linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
    --yp-text:       #1a0f08;
    --yp-text-sec:   #5a4133;
    --yp-muted:      #7c6050;
    --yp-surface:    #faf8f5;
    --yp-surface-low: #f3efe9;
    --yp-surface-mid: #ebe5dd;
    --yp-surface-high: #fff;
    --yp-surface-highest: #fff;
    --yp-surface-lowest: #f0ebe4;
    --yp-border:     rgba(88, 66, 55, 0.1);
    --yp-footer:     #1a0f08;
    --yp-nav-bg:     rgba(250, 248, 245, .85);
    --yp-nav-bg-solid: rgba(250, 248, 245, .92);
    --yp-nav-shadow: rgba(0, 0, 0, 0.08);
    --yp-card-hover: #f3efe9;
    --yp-input-bg:   #f3efe9;
    --yp-white:      #1a0f08;
    --yp-white-08:   rgba(0,0,0,.04);
    --yp-white-20:   rgba(0,0,0,.12);
    --yp-white-90:   #1a0f08;
    --yp-text-68:    rgba(26,15,8,.68);
    --yp-text-50:    rgba(26,15,8,.5);
    --yp-text-45:    rgba(26,15,8,.45);
    --yp-text-35:    rgba(26,15,8,.35);
    --yp-text-25:    rgba(26,15,8,.2);
    --yp-text-06:    rgba(26,15,8,.06);
    --yp-mob-bg:     rgba(250, 248, 245, .97);
    --yp-mob-bg-scrolled: rgba(250, 248, 245, .98);
    --yp-link-color: #5a4133;
}

/* ══════════════════════════════════════════════════════
   NAVBAR PUBBLICA — Kinetic Depth Glass
   ══════════════════════════════════════════════════════ */
.yg-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    transition: background .3s, box-shadow .3s;
    border-bottom: none;
}
.yg-navbar.yg-nb-scrolled {
    background: var(--yp-nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px var(--yp-nav-shadow);
}
.yg-navbar.yg-nb-sticky {
    position: sticky;
    background: var(--yp-nav-bg-solid);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px var(--yp-nav-shadow);
}
.yg-nb-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: .85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
/* Logo */
.yg-nb-brand {
    display: flex; align-items: center; gap: .55rem;
    text-decoration: none; font-weight: 800; font-size: 1.2rem;
    color: var(--yp-white); transition: color .3s;
    white-space: nowrap; flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.yg-nb-brand .yg-nb-dot {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.yg-nb-scrolled .yg-nb-brand,
.yg-nb-sticky .yg-nb-brand { color: var(--yp-white); }

/* Links desktop */
.yg-nb-links {
    display: flex; align-items: center; gap: 1.5rem; flex: 1; justify-content: center;
}
.yg-nb-link {
    font-size: .95rem; font-weight: 600;
    text-decoration: none; color: var(--yp-link-color);
    transition: color .2s; white-space: nowrap;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}
.yg-nb-link:hover { color: var(--yp-white); }
.yg-nb-scrolled .yg-nb-link,
.yg-nb-sticky .yg-nb-link { color: var(--yp-link-color); }
.yg-nb-scrolled .yg-nb-link:hover,
.yg-nb-sticky .yg-nb-link:hover { color: var(--yp-white); }

/* CTA buttons */
.yg-nb-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.yg-nb-ghost {
    font-size: .88rem; font-weight: 600; text-decoration: none;
    color: var(--yp-link-color); padding: .44rem .85rem;
    border-radius: 9999px; transition: all .2s; white-space: nowrap;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-nb-ghost:hover { background: var(--yp-white-08); color: var(--yp-white); }
.yg-nb-scrolled .yg-nb-ghost,
.yg-nb-sticky .yg-nb-ghost { color: var(--yp-link-color); }
.yg-nb-scrolled .yg-nb-ghost:hover,
.yg-nb-sticky .yg-nb-ghost:hover { background: var(--yp-white-08); color: var(--yp-white); }
.yg-nb-btn {
    font-size: .88rem; font-weight: 700; text-decoration: none;
    color: #552100; background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    padding: .52rem 1.3rem; border-radius: 9999px;
    transition: all .2s; white-space: nowrap;
    display: inline-flex; align-items: center; gap: .3rem;
    border: none; cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}
.yg-nb-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    color: #552100;
}

/* Hamburger */
.yg-nb-ham {
    background: transparent; border: none; padding: .3rem;
    color: var(--yp-white-90); cursor: pointer; line-height: 1;
    font-size: 1.5rem; display: none; align-items: center;
    font-family: inherit;
}
.yg-nb-scrolled .yg-nb-ham,
.yg-nb-sticky .yg-nb-ham { color: var(--yp-text); }

/* Mobile menu */
.yg-nb-mobile {
    display: none;
    background: var(--yp-mob-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: .6rem 1.5rem 1rem;
}
.yg-nb-mobile.yg-open { display: block; }
.yg-nb-scrolled .yg-nb-mobile,
.yg-nb-sticky .yg-nb-mobile {
    background: var(--yp-mob-bg-scrolled);
}
.yg-nb-mobile .yg-nb-link {
    display: block; padding: .65rem .5rem;
    border-radius: 8px; font-size: .93rem;
}
.yg-nb-mobile .yg-mob-btns {
    display: flex; gap: .5rem; margin-top: .6rem;
}
.yg-mob-outline {
    flex: 1; text-align: center; padding: .62rem;
    border-radius: 9999px; font-size: .88rem; font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--yp-white-20);
    color: var(--yp-white-90);
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-nb-scrolled .yg-mob-outline,
.yg-nb-sticky .yg-mob-outline {
    border-color: var(--yp-white-20); color: var(--yp-text);
}
.yg-mob-solid {
    flex: 1; text-align: center; padding: .62rem;
    border-radius: 9999px; font-size: .88rem; font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    color: #552100;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Theme toggle button */
.yg-theme-toggle {
    background: var(--yp-surface-high);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yp-muted);
    font-size: 1.1rem;
    transition: all .2s;
    flex-shrink: 0;
}
.yg-theme-toggle:hover { color: var(--yp-primary); }
.yg-page[data-theme="dark"] .yg-theme-light-icon,
.yg-page:not([data-theme]) .yg-theme-light-icon { display: none; }
.yg-page[data-theme="light"] .yg-theme-dark-icon { display: none; }
.yg-page[data-theme="light"] .yg-theme-light-icon { display: inline; }

/* Mobile theme toggle */
.yg-mob-theme-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .5rem;
    border-radius: 8px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--yp-link-color);
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color .2s;
}
.yg-mob-theme-toggle:hover { color: var(--yp-white); }

/* Responsive navbar */
@media (min-width: 992px) {
    .yg-nb-ham { display: none !important; }
    .yg-nb-mobile { display: none !important; }
}
@media (max-width: 991.98px) {
    .yg-nb-links { display: none !important; }
    .yg-nb-cta   { display: none !important; }
    .yg-nb-ham   { display: flex !important; }
}

/* ══════════════════════════════════════════════════════
   HERO — sfondo hero-gym.jpg
   ══════════════════════════════════════════════════════ */
.yg-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 0 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}
.yg-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0; overflow: hidden;
}
.yg-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; min-width: 100%; min-height: 100%;
    opacity: 0.2;
}
.yg-hero-bg-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, rgba(11,19,38,.95) 0%, rgba(11,19,38,.78) 55%, rgba(11,19,38,.52) 100%),
        linear-gradient(to top,   rgba(11,19,38,1)   0%, transparent 35%,   rgba(11,19,38,.48) 100%);
}
.yg-hero-body {
    position: relative; z-index: 2;
    width: 100%; max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.yg-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 800; line-height: 1.1;
    color: var(--yp-white); margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}
.yg-hero h1 .yg-orange { color: #f97316; }
.yg-hero-lead {
    color: var(--yp-text-sec);
    font-size: 1.05rem; line-height: 1.75;
    max-width: 510px; margin-bottom: 2rem;
}
.yg-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--yp-surface-high); border: none;
    border-radius: 100px; padding: .34rem .9rem;
    color: #ffb690; font-size: .8rem; font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: .05em; text-transform: uppercase;
}
.yg-pill {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(34, 42, 61, .6); border: none;
    border-radius: 100px; padding: .27rem .78rem;
    color: var(--yp-text-sec); font-size: .79rem;
}

/* Light theme hero overrides */
.yg-page[data-theme="light"] .yg-hero-bg img { opacity: 0.12; }
.yg-page[data-theme="light"] .yg-hero-bg-overlay {
    background:
        linear-gradient(to right, rgba(250,248,245,.95) 0%, rgba(250,248,245,.7) 55%, rgba(250,248,245,.4) 100%),
        linear-gradient(to top,   rgba(250,248,245,1)   0%, transparent 35%,   rgba(250,248,245,.48) 100%);
}
.yg-page[data-theme="light"] .yg-hero h1 { color: #1a0f08; }
.yg-page[data-theme="light"] .yg-hero h1 .yg-orange { color: #f97316; }
.yg-page[data-theme="light"] .yg-pill { background: rgba(243,239,233,.8); }
.yg-page[data-theme="light"] .yg-badge { background: rgba(243,239,233,.9); }

/* Phone mockup */
.yg-phone {
    width: 240px; border-radius: 3rem;
    border: 8px solid var(--yp-white-08);
    background: var(--yp-surface-low); overflow: hidden;
    box-shadow: 0 28px 72px var(--yp-nav-shadow);
    position: relative; z-index: 2; flex-shrink: 0;
}
.yg-phone img {
    width: 100%; aspect-ratio: 9/19;
    object-fit: cover; display: block;
}
/* Floating cards */
.yg-fcard {
    position: absolute; background: var(--yp-surface-high);
    border-radius: 14px; padding: .68rem .88rem;
    box-shadow: 0 8px 28px var(--yp-nav-shadow);
    display: flex; align-items: center; gap: .65rem;
    z-index: 3; min-width: 152px; max-width: 180px;
}
.yg-fcard-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(249,115,22,.15); display: flex; align-items: center;
    justify-content: center; color: #f97316;
    font-size: .95rem; flex-shrink: 0;
}
.yg-fcard-title { font-size: .78rem; font-weight: 700; color: var(--yp-white); line-height: 1.2; }
.yg-fcard-sub   { font-size: .68rem; color: var(--yp-muted); }
.yg-fl { left: -14px; top: 22%; animation: ypFloat 3s ease-in-out infinite; }
.yg-fr { right: -14px; bottom: 28%; animation: ypFloat 4s ease-in-out infinite 1s; }
@keyframes ypFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.yg-scroll-hint {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    color: var(--yp-text-25); font-size: .7rem; z-index: 2;
    animation: ypFloat 2s ease-in-out infinite;
}
.yg-scroll-mouse {
    width: 20px; height: 30px; border: 2px solid var(--yp-text-25);
    border-radius: 10px; display: flex; justify-content: center; padding-top: 4px;
}
.yg-scroll-dot {
    width: 3px; height: 6px; background: var(--yp-text-25);
    border-radius: 2px; animation: ypDot 2s infinite;
}
@keyframes ypDot { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(7px)} }

/* ══════════════════════════════════════════════════════
   SEZIONI GENERALI
   ══════════════════════════════════════════════════════ */
.yg-section { padding: 6rem 0; }
.yg-section-alt { background: var(--yp-surface-low); }
.yg-container {
    max-width: 1280px; margin: 0 auto;
    padding-left: 1.5rem; padding-right: 1.5rem;
}
.yg-eyebrow {
    font-size: .73rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: #f97316; margin-bottom: .6rem; display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.6rem);
    font-weight: 800; color: var(--yp-white);
    line-height: 1.2; margin-bottom: .8rem;
    letter-spacing: -0.03em;
}
.yg-sublead {
    font-size: 1rem; color: var(--yp-muted);
    max-width: 560px; line-height: 1.75;
}

/* Feature card */
.yg-fbox {
    background: var(--yp-surface-high); border: none;
    border-radius: 16px; padding: 1.85rem;
    transition: background .35s, transform .25s, box-shadow .35s;
    height: 100%;
}
.yg-fbox:hover {
    background: var(--yp-card-hover);
    transform: translateY(-3px);
}
.yg-fbox-icon {
    width: 48px; height: 48px; border-radius: 13px;
    background: rgba(249,115,22,.12);
    display: flex; align-items: center; justify-content: center;
    color: #f97316; font-size: 1.3rem; margin-bottom: 1.1rem;
    transition: background .25s, color .25s;
}
.yg-fbox:hover .yg-fbox-icon { background: #f97316; color: #fff; }
.yg-fbox h3 { font-size: 1.02rem; font-weight: 700; color: var(--yp-white); margin-bottom: .38rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.yg-fbox p  { font-size: .87rem; color: var(--yp-muted); line-height: 1.65; margin: 0; }

/* Light theme card shadows */
.yg-page[data-theme="light"] .yg-fbox { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.yg-page[data-theme="light"] .yg-fbox:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* App store btn */
.yg-appbtn {
    display: inline-flex; align-items: center; gap: .7rem;
    background: var(--yp-surface-high); color: var(--yp-text); border-radius: 11px;
    padding: .62rem 1.2rem; text-decoration: none;
    transition: background .2s, transform .15s;
}
.yg-appbtn:hover { background: var(--yp-card-hover); color: var(--yp-white); transform: translateY(-1px); }
.yg-appbtn .ab-small { font-size: .65rem; opacity: .6; line-height: 1; display: block; }
.yg-appbtn .ab-name  { font-size: .88rem; font-weight: 700; line-height: 1.3; display: block; }

/* ══════════════════════════════════════════════════════
   TRAINER CARDS (pagine pubbliche)
   ══════════════════════════════════════════════════════ */
.yg-trcard {
    background: var(--yp-surface-high); border: none;
    border-radius: 16px; overflow: hidden;
    transition: background .3s, transform .25s, box-shadow .3s;
}
.yg-trcard:hover {
    background: var(--yp-card-hover);
    transform: translateY(-3px);
}
.yg-trcard-img {
    height: 200px; overflow: hidden; position: relative;
}
.yg-trcard-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    display: block; transition: transform .3s;
}
.yg-trcard:hover .yg-trcard-img img { transform: scale(1.05); }
.yg-trcard-img .yg-tr-noimg {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffb690, #f97316);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2rem; font-weight: 700;
}
.yg-trcard-img .yg-ratingpill {
    position: absolute; bottom: .7rem; left: .7rem; z-index: 2;
    background: rgba(11, 19, 38, .85); backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: .2rem .6rem; font-size: .74rem; font-weight: 600;
    color: #dae2fd; display: flex; align-items: center; gap: .28rem;
}
.yg-trcard-body { padding: 1.2rem; }
.yg-tr-name { font-size: 1rem; font-weight: 700; color: var(--yp-white); margin-bottom: .1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.yg-tr-spec { font-size: .81rem; color: #f97316; font-weight: 600; margin-bottom: .2rem; }
.yg-tr-meta { font-size: .77rem; color: var(--yp-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.yg-tr-desc { font-size: .82rem; color: var(--yp-muted); line-height: 1.55; margin: .6rem 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yg-tag {
    display: inline-block; background: var(--yp-surface-mid); border: none;
    border-radius: 100px; padding: .16rem .6rem; font-size: .72rem; color: var(--yp-muted); font-weight: 500;
}
.yg-tr-foot {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: .65rem; border-top: none; margin-top: .4rem;
    background: linear-gradient(to right, rgba(23,31,51,.5), transparent);
    margin: .4rem -1.2rem 0;
    padding: .65rem 1.2rem 0;
}
.yg-page[data-theme="light"] .yg-tr-foot {
    background: linear-gradient(to right, rgba(243,239,233,.5), transparent);
}
.yg-tr-price { font-size: 1.05rem; font-weight: 800; color: var(--yp-white); }
.yg-tr-dur   { font-size: .78rem; color: var(--yp-muted); }

/* Light theme trainer card shadows */
.yg-page[data-theme="light"] .yg-trcard { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.yg-page[data-theme="light"] .yg-trcard:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* ══════════════════════════════════════════════════════
   PRICING CARDS
   ══════════════════════════════════════════════════════ */
.yg-pcard {
    background: var(--yp-surface-high); border: none;
    border-radius: 20px; padding: 2rem 1.85rem;
    position: relative; height: 100%;
    transition: background .3s, transform .25s, box-shadow .3s;
}
.yg-pcard:hover { background: var(--yp-card-hover); transform: translateY(-3px); }
.yg-pcard.yg-featured {
    background: linear-gradient(135deg, #f97316, #ea6c0a);
    box-shadow: 0 18px 50px rgba(249,115,22,.28);
}
.yg-pcard.yg-featured h3,
.yg-pcard.yg-featured .yg-price-val { color: #fff !important; }
.yg-pcard.yg-featured p,
.yg-pcard.yg-featured li,
.yg-pcard.yg-featured .yg-price-from,
.yg-pcard.yg-featured .yg-price-per { color: rgba(255,255,255,.78) !important; }
.yg-pcard.yg-featured .yg-plist li { border-color: rgba(255,255,255,.15) !important; }
.yg-pbadge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    color: #552100; border-radius: 100px;
    padding: .25rem .95rem; font-size: .73rem; font-weight: 700; white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-price-from { font-size: .73rem; color: var(--yp-muted); display: block; }
.yg-price-val  { font-size: 2.8rem; font-weight: 800; color: var(--yp-white); line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.yg-price-per  { font-size: .87rem; color: var(--yp-muted); }
.yg-plist { list-style: none; padding: 0; margin: 0; }
.yg-plist li {
    display: flex; align-items: center; gap: .52rem;
    padding: .42rem 0; font-size: .87rem; color: var(--yp-text-sec);
    border-bottom: none;
}
.yg-plist li + li {
    padding-top: .42rem;
}
.yg-pcheck { color: #f97316 !important; font-size: 1.02rem; flex-shrink: 0; }
.yg-pcard.yg-featured .yg-pcheck { color: rgba(255,255,255,.65) !important; }

/* Light theme pricing card shadows */
.yg-page[data-theme="light"] .yg-pcard { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.yg-page[data-theme="light"] .yg-pcard:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* ══════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════ */
.yg-cta {
    background: var(--yp-surface-lowest);
    position: relative; overflow: hidden; padding: 6rem 0;
}
.yg-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(249,115,22,.1) 0%, transparent 70%);
    pointer-events: none;
}
.yg-cta h2 {
    font-family: 'Plus Jakarta Sans', sans-serif; color: var(--yp-white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
    letter-spacing: -0.03em;
}
.yg-cta .yg-cta-sub { color: var(--yp-muted); font-size: 1rem; max-width: 530px; margin: 0 auto; line-height: 1.75; }
.yg-trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #f97316; display: inline-block; margin-right: .38rem; }
.yg-trust-item { font-size: .83rem; color: var(--yp-muted); display: inline-flex; align-items: center; }

/* ══════════════════════════════════════════════════════
   FOOTER PUBBLICO — Kinetic Depth
   ══════════════════════════════════════════════════════ */
.yg-footer {
    background: var(--yp-surface-lowest);
    color: var(--yp-text-68);
    padding: 4.5rem 0 0;
}
.yg-ft-brand {
    display: flex; align-items: center; gap: .58rem;
    text-decoration: none; color: var(--yp-white); font-weight: 800; font-size: 1.15rem;
    margin-bottom: .9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-ft-brand-dot {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .9rem;
}
.yg-ft-tagline { color: var(--yp-text-35); font-size: .86rem; max-width: 270px; line-height: 1.62; margin-bottom: 1.1rem; }
.yg-ft-social { display: flex; gap: .48rem; }
.yg-ft-social a {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--yp-surface-low); color: var(--yp-text-45);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: .9rem; transition: background .2s, color .2s;
}
.yg-ft-social a:hover { background: var(--yp-surface-high); color: #f97316; }
.yg-ft-title {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--yp-text-25); margin-bottom: .88rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-ft-links { list-style: none; padding: 0; margin: 0; }
.yg-ft-links li { margin-bottom: .52rem; }
.yg-ft-links a {
    color: var(--yp-text-50); text-decoration: none;
    font-size: .87rem; transition: color .2s;
}
.yg-ft-links a:hover { color: #f97316; }
.yg-ft-nl-title { font-size: .93rem; font-weight: 600; color: var(--yp-white); margin-bottom: .22rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.yg-ft-nl-sub   { font-size: .82rem; color: var(--yp-text-35); margin-bottom: .85rem; }
.yg-ft-nl-form  { display: flex; gap: .4rem; }
.yg-ft-nl-input {
    flex: 1; min-width: 0;
    background: var(--yp-surface-low); border: none;
    border-radius: 8px; color: var(--yp-text); padding: .6rem .9rem;
    font-size: .85rem; outline: none; transition: box-shadow .2s;
    font-family: inherit;
}
.yg-ft-nl-input::placeholder { color: var(--yp-text-25); }
.yg-ft-nl-input:focus { box-shadow: 0 0 0 2px rgba(249,115,22,.4); }
.yg-ft-nl-btn {
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    color: #552100; border: none;
    border-radius: 8px; padding: .6rem .95rem; cursor: pointer;
    font-size: .85rem; font-weight: 700; transition: transform .2s;
    white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif; flex-shrink: 0;
}
.yg-ft-nl-btn:hover { transform: scale(1.05); }
.yg-ft-hr { border-color: var(--yp-text-06); margin: 2.5rem 0 0; }
.yg-ft-bottom {
    padding: 1.4rem 0 1.6rem;
    display: flex; flex-wrap: wrap;
    justify-content: space-between; align-items: center; gap: .7rem;
}
.yg-ft-co h6  { font-size: .83rem; font-weight: 600; color: var(--yp-text-50); margin-bottom: .12rem; }
.yg-ft-co p   { font-size: .73rem; color: var(--yp-text-25); margin: 0; }
.yg-ft-copy   { font-size: .78rem; color: var(--yp-text-25); text-align: right; }
.yg-ft-copy a { color: var(--yp-text-25); text-decoration: none; }
.yg-ft-copy a:hover { color: #f97316; }

/* ══════════════════════════════════════════════════════
   BOTTONI PUBBLICI — Kinetic Depth
   ══════════════════════════════════════════════════════ */
.yg-btn {
    background: linear-gradient(135deg, #ffb690 0%, #f97316 100%);
    color: #552100; border: none; border-radius: 9999px;
    font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; padding: .65rem 1.5rem;
    transition: all .2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
    cursor: pointer; font-size: .92rem;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}
.yg-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(249,115,22,.35); color: #552100; }
.yg-btn-inv {
    background: #fff; color: #f97316; border: none; border-radius: 9999px;
    font-weight: 700; padding: .65rem 1.5rem; font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all .2s;
    text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
    font-size: .92rem; cursor: pointer;
}
.yg-btn-inv:hover { opacity: .9; color: #f97316; transform: translateY(-1px); }
.yg-btn-outline {
    border: 2px solid var(--yp-white-20); color: var(--yp-white-90);
    border-radius: 9999px; font-weight: 700; padding: .63rem 1.5rem;
    transition: all .2s; text-decoration: none; background: transparent;
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .92rem; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-btn-outline:hover { background: var(--yp-white-08); color: var(--yp-white); border-color: var(--yp-white-20); }
.yg-btn-outline-dark {
    border: 2px solid rgba(249,115,22,.4); color: #f97316;
    border-radius: 9999px; font-weight: 700; padding: .63rem 1.5rem;
    transition: all .2s; text-decoration: none; background: transparent;
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .92rem; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
}
.yg-btn-outline-dark:hover { background: rgba(249,115,22,.1); color: #ffb690; }

/* ══════════════════════════════════════════════════════
   HERO MINI (trainers.php, prezzi.php)
   ══════════════════════════════════════════════════════ */
.yg-hero-mini {
    position: relative; overflow: hidden;
    padding: 5rem 0 3.5rem;
}
.yg-hero-mini .yg-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.yg-hero-mini .yg-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: 0.15; }
.yg-hero-mini-body { position: relative; z-index: 1; }

/* Light theme hero-mini overrides */
.yg-page[data-theme="light"] .yg-hero-mini .yg-hero-bg img { opacity: 0.08; }

/* ══════════════════════════════════════════════════════
   LIGHT THEME — Inline color overrides for elements using inline styles
   ══════════════════════════════════════════════════════ */
/* Banner overlay for gym-interior images */
.yg-page[data-theme="light"] .yg-section [style*="linear-gradient(to right,rgba(11,19,38"] {
    background: linear-gradient(to right, rgba(250,248,245,.9) 0%, rgba(250,248,245,.5) 100%) !important;
}
.yg-page[data-theme="light"] .yg-section-alt [style*="linear-gradient(to right,rgba(11,19,38"] {
    background: linear-gradient(to right, rgba(243,239,233,.9) 0%, rgba(243,239,233,.5) 100%) !important;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE MOBILE
   ══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .yg-fl, .yg-fr { display: none !important; }
    .yg-phone { width: 200px; }
}
@media (max-width: 767.98px) {
    .yg-section { padding: 4rem 0; }
    .yg-hero { min-height: auto; padding-bottom: 3rem; }
    .yg-hero h1 { font-size: 1.95rem; }
    .yg-phone { width: 175px; }
    .yg-footer .yg-ft-bottom { flex-direction: column; align-items: flex-start; }
    .yg-footer .yg-ft-copy { text-align: left; }
}
@media (max-width: 575.98px) {
    .yg-hero { min-height: 100svh; }
    .yg-phone { display: none; }
    .yg-container { padding-left: 1rem; padding-right: 1rem; }
    .yg-nb-inner { padding-left: 1rem; padding-right: 1rem; }
    .yg-hero-body { padding: 3rem 1rem; }
    .yg-pcard { padding: 1.5rem 1.2rem; }
    .yg-trcard-img { height: 175px; }
    .yg-h2 { font-size: 1.6rem; }
    .yg-footer { padding-top: 3rem; }
}

/* Social icons nascosti per richiesta cliente */
.yg-ft-social { display: none !important; }

/*CUSTOM MATTEO*/
.yg-row{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0 1rem;
}

.yg-row .yg-col-4{
    width: 280px;
    max-width: 100%;
    flex-shrink: 1;
}
@media (max-width: 599px) {
    .yg-row .yg-col-4 {
        width: 100%;
        min-width: 0;
    }
}
.yg-row .yg-trcard{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.yg-row .yg-trcard .yg-trcard-img{
    height: 100% !important;
    aspect-ratio: 1/1 !important;
}
.yg-row .yg-trcard-body{
    display: flex;
    flex-direction: column;
    height: 100%;
}


.navbar-logo{
    display: inline-flex;
    align-items: center;
}

.mobile-logo{
    display: block;
    height: 50px;
    width: auto;
}

.desktop-logo{
    display: none;
    height: 50px;
    width: auto;
}

@media (min-width : 768px){
    .mobile-logo{
        display: none
    }

    .desktop-logo{
        display: block;
    }
}