/*
Theme Name: Beauty Progress
Theme URI: http://beautyprogress.it
Description: Tema personalizzato per Beauty Progress - Centro Estetico di Martina
Author: Beauty Progress
Version: 1.0
Template: astra
Text Domain: beautyprogress
*/

/* =============================================
   GOOGLE FONTS - Montserrat
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --bp-black: #1a1a1a;
    --bp-dark: #2c2c2c;
    --bp-gold: #c9a96e;
    --bp-gold-light: #d4b97a;
    --bp-cream: #f8f5f0;
    --bp-white: #ffffff;
    --bp-grey: #e8e4df;
    --bp-grey-dark: #888888;
    --bp-font-heading: 'Georgia', 'Times New Roman', serif;
    --bp-font-body: 'Montserrat', sans-serif;
    --bp-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   GLOBAL RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bp-font-body);
    font-weight: 300;
    color: var(--bp-black);
    background-color: var(--bp-white);
    line-height: 1.8;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bp-font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--bp-black);
    transition: var(--bp-transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   PRELOADER
   ============================================= */
.bp-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bp-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.bp-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.bp-preloader .loader {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(201, 169, 110, 0.2);
    border-top-color: var(--bp-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.bp-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bp-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 1024px) {
    .bp-cursor { display: block; }
}

.bp-cursor.hover {
    transform: scale(2);
    background: rgba(201, 169, 110, 0.1);
}

/* =============================================
   NAVIGATION
   ============================================= */
.bp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--bp-transition);
}

.bp-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 15px 60px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.bp-logo img {
    height: 130px;
    width: auto;
    max-width: 580px;
    object-fit: contain;
    transition: var(--bp-transition);
}

.bp-header.scrolled .bp-logo img {
    height: 80px;
    max-width: 440px;
}

.bp-logo-dark { display: none !important; }
.bp-logo-white { display: block !important; }
.bp-header.scrolled .bp-logo-white { display: none !important; }
.bp-header.scrolled .bp-logo-dark { display: block !important; }

.bp-footer-logo img {
    filter: none !important;
}

.bp-nav {
    display: flex;
    list-style: none;
    gap: 40px;
}

.bp-nav a {
    font-family: var(--bp-font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bp-white);
    position: relative;
    padding-bottom: 5px;
}

.bp-header.scrolled .bp-nav a {
    color: var(--bp-black);
}

.bp-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--bp-gold);
    transition: var(--bp-transition);
}

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

.bp-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.bp-nav-toggle span {
    width: 30px;
    height: 1px;
    background: var(--bp-white);
    transition: var(--bp-transition);
}

.bp-header.scrolled .bp-nav-toggle span {
    background: var(--bp-black);
}

/* =============================================
   HERO SECTION
   ============================================= */
.bp-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bp-black);
}

.bp-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bp-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    background-size: cover;
    background-position: center;
}

.bp-hero-slide.active {
    opacity: 1;
}

.bp-hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.bp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bp-white);
    max-width: 800px;
    padding: 0 30px;
}

.bp-hero-subtitle {
    font-family: var(--bp-font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--bp-gold);
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.bp-hero-title {
    font-family: var(--bp-font-heading);
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.bp-hero-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 45px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1.1s forwards;
}

.bp-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--bp-white);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.bp-hero-scroll .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--bp-gold), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   BUTTONS
   ============================================= */
.bp-btn {
    display: inline-block;
    padding: 16px 45px;
    font-family: var(--bp-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border: 1px solid var(--bp-gold);
    color: var(--bp-white);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--bp-transition);
}

.bp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bp-gold);
    transition: var(--bp-transition);
    z-index: -1;
}

.bp-btn:hover {
    color: var(--bp-white);
}

.bp-btn:hover::before {
    left: 0;
}

.bp-btn-solid {
    background: var(--bp-gold);
    border-color: var(--bp-gold);
    color: var(--bp-white);
}

.bp-btn-solid:hover {
    background: var(--bp-black);
    border-color: var(--bp-black);
}

.bp-btn-dark {
    border-color: var(--bp-black);
    color: var(--bp-black);
}

.bp-btn-dark::before {
    background: var(--bp-black);
}

