/* =========================================
   VARIABLES & RESETS
   ========================================= */
:root {
    --bg-color: #030303;
    --surface-color: #0f0f0f;
    --text-color: #ffffff;
    --text-muted: #888888;
    --accent-color: #00b4d8;
    /* Azzurrino Logo */
    --accent-hover: #0096c7;
    --wa-color: #25D366;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;

    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: initial;
    /* Lenis handles this */
}

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

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   LENIS SMOOTH SCROLL
   ========================================= */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-primary.outline {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-primary.outline:hover {
    background-color: var(--accent-color);
    color: #000;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    /* Barra sottile e sportiva */
    padding: 0 5% 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.logo {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 4%;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-4vw - 60px);
    width: 250px;
    /* Inquadra perfettamente il logo terminando prima di INICIO */
    height: 100%;
    background: linear-gradient(90deg, #000000 0%, #03070a 80%, #050e14 100%);
    transform: skewX(-20deg);
    transform-origin: bottom right;
    border-right: 3px solid var(--accent-color);
    box-shadow: 8px 0 30px rgba(0, 180, 216, 0.3);
    z-index: -1;
}

.logo img {
    height: 85px;
    /* Il logo riempie e risalta perfettamente nella barra sottile */
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    position: relative;
    z-index: 1;
    transform: scale(1.3);
    transform-origin: left center;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.7));
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover img {
    transform: scale(1.36);
    filter: drop-shadow(0 0 18px rgba(0, 180, 216, 0.5));
}

.nav {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    cursor: pointer;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1000;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.hamburger .line {
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: var(--text-color);
    left: 50%;
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger .line:nth-child(1) {
    top: 17px;
    transform: translateX(-50%);
}

.hamburger .line:nth-child(2) {
    top: 25px;
    transform: translateX(-50%);
}

.hamburger.is-active .line:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
    background-color: var(--accent-color);
}

.hamburger.is-active .line:nth-child(2) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
    background-color: var(--accent-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(3, 3, 3, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-color);
}

/* =========================================
   SCROLL PROGRESS BAR
   ========================================= */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 10000;
    pointer-events: none;
}

/* =========================================
   NOISE OVERLAY
   ========================================= */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* =========================================
   PRELOADER
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-text {
    text-align: center;
    overflow: hidden;
}

.p-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: inline-block;
}

.p-progress {
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 20px;
}

/* =========================================
   LAYOUT WRAPPERS (Curtain Effect)
   ========================================= */
.site-wrapper {
    position: relative;
}

.main-content {
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(3, 3, 3, 1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 0;
    margin-top: -3rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    /* Nascosto durante il preloader, GSAP lo farà apparire dopo */
}

.scroll-indicator span {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--accent-color);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* =========================================
   MANIFESTO (OUTLINE EFFECT)
   ========================================= */
.manifesto {
    padding: 10rem 0;
    background-color: var(--bg-color);
}

.manifesto h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.2;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    position: relative;
}

/* =========================================
   SERVICES (PINNED SECTION)
   ========================================= */
.services {
    background-color: var(--surface-color);
    position: relative;
}

.services-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.services-left {
    width: 40%;
    padding: 10rem 5%;
    /* Pinned by GSAP in JS */
}

.services-title-wrapper {
    position: sticky;
    top: 30vh;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.services-left p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.services-right {
    width: 60%;
    padding: 10rem 5% 10rem 0;
}

.service-item {
    margin-bottom: 15rem;
    opacity: 0.2;
    transition: opacity 0.5s ease;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.is-active {
    opacity: 1;
}

.service-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #0b0d11;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.service-media video,
.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* For GSAP parallax */
}

.service-media:hover video,
.service-media:hover img {
    transform: scale(1.04);
}

.contain-img {
    object-fit: contain !important;
    transform: none !important;
}

/* Riquadro foto — stesso formato rettangolare elegante 4:5 */
.service-media.auto-fit {
    aspect-ratio: 4 / 5;
}

.service-media.auto-fit img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
}

.placeholder-media {
    border: 2px dashed var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.service-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* =========================================
   PRICING
   ========================================= */
.pricing {
    padding: 10rem 0;
    background-color: var(--bg-color);
}

.center {
    text-align: center;
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 5rem;
    font-size: 1.2rem;
}

.pricing-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
    opacity: 0;
    /* For GSAP scroll reveal */
    transform: translateY(30px);
}

