/* 
   New Hero Styles - Personal
   Scoped to .hero-v2-privati
*/

.hero-v2-privati {
    --cream: #faf7f4;
    --blush: #e8c9c1;
    --rose: #b5737a;
    --mauve: #7a5c6e;
    --teal: #3d7a8a;
    --dark: #1e1a22;
    --text: #3b3040;
}

/* ── NAV ── */
.hero-v2-privati header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 3rem;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    background: rgba(250, 247, 244, .55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 0 rgba(181, 115, 122, .08), 0 4px 24px rgba(0, 0, 0, .04);
}

.hero-v2-privati .logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}

.hero-v2-privati .brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.hero-v2-privati .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #000;
    line-height: 1.2;
}

.hero-v2-privati .brand-name {
    display: block;
}

.hero-v2-privati .brand-tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .65rem;
    font-weight: 400;
    color: var(--mauve);
    letter-spacing: .08em;
}

.hero-v2-privati #main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-v2-privati #main-nav a {
    text-decoration: none;
    font-size: .87rem;
    color: var(--text);
    transition: color .2s;
}

.hero-v2-privati #main-nav a:hover,
.hero-v2-privati #main-nav a.active {
    color: var(--rose);
}

.hero-v2-privati .nav-cta {
    background: var(--teal);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: .55rem 1.2rem;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s, transform .15s;
    text-decoration: none;
}

.hero-v2-privati .nav-cta:hover {
    background: #2f6070;
    transform: translateY(-1px);
}

/* ── HERO ── */
.hero-v2-privati .hero-v2 {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 7rem 5rem 4rem;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-v2-privati .hero-v2::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(232, 201, 193, 0.35) 40%,
            transparent 70%);
    filter: blur(2px);
    top: -80px;
    left: -180px;
    pointer-events: none;
}

.hero-v2-privati .hero-v2::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 122, 138, .15) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    pointer-events: none;
}

.hero-v2-privati .hero-text {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp-v2 .9s .2s ease forwards;
}

.hero-v2-privati .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.hero-v2-privati .eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--rose);
}

.hero-v2-privati .headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 1.4rem;
}

.hero-v2-privati .headline em {
    font-style: italic;
    font-weight: 700;
    color: var(--rose);
}

.hero-v2-privati .subline {
    font-size: 1.05rem;
    color: var(--mauve);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2.4rem;
    line-height: 1.5;
}

.hero-v2-privati .cta-group {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.hero-v2-privati .btn-primary-v2 {
    background: linear-gradient(160deg, #c4848b 0%, var(--rose) 50%, #a06068 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: .85rem 2rem;
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 4px 20px rgba(181, 115, 122, .4);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.hero-v2-privati .btn-primary-v2::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.22);
    transform: skewX(-20deg);
    transition: left .45s ease;
}

.hero-v2-privati .btn-primary-v2:hover::after {
    left: 130%;
}

.hero-v2-privati .btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 28px rgba(181, 115, 122, .45);
}

.hero-v2-privati .btn-secondary-v2 {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--teal);
    text-decoration: none;
    transition: color .2s;
}

.hero-v2-privati .btn-secondary-v2:hover {
    color: var(--teal);
}

.hero-v2-privati .btn-secondary-v2 svg {
    width: 18px;
    height: 18px;
    transition: transform .2s;
    flex-shrink: 0;
}

.hero-v2-privati .btn-secondary-v2:hover svg {
    transform: translateX(3px);
}

.hero-v2-privati .bg5-badge-mini {
    background: var(--rose);
    color: #fff;
    border-radius: 50px;
    padding: .22rem .6rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
    flex-shrink: 0;
}

.hero-v2-privati .social-proof {
    margin-top: 3rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .2));
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: .5rem 1rem .5rem .5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(181, 115, 122, .12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    font-size: .8rem;
    color: var(--mauve);
}

.hero-v2-privati .hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft-v2 .9s .4s ease forwards;
}

.hero-v2-privati .image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-v2-privati .photo-blob {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
    border-radius: 60% 55% 50% 58% / 55% 50% 60% 55%;
    display: block;
    box-shadow: 0 16px 48px rgba(122, 92, 110, .22);
}

.hero-v2-privati .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0) 100%);
    border-radius: inherit;
    pointer-events: none;
    animation: photoShine-v2 5s 1.5s ease-in-out infinite;
}

.hero-v2-privati .dot-grid {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--rose) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: .35;
}

.hero-v2-privati .vertical-tag {
    position: absolute;
    top: 50%;
    right: -2.8rem;
    transform: translateY(-50%) rotate(90deg);
    font-size: .6rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--mauve);
    opacity: .6;
    white-space: nowrap;
}

.hero-v2-privati .star {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    font-size: 1.4rem;
    opacity: .25;
    animation: spin-v2 8s linear infinite;
}

.hero-v2-privati .photo-ribbon {
    display: none;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp-v2 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft-v2 {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin-v2 {
    to {
        transform: rotate(360deg);
    }
}

@keyframes photoShine-v2 {
    0% {
        left: -75%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        left: 130%;
        opacity: 1;
    }

    51% {
        opacity: 0;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .hero-v2-privati header {
        position: fixed !important;
        padding: .9rem 1.4rem;
    }

    .hero-v2-privati #main-nav {
        display: none;
    }

    .hero-v2-privati .hero-v2 {
        grid-template-columns: 1fr;
        padding: 6rem 1.6rem 3rem;
        text-align: center;
    }

    .hero-v2-privati .hero-visual {
        order: -1;
    }

    .hero-v2-privati .photo-blob {
        aspect-ratio: 1 / 1;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-v2-privati .photo-ribbon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: .75rem;
        background: rgba(181, 115, 122, .12);
        border: 1px solid rgba(181, 115, 122, .25);
        border-radius: 50px;
        padding: .45rem 1.1rem;
        font-size: .75rem;
        color: var(--rose);
        text-transform: uppercase;
    }

    .hero-v2-privati .eyebrow,
    .hero-v2-privati .cta-group {
        justify-content: center;
    }

    .hero-v2-privati .btn-secondary-v2 {
        white-space: nowrap;
    }

    .hero-v2-privati .hero-v2 {
        overflow-x: hidden;
    }

    .hero-v2-privati .vertical-tag,
    .hero-v2-privati .dot-grid {
        display: none;
    }
}

/* ── POST-HERO GLASSMORPHISM ── */

/* Quote bubble */
.hero-v2-privati .quote-section {
    padding: 3rem 0;
    text-align: center;
}

.hero-v2-privati .quote-text {
    display: inline-block;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    padding: 1.8rem 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(181, 115, 122, .1), inset 0 1px 0 rgba(255, 255, 255, .85);
}

/* Blog / service cards */
.hero-v2-privati .blog-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 32px rgba(181, 115, 122, .08), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    transition: transform .2s, box-shadow .2s;
}

.hero-v2-privati .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(181, 115, 122, .16), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
}

/* HD bodygraph section */
.hero-v2-privati .hd-section {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(122, 92, 110, .1), inset 0 1px 0 rgba(255, 255, 255, .85) !important;
}

/* CTA band */
.hero-v2-privati .hero-cta-band {
    background: linear-gradient(145deg, var(--rose) 0%, var(--mauve) 100%);
    position: relative;
    overflow: hidden;
}

.hero-v2-privati .hero-cta-band::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    top: -160px;
    right: -100px;
    pointer-events: none;
}

/* Footer glass */
.hero-v2-privati footer {
    background: rgba(250, 247, 244, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.55) !important;
}
/* Grav: container inside header must be transparent for flex layout */
.hero-v2-privati header .container {
    display: contents;
}