.bp-btn-dark:hover {
    color: var(--bp-white);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.bp-section {
    padding: 120px 60px;
}

.bp-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.bp-section-label {
    font-family: var(--bp-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--bp-gold);
    margin-bottom: 20px;
}

.bp-section-title {
    font-size: 48px;
    color: var(--bp-black);
    margin-bottom: 20px;
}

.bp-section-divider {
    width: 60px;
    height: 1px;
    background: var(--bp-gold);
    margin: 25px auto;
}

.bp-section-desc {
    font-size: 16px;
    color: var(--bp-grey-dark);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.bp-about {
    background: var(--bp-cream);
}

.bp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.bp-about-image {
    position: relative;
    overflow: hidden;
}

.bp-about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bp-about-image:hover img {
    transform: scale(1.05);
}

.bp-about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--bp-gold);
    z-index: -1;
}

.bp-about-text h3 {
    font-size: 38px;
    margin-bottom: 30px;
}

.bp-about-text p {
    font-size: 15px;
    color: var(--bp-grey-dark);
    margin-bottom: 20px;
    line-height: 1.9;
}

.bp-about-signature {
    font-family: var(--bp-font-heading);
    font-size: 28px;
    font-style: italic;
    color: var(--bp-gold);
    margin-top: 30px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.bp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.bp-service-card {
    text-align: center;
    padding: 50px 35px;
    background: var(--bp-white);
    border: 1px solid var(--bp-grey);
    transition: var(--bp-transition);
    position: relative;
    overflow: hidden;
}

.bp-service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bp-gold);
    transform: scaleX(0);
    transition: var(--bp-transition);
}

.bp-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.bp-service-card:hover::before {
    transform: scaleX(1);
}

.bp-service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bp-service-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--bp-gold);
    fill: none;
    stroke-width: 1;
}

.bp-service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.bp-service-card p {
    font-size: 14px;
    color: var(--bp-grey-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bp-service-price {
    font-family: var(--bp-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--bp-gold);
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.bp-gallery {
    background: var(--bp-black);
    padding: 120px 0;
}

.bp-gallery .bp-section-header {
    padding: 0 60px;
}

.bp-gallery .bp-section-title {
    color: var(--bp-white);
}

.bp-gallery .bp-section-desc {
    color: var(--bp-grey-dark);
}

.bp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.bp-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.bp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.bp-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 110, 0);
    transition: var(--bp-transition);
}

.bp-gallery-item:hover img {
    transform: scale(1.1);
}

.bp-gallery-item:hover::after {
    background: rgba(201, 169, 110, 0.3);
}

.bp-gallery-item .overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--bp-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--bp-transition);
}

.bp-gallery-item:hover .overlay-text {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.bp-testimonials {
    background: var(--bp-cream);
}

.bp-testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.bp-testimonial {
    display: none;
}

.bp-testimonial.active {
    display: block;
}

.bp-testimonial-quote {
    font-family: var(--bp-font-heading);
    font-size: 24px;
    font-style: italic;
    line-height: 1.7;
    color: var(--bp-dark);
    margin-bottom: 30px;
}

.bp-testimonial-quote::before {
    content: '\201C';
    display: block;
    font-size: 80px;
    color: var(--bp-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.bp-testimonial-author {
    font-family: var(--bp-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bp-gold);
}

.bp-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.bp-testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--bp-gold);
    cursor: pointer;
    transition: var(--bp-transition);
}

.bp-testimonial-dot.active {
    background: var(--bp-gold);
}

/* =============================================
   GIFT CARDS / CTA
   ============================================= */
.bp-cta {
    position: relative;
    padding: 150px 60px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--bp-white);
}

.bp-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.bp-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.bp-cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.bp-cta p {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.bp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.bp-contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.bp-contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.bp-contact-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--bp-gold);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 3px;
}

.bp-contact-item h4 {
    font-family: var(--bp-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.bp-contact-item p {
    font-size: 15px;
    color: var(--bp-grey-dark);
}

.bp-contact-form input,
.bp-contact-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--bp-grey);
    background: transparent;
    font-family: var(--bp-font-body);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    outline: none;
    transition: var(--bp-transition);
}

.bp-contact-form input:focus,
.bp-contact-form textarea:focus {
    border-color: var(--bp-gold);
}

.bp-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =============================================
   FOOTER
   ============================================= */
.bp-footer {
    background: var(--bp-black);
    color: var(--bp-white);
    padding: 80px 60px 30px;
}

