/* ==========================================================================
   PASQUALE MUSSO - EXECUTIVE BORDEAUX & WHITE DESIGN SYSTEM 2026
   Ingegneria Informatica & IA | Christian Music | Fotografia per Passione
   Palette: Bianco Puro, Bordeaux Istituzionale (#7f1d1d / #881337) & Antracite (#0f172a)
   ========================================================================== */

:root {
    --pm-bg: #ffffff;
    --pm-bg-alt: #f8fafc;
    --pm-surface: #ffffff;
    --pm-text: #0f172a;
    --pm-text-body: #334155;
    --pm-text-muted: #64748b;
    --pm-border: #e2e8f0;
    --pm-primary: #881337;
    --pm-primary-dark: #7f1d1d;
    --pm-primary-light: #9f1239;
    --pm-primary-soft: #fff1f2;
    --pm-slate: #0f172a;
    --pm-slate-soft: #f1f5f9;
    --pm-gold: #b45309;
    --pm-gold-soft: #fffbeb;
    --pm-radius-xl: 18px;
    --pm-radius-lg: 14px;
    --pm-radius-md: 10px;
    --pm-shadow-sm: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
    --pm-shadow-md: 0 14px 32px -6px rgba(15, 23, 42, 0.10), 0 4px 10px rgba(15, 23, 42, 0.04);
    --pm-shadow-lg: 0 22px 45px -10px rgba(15, 23, 42, 0.16);
}

/* 1. RESET & BASE SOBRIA E PROFESSIONALE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--pm-text-body);
    line-height: 1.65;
    text-align: left !important;
    height: auto !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--pm-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

a {
    color: var(--pm-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

ul, ol {
    list-style: none;
}

.pm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.pm-main {
    flex: 1 0 auto;
    width: 100%;
}

/* 2. STICKY NAVBAR ESECUTIVA (BIANCO PURO + FILETTO BORDEAUX, SENZA ICONE NEL MENU) */
.pm-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.pm-navbar::before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #0f172a 0%, #7f1d1d 50%, #9f1239 100%);
}

.pm-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
}

.pm-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.pm-brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

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

.pm-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.16rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pm-brand-sub {
    font-size: 0.69rem;
    font-weight: 700;
    color: #881337;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
}

.pm-nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.89rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    transition: all 0.18s ease;
}

/* Nasconde eventuali icone residue nei link di navigazione */
.pm-nav-link > i {
    display: none !important;
}

.pm-nav-link:hover {
    background: #f8fafc;
    color: #881337;
}

.pm-nav-link.active {
    background: #fff1f2;
    color: #881337;
    font-weight: 700;
}

.pm-nav-cta {
    background: #881337 !important;
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 8px;
    margin-left: 6px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(136, 19, 55, 0.22);
}

.pm-nav-cta:hover {
    background: #7f1d1d !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(127, 29, 29, 0.3);
}

.pm-nav-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155 !important;
    font-size: 1.05rem;
    margin-left: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pm-nav-login-icon:hover {
    background: #881337;
    border-color: #881337;
    color: #ffffff !important;
}

.pm-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 1.35rem;
    cursor: pointer;
}

/* 3. BOTTONI SOBRI & PROFESSIONALI */
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.pm-btn-primary {
    background: #881337;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(136, 19, 55, 0.32);
}

.pm-btn-primary:hover {
    background: #7f1d1d;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(127, 29, 29, 0.4);
}

.pm-btn-dark {
    background: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.25);
}

.pm-btn-dark:hover {
    background: #881337;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.pm-btn-outline {
    background: #ffffff;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1;
}

.pm-btn-outline:hover {
    border-color: #881337;
    color: #881337 !important;
    background: #fff1f2;
    transform: translateY(-2px);
}

.pm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #fff1f2;
    color: #881337;
    border: 1px solid #fecdd3;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 16px;
}