.pricing-item:hover,
.pricing-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 180, 216, 0.3);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pricing-header h3 span:not(.badge) {
    font-size: 0.5em;
    color: var(--text-muted);
    font-family: var(--font-main);
    text-transform: none;
    letter-spacing: 0;
}

.pricing-header:hover h3 {
    color: var(--accent-color);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 180, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

.badge {
    animation: pulseGlow 2s infinite;
    display: inline-block;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-left: auto;
    margin-right: 2rem;
}

.toggle-icon {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.pricing-body {
    height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding-right: 20%;
}

.pricing-item.active .toggle-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.pricing-cta {
    text-align: center;
    margin-top: 5rem;
}

.pricing-cta p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* =========================================
   FOOTER (Curtain Effect)
   ========================================= */
.footer {
    background-color: var(--surface-color);
    padding: 8rem 0 2rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8rem;
}

.huge-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 15rem);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.chat-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.chat-btn:hover {
    color: #fff;
    border-color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Colore Instagram */
.social-links a:nth-child(1) svg {
    stroke: #E1306C;
}

.social-links a:nth-child(1):hover {
    color: #E1306C;
}

/* Colore Facebook */
.social-links a:nth-child(2) svg {
    stroke: #1877F2;
}

.social-links a:nth-child(2):hover {
    color: #1877F2;
}

.social-links a:hover svg {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--wa-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* =========================================
   MEDIA QUERIES (MOBILE)
   ========================================= */
@media (max-width: 900px) {
    .header {
        width: 100%;
        top: 0px;
        left: 0px;
        transform: none;
        padding: 0 5% 0 0;
        height: 65px;
        /* Striscia sottile e sportiva */
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
        overflow: hidden;
    }

    .logo {
        margin-left: 30px;
        /* Spostato leggermente verso il centro */
        padding: 0px;
    }

    .logo::before {
        width: calc(100vw - 78px);
        /* Spostata leggermente verso destra */
        transform: skewX(-20deg);
        border-right: 2px solid var(--accent-color);
    }

    .logo img {
        height: 90px;
        width: auto;
        object-fit: contain;
        transform: scale(1.25);
        transform-origin: center center;
        /* Centrato verticalmente nella striscia */
    }

    .hamburger {
        width: 48px;
        height: 48px;
    }

    .hamburger .line {
        width: 20px;
    }

    .hamburger .line:nth-child(1) {
        top: 17px;
    }

    .hamburger .line:nth-child(2) {
        top: 27px;
    }

    .hamburger.is-active .line:nth-child(1),
    .hamburger.is-active .line:nth-child(2) {
        top: 19px;
    }

    /* Hero mobile — testo più in alto e gerarchia visiva pulita */
    .hero-content {
        padding-top: 0;
        margin-top: -4rem;
        /* Sposta tutto il blocco più in alto */
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
        line-height: 1.05;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .services-wrapper {
        flex-direction: column;
    }

    .services-left {
        width: 100%;
        padding: 5rem 5% 2rem;
    }

    .services-title-wrapper {
        position: relative;
        top: 0;
    }

    .services-right {
        width: 100%;
        padding: 0 5% 5rem;
    }

    .service-item {
        margin-bottom: 8rem;
        opacity: 1;
        /* Always visible on mobile */
    }

    .service-media,
    .service-media.auto-fit {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 16px;
        margin-bottom: 1.8rem;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    }

    .service-media video,
    .service-media img,
    .service-media.auto-fit img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .pricing-item {
        padding: 1.5rem;
    }

    .pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        position: relative;
        padding-right: 2rem;
    }

    .price {
        margin-left: 0;
    }

    .toggle-icon {
        position: absolute;
        right: 0;
        top: 10px;
    }

    /* Footer Fix for Mobile */
    .footer {
        position: relative;
        padding: 5rem 0 2rem;
        z-index: 1;
    }

    .footer-top {
        margin-bottom: 4rem;
    }

    .huge-text {
        font-size: clamp(3.5rem, 15vw, 6rem);
    }

    .footer-bottom {
        padding-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-section {
    padding: 100px 5% 50px;
    min-height: 70vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul,
.legal-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.legal-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.legal-content a:hover {
    border-bottom-color: var(--accent-color);
}

.legal-content ul {
    padding-left: 20px;
}

.legal-links a:hover {
    color: var(--white) !important;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    padding: 1.5rem 5%;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cookie-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-content p {
        text-align: left;
    }
}

/* =========================================
   DESKTOP OPTIMIZATIONS
   ========================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

@media (min-width: 901px) {

    /* Header Enhancements */
    .nav a {
        font-size: 1rem;
    }

    /* Services Video & Image Optimization - Formato Rettangolare Allungato & Grande 4:5 */
    .service-media,
    .service-media.auto-fit {
        width: 100%;
        max-width: 560px;
        max-height: none;
        aspect-ratio: 4 / 5;
        margin-right: auto;
    }

    /* Pricing Card Interactivity */
    .pricing-item {
        transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
    }

    .pricing-item:hover,
    .pricing-item.active {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        border-color: rgba(0, 180, 216, 0.5);
    }
}

/* =========================================
   CLUB VIP & DIGITAL PASS STYLES
   ========================================= */
.club-body {
    background-color: #030303;
    min-height: 100vh;
}

.club-main {
    padding-top: 90px;
    padding-bottom: 80px;
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.club-container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.club-section {
    width: 100%;
    animation: fadeInClub 0.5s ease-out forwards;
}

.hidden-section {
    display: none !important;
}

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

/* Header Enhancements for Club */
.nav-link.active-club {
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.club-badge-glow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-back-home:hover {
    color: #fff;
}

/* Hero Typography in Club */
.club-hero-text {
    text-align: center;
    margin-bottom: 2rem;
}

.luxury-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(0, 180, 216, 0.3);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 1rem;
    background: rgba(0, 180, 216, 0.05);
}

.club-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.club-title span {
    color: var(--accent-color);
}

.club-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Glass Panels */
.glass-panel {
    background: rgba(18, 18, 20, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Forms */
.club-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hidden-form {
    display: none !important;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 44px !important;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 180, 216, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.15);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 1.1rem 1.5rem;
}

/* =========================================
   TITANIUM DIGITAL VIP CARD
   ========================================= */
.pass-header-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-text-action {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-text-action:hover {
    color: #fff;
}

.vip-card-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.vip-titanium-card {
    position: relative;
    background: linear-gradient(135deg, #141417 0%, #08080a 50%, #17181c 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 180, 216, 0.15);
    overflow: hidden;
    color: #fff;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vip-titanium-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 180, 216, 0.25);
}

.card-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 35%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(0, 180, 216, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 65%
    );
    transform: rotate(25deg);
    pointer-events: none;
    animation: shimmerMove 8s infinite linear;
}

@keyframes shimmerMove {
    0% { transform: translateY(-30%) rotate(25deg); }
    100% { transform: translateY(30%) rotate(25deg); }
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-logo-img {
    height: 28px;
    width: auto;
}

.card-club-name {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.card-tier-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tier-gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.tier-silver {
    background: linear-gradient(135deg, #ffffff, #a0a5ad);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.tier-standard {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-middle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 1.2rem 0;
    z-index: 2;
}

.card-chip-emv {
    width: 44px;
    height: 34px;
    background: linear-gradient(135deg, #d4af37 0%, #aa820a 50%, #f3e5ab 100%);
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.card-chip-emv::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.card-vehicle-block {
    flex: 1;
}

.card-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.card-car-model {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

.plate-badge-eu {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #000;
    border-radius: 4px;
    padding: 1px 8px 1px 4px;
    margin-top: 4px;
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.plate-eu-flag {
    background: #003399;
    color: #ffcc00;
    font-size: 0.65rem;
    padding: 1px 4px;
    border-radius: 2px;
    margin-right: 6px;
    font-weight: 800;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.card-holder-name {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-stats-group {
    display: flex;
    gap: 1.25rem;
}

.card-stat {
    text-align: right;
}

.card-stat-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* =========================================
   QR CODE DISPLAY & SCAN BOX
   ========================================= */
.qr-scan-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    margin-bottom: 1.5rem;
}

.accent-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.qr-box-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.qr-box-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.qr-code-wrapper {
    position: relative;
    display: inline-block;
    padding: 14px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.qr-code-inner img,
.qr-code-inner canvas {
    display: block;
    margin: 0 auto;
}

.qr-scanner-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 12px var(--accent-color);
    animation: qrScanSweep 2.5s infinite ease-in-out;
}

@keyframes qrScanSweep {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.qr-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    font-size: 0.8rem;
}

.id-mono-badge {
    font-family: monospace;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

.pulse-sync-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.sync-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: livePulse 1.5s infinite;
}

/* Actions Grid */
.pass-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .pass-actions-grid {
        grid-template-columns: 1fr;
    }
}

.btn-action-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-action-card.wa-btn {
    background: #25D366;
    color: #000;
    font-weight: 700;
}

.btn-action-card.wa-btn:hover {
    background: #1eb956;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-action-card.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-action-card.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Maintenance Box */
.maintenance-box {
    text-align: left;
}

.maintenance-box h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #fff;
}

.maintenance-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.btn-link-reserve {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-link-reserve:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* =========================================
   REAL-TIME CELEBRATION MODAL OVERLAY
   ========================================= */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1.5rem;
    animation: fadeInOverlay 0.4s ease-out forwards;
}

.hidden-modal {
    display: none !important;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.celebration-modal {
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 180, 216, 0.4);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 180, 216, 0.3);
    animation: scaleModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleModal {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.celebration-badge-glow {
    width: 80px;
    height: 80px;
    margin: -1rem auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 35px rgba(0, 180, 216, 0.6);
    animation: bounceBadge 1s infinite alternate ease-in-out;
}

@keyframes bounceBadge {
    from { transform: translateY(0); }
    to { transform: translateY(-6px); }
}

.celebration-subtitle {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.celebration-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.celebration-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.celebration-summary-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.sum-label {
    color: var(--text-muted);
}

.sum-val {
    font-weight: 600;
    color: #fff;
}

.sum-val.accent {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

/* =========================================
   RGPD / PRIVACY & DATA PROTECTION STYLES
   ========================================= */
.rgpd-consent-group {
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.rgpd-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.rgpd-text a:hover {
    color: var(--accent-hover);
}

.rgpd-details {
    margin-bottom: 0.8rem;
    text-align: left;
}

.rgpd-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    padding: 2px 0;
}

.rgpd-summary:hover {
    color: var(--accent-color);
}

.rgpd-summary::-webkit-details-marker {
    display: none;
}

.rgpd-arrow {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.rgpd-details[open] .rgpd-arrow {
    transform: rotate(180deg);
}

.rgpd-first-layer-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    margin-top: 0.5rem;
    animation: fadeIn 0.2s ease;
}

.rgpd-first-layer-box strong {
    color: rgba(255, 255, 255, 0.85);
}

.rgpd-first-layer-box a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* =========================================================================
   GOOGLE REVIEWS LIVE SECTION
   ========================================================================= */
.reviews-section {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.reviews-header {
    margin-bottom: 3.5rem;
}

.reviews-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 199, 123, 0.12);
    border: 1px solid rgba(52, 199, 123, 0.3);
    color: #34c77b;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34c77b;
    border-radius: 50%;
    box-shadow: 0 0 8px #34c77b;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #34c77b; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.reviews-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 1rem auto 0;
}

/* Google Score Summary Card */
.google-score-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 2.5rem;
    max-width: 860px;
    margin: 0 auto 3.5rem;
    background: rgba(25, 28, 36, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    gap: 2rem;
    flex-wrap: wrap;
}

.google-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-brand-text {
    display: flex;
    flex-direction: column;
}

.google-brand-text .brand-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.google-brand-text .brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.google-score-details {
    display: flex;
    align-items: center;
    gap: 14px;
}

.google-score-details .score-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
}

.score-stars-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stars-gold {
    color: #ffb703;
    font-size: 1.3rem;
    letter-spacing: 2px;
    line-height: 1;
}

.reviews-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.btn-review-google {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color), #c48b26);
    color: #0b0d11;
    font-weight: 600;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(229, 169, 59, 0.25);
}

.btn-review-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 169, 59, 0.4);
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: rgba(22, 25, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 169, 59, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 169, 59, 0.05);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(229, 169, 59, 0.25), rgba(79, 143, 247, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}

.reviewer-meta h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
}

.reviewer-car {
    font-size: 0.76rem;
    color: var(--accent-color);
    font-weight: 500;
}

.review-google-badge {
    margin-left: auto;
    opacity: 0.9;
}

.review-stars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.review-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.review-text {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.review-verified-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.73rem;
    color: #34c77b;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.review-verified-pill .check-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: rgba(52, 199, 123, 0.18);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .google-score-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    .btn-review-google {
        width: 100%;
        justify-content: center;
    }
    .reviews-section {
        padding: 4rem 0 3rem;
    }
}