.bp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.bp-footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.bp-footer-desc {
    font-size: 14px;
    color: var(--bp-grey-dark);
    line-height: 1.8;
}

.bp-footer h4 {
    font-family: var(--bp-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--bp-gold);
}

.bp-footer-links {
    list-style: none;
}

.bp-footer-links li {
    margin-bottom: 12px;
}

.bp-footer-links a {
    font-size: 14px;
    color: var(--bp-grey-dark);
}

.bp-footer-links a:hover {
    color: var(--bp-gold);
}

.bp-footer-social {
    display: flex;
    gap: 15px;
}

.bp-footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bp-transition);
}

.bp-footer-social a:hover {
    border-color: var(--bp-gold);
    background: var(--bp-gold);
}

.bp-footer-social svg {
    width: 16px;
    height: 16px;
    fill: var(--bp-white);
}

.bp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--bp-grey-dark);
    letter-spacing: 0.1em;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.bp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bp-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.bp-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bp-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.bp-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bp-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .bp-hero-title { font-size: 52px; }
    .bp-section { padding: 80px 40px; }
    .bp-section-title { font-size: 38px; }
    .bp-services-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .bp-header { padding: 20px 30px; }
    .bp-header.scrolled { padding: 15px 30px; }

    .bp-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bp-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s ease;
    }

    .bp-nav.open {
        right: 0;
    }

    .bp-nav a {
        color: var(--bp-white) !important;
        font-size: 14px;
    }

    .bp-nav-toggle { display: flex; }

    .bp-hero-title { font-size: 38px; }
    .bp-hero-subtitle { font-size: 11px; }

    .bp-section { padding: 60px 25px; }
    .bp-section-title { font-size: 32px; }
    .bp-section-header { margin-bottom: 50px; }

    .bp-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .bp-about-image img { height: 400px; }

    .bp-services-grid { grid-template-columns: 1fr; }

    .bp-gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .bp-contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .bp-footer { padding: 60px 25px 20px; }
    .bp-footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .bp-cta { padding: 80px 25px; background-attachment: scroll; }
    .bp-cta h2 { font-size: 32px; }
}