/* 4. HERO SECTION 2026 — STILE EDITORIALE BIANCO, ANTRACITE & BORDEAUX */
.pm-hero-2026 {
    position: relative;
    padding: 64px 0 76px;
    background:
        radial-gradient(circle at 85% 20%, rgba(136, 19, 55, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.pm-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.78fr;
    gap: 52px;
    align-items: center;
}

.pm-hero-title {
    font-size: clamp(2.25rem, 4.1vw, 3.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.12;
    margin-bottom: 18px;
}

.pm-hero-title span {
    color: #881337;
    display: inline;
}

.pm-hero-quote {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 1.08rem;
    color: #334155;
    padding: 10px 16px;
    background: #f8fafc;
    border-left: 3.5px solid #881337;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    display: inline-block;
}

.pm-hero-lead {
    font-size: 1.04rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 24px;
}

.pm-hero-lead strong {
    color: #0f172a;
    font-weight: 700;
}

.pm-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.pm-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.pm-hero-tag.tech i { color: #0f172a; }
.pm-hero-tag.music i { color: #881337; }
.pm-hero-tag.photo i { color: #b45309; }

.pm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

/* Social Pills dentro l'Hero */
.pm-hero-socials-box {
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}

.pm-hero-socials-label {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.pm-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-social-pill,
.pm-social-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.pm-soc-plat {
    font-weight: 700;
    color: #0f172a;
}

.pm-soc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
}

.pm-social-pill:hover,
.pm-social-glass:hover {
    transform: translateY(-2px);
    border-color: #881337;
    background: #fff1f2;
}

.pm-social-pill:hover .pm-soc-badge,
.pm-social-glass:hover .pm-soc-badge {
    background: #881337;
    color: #ffffff;
}

/* FOTO IN PRIMO PIANO SOBRIA, DRITTA ED ESECUTIVA */
.pm-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.pm-portrait-frame {
    position: relative;
    width: 100%;
    max-width: 335px;
    border-radius: 16px;
    background: #ffffff;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid #881337;
    box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.14);
}

.pm-portrait-frame::before {
    display: none !important;
}

.pm-portrait-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    background: #0f172a;
}

.pm-portrait-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: contrast(1.02) saturate(0.92);
    transition: transform 0.35s ease;
}

.pm-portrait-frame:hover .pm-portrait-img-wrap img {
    transform: scale(1.02);
}

.pm-portrait-caption {
    padding: 14px 8px 4px;
    text-align: center;
}

.pm-portrait-caption strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.pm-portrait-caption span {
    font-size: 0.78rem;
    color: #881337;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* 5. SEZIONI PULITE BIANCO & GRIGIO PERLA */
.pm-section {
    padding: 76px 0;
    position: relative;
}

.pm-section-alt {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.pm-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}

.pm-section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pm-section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.pm-section-subtitle {
    font-size: 1.02rem;
    color: #475569;
    max-width: 680px;
}

/* 6. LE 3 PASSIONI — CARD SOBRIE CON ACCENTO BORDEAUX & ANTRACITE */
.pm-worlds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.pm-world-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--pm-radius-lg);
    padding: 34px 28px;
    box-shadow: var(--pm-shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.pm-world-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #881337;
}

.pm-world-card.tech::before { background: #0f172a; }
.pm-world-card.music::before { background: #881337; }
.pm-world-card.photo::before { background: #b45309; }

.pm-world-card.tech .pm-world-icon {
    background: #0f172a;
    color: #ffffff;
}
.pm-world-card.tech .pm-world-badge {
    background: #f1f5f9;
    color: #0f172a;
}

.pm-world-card.music .pm-world-icon {
    background: #881337;
    color: #ffffff;
}
.pm-world-card.music .pm-world-badge {
    background: #fff1f2;
    color: #881337;
}

.pm-world-card.photo .pm-world-icon {
    background: #b45309;
    color: #ffffff;
}
.pm-world-card.photo .pm-world-badge {
    background: #fffbeb;
    color: #b45309;
}

.pm-world-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pm-shadow-md);
    border-color: #cbd5e1;
}

.pm-world-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pm-world-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.pm-world-card h3 {
    font-size: 1.32rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.pm-world-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.pm-world-list {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.pm-world-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 7px;
}

.pm-world-list li i {
    color: #881337;
    font-size: 0.95rem;
}

/* 7. BLOG CARDS & LAYOUT EDITORIALE */
.pm-blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.pm-blog-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.pm-blog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--pm-radius-lg);
    overflow: hidden;
    box-shadow: var(--pm-shadow-sm);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pm-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pm-shadow-md);
    border-color: #881337;
}

.pm-blog-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0f172a;
    overflow: hidden;
    display: block;
}

.pm-blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pm-blog-card:hover .pm-blog-card-thumb img {
    transform: scale(1.04);
}

.pm-blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #881337;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pm-blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pm-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.79rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
}

.pm-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pm-blog-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}

.pm-blog-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.pm-blog-card-title a:hover {
    color: #881337;
}

.pm-blog-card-excerpt {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.pm-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    font-weight: 700;
    color: #881337;
    margin-top: auto;
}

.pm-blog-card-link:hover {
    color: #7f1d1d;
    gap: 10px;
}

/* Articolo in Evidenza */
.pm-blog-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--pm-radius-xl);
    overflow: hidden;
    box-shadow: var(--pm-shadow-md);
    margin-bottom: 42px;
}

.pm-blog-featured-thumb {
    position: relative;
    min-height: 320px;
    background: #0f172a;
    overflow: hidden;
    display: block;
}

.pm-blog-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-blog-featured-body {
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pm-blog-featured-body h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 12px;
}

.pm-blog-featured-body h2 a {
    color: #0f172a;
}

.pm-blog-featured-body h2 a:hover {
    color: #881337;
}

/* Barra Ricerca Blog */
.pm-blog-search-bar {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto 36px;
    background: #ffffff;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    box-shadow: var(--pm-shadow-sm);
}

.pm-blog-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 0.95rem;
    color: #0f172a;
    background: transparent;
}

/* Vista Singolo Articolo */
.pm-article-container {
    max-width: 880px;
    margin: 0 auto;
}

.pm-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #881337;
    border-radius: var(--pm-radius-lg);
    padding: 44px;
    box-shadow: var(--pm-shadow-md);
}

.pm-article-hero-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.pm-article-hero-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.pm-article-body {
    font-size: 1.06rem;
    line-height: 1.82;
    color: #1e293b;
}

.pm-article-body p {
    margin-bottom: 1.3em;
}

.pm-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 28px 0;
    background: #0f172a;
}

.pm-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 8. GALLERIA FOTOGRAFICA & LIGHTBOX */
.pm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pm-album-card {
    position: relative;
    border-radius: var(--pm-radius-lg);
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 4 / 3;
    display: block;
    box-shadow: var(--pm-shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.pm-album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pm-shadow-md);
    border-color: #881337;
}

.pm-album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.45s ease;
}

.pm-album-card:hover img {
    transform: scale(1.05);
}

.pm-album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 30%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #ffffff;
}

.pm-album-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: #881337;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.pm-album-overlay h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pm-album-overlay span {
    font-size: 0.83rem;
    color: #cbd5e1;
    font-weight: 600;
}

.pm-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pm-photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0f172a;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    box-shadow: var(--pm-shadow-sm);
    transition: all 0.25s ease;
}

.pm-photo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--pm-shadow-md);
    border-color: #881337;
}

.pm-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-photo-zoom {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pm-photo-zoom i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: #881337;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pm-photo-item:hover .pm-photo-zoom {
    opacity: 1;
}

.pm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pm-lightbox.open {
    display: flex;
}

.pm-lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 12px;
    object-fit: contain;
}

.pm-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 9. SOCIAL HUB CARDS */
.pm-social-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.pm-social-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: var(--pm-shadow-sm);
    transition: all 0.2s ease;
}

.pm-social-card-item:hover {
    transform: translateY(-3px);
    border-color: #881337;
    box-shadow: var(--pm-shadow-md);
}

.pm-social-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pm-social-card-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.pm-social-card-plat {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #881337;
}

.pm-social-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-social-card-arrow {
    color: #64748b;
    font-size: 1.1rem;
}