/* Footer bottom links — Privacy/Cookie leggibili */
.bp-footer-bottom a {
    color: #c9a96e;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bp-footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}



/* Fix anche per pagina servizio */
.bp-service-page p, .bp-service-page h2, .bp-service-page h3 {
    color: #2a2a2a !important;
}


/* === Fix contrasto leggibilita testi (override aggressivo) === */
html body p, html body .bp-section p, html body .bp-about p,
html body .bp-services p, html body .bp-service-card p,
html body .bp-card p, html body .bp-section-text {
    color: #2a2a2a !important;
}
html body h1, html body h2, html body h3, html body h4 {
    color: #1a1a1a !important;
}
html body .srv-hero h1, html body .srv-hero p, html body .srv-hero span,
html body .bp-hero h1, html body .bp-hero p {
    color: #ffffff !important;
}
html body .bp-section-label, html body .srv-gold {
    color: #c9a96e !important;
}
html body .bp-footer p, html body .bp-footer h4, html body .bp-footer a,
html body .bp-footer-desc, html body .bp-footer-links li a {
    color: rgba(255,255,255,0.85) !important;
}
html body .bp-footer h4 { color: #ffffff !important; }
html body .bp-footer-bottom a { color: #c9a96e !important; }
html body .bp-footer-bottom a:hover { color: #ffffff !important; }


.bp-services .bp-service-card p, .bp-section .bp-service-card p, .bp-service-card p { color: #4a4a4a !important; }
.bp-section ul, .bp-section ol, .bp-section li, section ul li, section ol li { color: #2a2a2a !important; }
.bp-about-image { width: 100%; max-height: 480px; overflow: hidden; border-radius: 8px; }
.bp-about-image img { width: 100% !important; height: 480px !important; object-fit: cover !important; object-position: center !important; display: block; }
.bp-about-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; align-items: center !important; gap: 60px !important; }
@media (max-width: 768px) { .bp-about-grid { grid-template-columns: 1fr !important; } .bp-about-image img { height: 300px !important; } }


/* ============================================
   GALLERIA FILTRABILE + LIGHTBOX + FIX MOBILE (v1.2)
   ============================================ */
/* ===== GALLERIA FILTRABILE ===== */
.bp-gallery-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 auto 42px;max-width:760px;}
.bp-gf{background:transparent;border:1px solid rgba(201,169,110,.35);color:#d9cbb2;font-family:inherit;font-size:11px;letter-spacing:.18em;text-transform:uppercase;padding:11px 22px;border-radius:40px;cursor:pointer;transition:all .3s ease;}
.bp-gf:hover{border-color:#c9a96e;color:#fff;}
.bp-gf.active{background:linear-gradient(135deg,#c9a96e,#d4b97a);border-color:#c9a96e;color:#1a1a1a;font-weight:600;}
.bp-gallery-grid-v2{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1280px;margin:0 auto;padding:0 24px;}
@media(max-width:1100px){.bp-gallery-grid-v2{grid-template-columns:repeat(3,1fr);}}
@media(max-width:760px){.bp-gallery-grid-v2{grid-template-columns:repeat(2,1fr);gap:12px;padding:0 14px;}}
.bp-gi{position:relative;margin:0;aspect-ratio:3/4;overflow:hidden;border-radius:6px;cursor:pointer;background:#111;border:1px solid rgba(201,169,110,.14);transition:transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s,opacity .4s,filter .4s;}
.bp-gi img,.bp-gi video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.16,1,.3,1);}
.bp-gi:hover{box-shadow:0 16px 40px rgba(0,0,0,.5);border-color:rgba(201,169,110,.4);}
.bp-gi:hover img,.bp-gi:hover video{transform:scale(1.06);}
.bp-gi figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 16px 14px;font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.75));opacity:0;transform:translateY(8px);transition:all .4s ease;}
.bp-gi:hover figcaption{opacity:1;transform:translateY(0);}
.bp-gi.is-hidden{display:none;}
.bp-gi-video .bp-gi-play{position:absolute;top:50%;left:50%;width:60px;height:60px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(26,26,26,.35);backdrop-filter:blur(2px);transition:all .4s ease;}
.bp-gi-video .bp-gi-play::after{content:'';position:absolute;top:50%;left:54%;transform:translate(-50%,-50%);border-left:16px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent;}
.bp-gi-video:hover .bp-gi-play{background:rgba(201,169,110,.85);border-color:#c9a96e;}
.bp-gi-video::before{content:'REEL';position:absolute;top:12px;right:12px;z-index:2;font-size:9px;letter-spacing:.2em;color:#1a1a1a;background:#c9a96e;padding:4px 9px;border-radius:20px;font-weight:600;}
/* ===== LIGHTBOX ===== */
.bp-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(12,10,9,.94);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .35s ease;backdrop-filter:blur(6px);}
.bp-lightbox.open{opacity:1;visibility:visible;}
.bp-lb-img{max-width:88vw;max-height:86vh;border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.6);border:1px solid rgba(201,169,110,.3);transform:scale(.96);transition:transform .35s cubic-bezier(.16,1,.3,1);}
.bp-lightbox.open .bp-lb-img{transform:scale(1);}
.bp-lb-close,.bp-lb-prev,.bp-lb-next{position:absolute;background:transparent;border:none;color:#e9dcc4;cursor:pointer;transition:color .3s ease;}
.bp-lb-close{top:24px;right:30px;font-size:42px;line-height:1;}
.bp-lb-prev,.bp-lb-next{top:50%;transform:translateY(-50%);font-size:60px;padding:0 22px;}
.bp-lb-prev{left:8px;} .bp-lb-next{right:8px;}
.bp-lb-close:hover,.bp-lb-prev:hover,.bp-lb-next:hover{color:#c9a96e;}
@media(max-width:760px){.bp-lb-prev,.bp-lb-next{font-size:38px;padding:0 10px;}.bp-lb-close{font-size:34px;top:14px;right:18px;}}
/* ===== FIX: mail/contatti che sbordano su mobile ===== */
.bp-contact-item p,.bp-contact-item p a{overflow-wrap:anywhere;word-break:break-word;}
@media(max-width:600px){
 .bp-contact-item a[href^="mailto"]{font-size:13px;letter-spacing:0;}
 .bp-footer a[href^="mailto"],.bp-footer-desc{overflow-wrap:anywhere;word-break:break-word;}
}