/* 10. INTESTAZIONE INTERNA PAGINE (SOBRIA ANTRACITE & BORDEAUX) */
.pm-page-header {
    position: relative;
    padding: 56px 0 48px;
    background: #f8fafc;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.pm-page-header h1 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #0f172a;
    margin-bottom: 10px;
}

.pm-page-header p {
    font-size: 1.04rem;
    color: #475569;
    max-width: 720px;
}

/* 11. PAGINA CONTATTI */
.pm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.pm-contact-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #881337;
    border-radius: var(--pm-radius-lg);
    padding: 34px;
    box-shadow: var(--pm-shadow-sm);
}

.pm-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0;
}

.pm-contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.2s ease;
}

.pm-contact-info-item:hover {
    border-color: #881337;
    background: #fff1f2;
}

.pm-contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #881337;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pm-form-group {
    margin-bottom: 16px;
}

.pm-form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.pm-form-input,
.pm-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
}

.pm-form-input:focus,
.pm-form-textarea:focus {
    outline: none;
    border-color: #881337;
    box-shadow: 0 0 0 3px rgba(136, 19, 55, 0.12);
}

.pm-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* 12. FOOTER ISTITUZIONALE ANTRACITE & BORDEAUX */
.pm-footer-2026 {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: auto;
    border-top: 4px solid #881337;
}

.pm-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-footer-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    display: inline-block;
}

.pm-footer-bio {
    font-size: 0.91rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 16px;
}

.pm-footer-heading {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 16px;
}

.pm-footer-nav li {
    margin-bottom: 9px;
}

.pm-footer-nav a {
    color: #cbd5e1;
    font-size: 0.91rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pm-footer-nav a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.pm-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pm-footer-soc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc !important;
    font-size: 0.8rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pm-footer-soc-plat {
    color: #cbd5e1;
    font-weight: 500;
}

.pm-footer-soc-btn strong {
    color: #ffffff;
    font-weight: 700;
}

.pm-footer-soc-btn:hover {
    background: #881337;
    border-color: #881337;
    transform: translateY(-2px);
}

.pm-footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.83rem;
    color: #94a3b8;
}

.pm-footer-bottom a {
    color: #cbd5e1;
    font-weight: 600;
}

.pm-footer-bottom a:hover {
    color: #ffffff;
}

/* 13. RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
    .pm-mobile-toggle {
        display: inline-flex;
    }

    .pm-nav-menu {
        display: none;
        position: absolute;
        top: 81px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid #881337;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 6px;
    }

    .pm-nav-menu.open {
        display: flex;
    }

    .pm-nav-link {
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 0.96rem;
    }

    .pm-nav-cta {
        margin-left: 0;
        margin-top: 6px;
        justify-content: center;
    }

    .pm-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .pm-hero-visual {
        order: -1;
    }

    .pm-portrait-frame {
        max-width: 290px;
    }

    .pm-worlds-grid,
    .pm-blog-grid-3,
    .pm-gallery-grid,
    .pm-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-blog-featured,
    .pm-contact-grid,
    .pm-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pm-container {
        padding: 0 16px;
    }

    .pm-navbar-inner {
        height: 68px;
    }

    .pm-nav-menu {
        top: 71px;
    }

    .pm-brand img {
        height: 38px;
    }

    .pm-brand-name {
        font-size: 1.02rem;
    }

    .pm-hero-2026 {
        padding: 40px 0 52px;
    }

    .pm-hero-title {
        font-size: 2rem;
    }

    .pm-hero-actions {
        flex-direction: column;
    }

    .pm-hero-actions .pm-btn {
        width: 100%;
    }

    .pm-section {
        padding: 52px 0;
    }

    .pm-worlds-grid,
    .pm-blog-grid-3,
    .pm-blog-grid-2,
    .pm-gallery-grid,
    .pm-photo-grid,
    .pm-form-row-2 {
        grid-template-columns: 1fr;
    }

    .pm-blog-featured-body,
    .pm-article-card,
    .pm-contact-box {
        padding: 24px 18px;
    }

    .pm-blog-search-bar {
        flex-direction: column;
    }

    .pm-blog-search-bar .pm-btn {
        width: 100%;
    }
}
