/*
Theme Name: Panama Trimmings
Template: generatepress
*/

/* ─────────────────────────────────────────
   1. VARIABILI CSS
───────────────────────────────────────── */
:root {
    --nero:        #0a0a0a;
    --nero-menu:   #1a1612;
    --beige:       #bb9360;
    --beige-light: #c9a97a;
    --bianco:      #d6dde5;
    --bianco-soft: #a8b2bc;
    --font-main:   'Jost', sans-serif;
    --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --sidebar-w:   280px;
}


/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--nero);
    color: var(--bianco);
    font-family: var(--font-main);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

/* ─────────────────────────────────────────
   3. TIPOGRAFIA
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--bianco);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    color: var(--bianco-soft);
    line-height: 1.8;
    margin-bottom: 1.2em;
}

strong {
    font-weight: 500;
    color: var(--bianco);
}

/* ─────────────────────────────────────────
   4. LAYOUT GENERALE
───────────────────────────────────────── */
.site {
    position: relative;
    min-height: 100vh;
}

.site-content {
    transition: transform var(--transition);
}

body.menu-open .site-content {
    transform: translateX(var(--sidebar-w));
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ─────────────────────────────────────────
   5. HEADER
───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 199;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(187, 147, 96, 0.15);
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

.menu-toggle,
.header-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    background: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--bianco) !important;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: none;
    white-space: nowrap;
}

.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle:focus-visible,
.header-search:focus,
.header-search:active,
.header-search:focus-visible {
    color: var(--bianco);
    background: none;
    outline: none;
    box-shadow: none;
}

.site-header .menu-toggle:hover,
.site-header .header-search:hover {
    color: var(--beige) !important;
    background: none !important;
}

.menu-toggle:hover .hamburger span {
    background: currentColor;
}

/* Rimuovi qualsiasi background su hover/focus header */
.site-header button:hover,
.site-header button:focus,
.site-header button:active,
.site-header button:focus-visible {
    background: none;
    outline: none;
    box-shadow: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    height: 1px;
    background: currentColor;
    transition: var(--transition);
    transform-origin: center;
}

body.menu-open .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
body.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
body.menu-open .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-search svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
}

.site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-logo .custom-logo-link img {
    height: 36px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-lang {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--bianco-soft);
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-lang a {
    color: var(--bianco-soft);
    transition: color var(--transition);
}

.header-lang a.active,
.header-lang a:hover {
    color: var(--beige);
}

.header-lang span {
    color: rgba(214, 221, 229, 0.25);
}

@media (max-width: 768px) {
    .site-header { padding: 0 20px; }
    .menu-toggle > span:not(.hamburger),
    .header-search > span { display: none; }
    .header-left { gap: 16px; }
}


/* ─────────────────────────────────────────
   6. MENU — PANNELLI AFFIANCATI
───────────────────────────────────────── */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 198;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}

body.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

.nav-sidebar {
    position: fixed;
    top: 70px; /* sotto l'header */
    left: 0;
    height: calc(100vh - 70px);
    z-index: 200;
    display: flex;
    flex-direction: row;
    transform: translateX(-100%);
    transition: transform var(--transition);
}

body.menu-open .nav-sidebar {
    transform: translateX(0);
}

.nav-panel-1,
.nav-panel-2 {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex-shrink: 0;
}

.nav-panel-1 {
    width: 260px;
    background: var(--beige);
    border-right: 1px solid var(--nero);
    position: relative;
    z-index: 2;
}

.nav-panel-2 {
    background: var(--beige);
    width: 0;
    transition: width var(--transition);
    overflow: hidden;
}

.nav-panel-2.visible {
    width: 260px;
    overflow-y: auto;
}

/* Header pannello — solo pannello 1 ha la X */
.nav-panel-header {
    display: flex;
    align-items: center;
    padding: 20px 28px 16px;
    flex-shrink: 0;
}

.nav-close {
    display: flex;
    align-items: center;
    gap: 9px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nero);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    padding: 0;
    transition: opacity 0.2s;
}

.nav-close:hover { opacity: 0.6; }

.nav-close svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
}

/* Pannello 2 — nessun header */
.nav-panel-2 .nav-panel-header {
    display: none;
}

#nav-panel-2 .nav-menu {
    padding-top: 40px;
    padding-left: 26px;
    padding-right: 26px;
}

/* Voci menu */
.nav-menu {
    padding: 24px 0 8px;
    flex: 1;
}

.nav-menu li {
    position: relative;
}

/* Livello 1 */
.nav-menu > li > a,
.nav-menu > li > span {
    display: block;
    padding: 11px 26px;
    font-size: 1.25rem; /* 20px */
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--nero);
    cursor: pointer;
    text-decoration: none;
}

.nav-menu > li > a:hover,
.nav-menu > li > span:hover,
.nav-menu > li.is-hover > a,
.nav-menu > li.is-hover > span {
    background: none;
}

/* Rimuovi SVG frecce dal menu */
.nav-menu .nav-arrow,
.nav-menu .nav-arrow-accordion {
    display: none;
}

/* Allinea X Menu con le voci */
.nav-panel-header {
    padding: 11px 28px 28px;
}


.nav-menu > li.is-active > a,
.nav-menu > li.is-active > span {
    font-weight: 500;
}

/* Rimuovi frecce GeneratePress */
.nav-menu li svg,
.nav-menu li .gp-icon,
.nav-menu li .dropdown-menu-toggle {
    display: none !important;
}

/* Livello 2 — nel pannello 2 */
#nav-menu-2 > li > a,
#nav-menu-2 > li > span {
    display: block;
    padding: 4px 0px;
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--nero);
    cursor: pointer;
    text-decoration: none;
}

#nav-menu-2 > li > a:hover,
#nav-menu-2 > li > span:hover {
    opacity: 0.75;
}

/* Livello 2 con figli — grassetto */
#nav-menu-2 > li[data-has-children="true"] > span {
    font-weight: 500;
}

/* Livello 3 — accordion, allineato sotto il livello 2 */
.nav-sub3 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.nav-sub3.open {
    max-height: 600px;
}

.nav-sub3 li {
    padding: 0 !important;
    margin: 0 !important;
}

.nav-sub3 li a {
    display: block;
    padding: 3px 0px;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(0,0,0,0.7);
    text-decoration: none;
}

.nav-sub3 li a:hover {
    color: var(--nero);
    opacity: 0.75;
}

/* Bottone indietro mobile */
.nav-back {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    color: var(--nero);
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 300;
    padding: 14px 28px;
    width: 100%;
    text-align: left;
}

.nav-back svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .nav-sidebar {
        width: 100vw;
        overflow: hidden;
    }

    .nav-panel-1 {
        width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
    }

    .nav-panel-2 {
        width: 100vw;
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(100%);
        opacity: 1;
        transition: transform var(--transition);
    }

    .nav-panel-2.visible {
        width: 100vw;
        transform: translateX(0);
        overflow-y: auto;
    }

    .nav-back { display: flex; }

    .nav-panel-2 .nav-panel-header { display: flex; }

    body.menu-open .site-content {
        transform: none;
    }
}


/* ─────────────────────────────────────────
   6b. SEARCH OVERLAY
───────────────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: var(--beige);
    z-index: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-close {
    position: absolute;
    top: 28px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nero);
    padding: 0;
    transition: opacity 0.2s;
}

.search-close:hover { opacity: 0.5; }

.search-close svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.search-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 40px;
}

.search-inner form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--nero);
    gap: 16px;
}

.search-field {
    flex: 1;
    background: var(--beige) !important;
    border: none !important;
    outline: none;
    font-family: var(--font-main);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 200;
    color: var(--nero);
    padding: 12px 0;
    letter-spacing: 0.02em;
    caret-color: var(--nero);
}

.search-field::placeholder {
    color: rgba(0,0,0,0.3);
}

.search-field::-webkit-search-cancel-button {
    cursor: pointer;
    filter: brightness(0);
    opacity: 0.6;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--nero);
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.search-submit:hover { opacity: 0.5; }

.search-submit svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 768px) {
    .search-close { right: 20px; top: 20px; }
    .search-inner { padding: 0 20px; }
    .search-field { font-size: 1.6rem; }
}

/* Bottone indietro mobile pannello 2 */
.nav-back {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    color: var(--nero);
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 300;
    padding: 14px 28px;
    width: 100%;
    text-align: left;
}

.nav-back svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nav-back {
        display: flex;
    }
}

/* ─────────────────────────────────────────
   7. HOME — HERO
───────────────────────────────────────── */
.hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: none !important;
    overflow: hidden !important;
    background: var(--nero);
    flex-shrink: 0;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85);
    opacity: 0;
    transition: opacity 1.5s ease;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,1)   0%,
        rgba(10,10,10,1)  10%,
        rgba(10,10,10,0)  25%,
        rgba(10,10,10,0)  75%,
        rgba(10,10,10,1)  90%,
        rgba(10,10,10,1) 100%
    );
}

.hero-content {
    position: absolute;
    z-index: 2;
    bottom: 150px;
    max-width: 500px;
    left: 60%;
    right: 0;
    padding-right: 80px;
}

.hero-content h1 {
    font-size: 1.375rem; /* 22px */
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bianco);
    margin-bottom: 14px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem; /* 18px */
    font-weight: 400;
    color: var(--bianco);
    line-height: 1.45;
    margin-bottom: 0;
}

.hero-line {
    display: block;
    width: 420px;
    height: 2px;
    background: var(--beige);
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hero-content {
        top: auto;
        bottom: 40px;
        left: 20px;
        right: 20px;
        padding-right: 0;
    }
    .hero-line { width: 100%; }
}


/* ─────────────────────────────────────────
   8. HOME — GRIGLIA PRODOTTI
───────────────────────────────────────── */
.section-prodotti {
    padding: 80px;
}

.prodotti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .prodotti-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prodotti-grid {
        grid-template-columns: 1fr;
        padding: 0;
        width: 88%;
        margin: 0 auto;
    }
}

.prodotto-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
}

.prodotto-card-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--beige);
    background: #111;
}

.section-prodotti--secondary .prodotto-card-img {
    aspect-ratio: 1008 / 1262;
}

.prodotto-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
    display: block;
}

.prodotto-card:hover .prodotto-card-img img {
    transform: scale(1.05);
    filter: brightness(1);
}

.prodotto-card-label {
    padding: 5px 0 0;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--bianco);
}


/* ─────────────────────────────────────────
   9. HOME — SEZIONI TESTO/IMMAGINE
───────────────────────────────────────── */
.section-feature {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 600px !important;
    max-height: none !important;
    overflow: hidden !important;
    background: var(--nero);
    flex-shrink: 0;
}

.feature-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.feature-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.feature-slideshow .slide.active {
    opacity: 1;
}

.section-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,1)   0%,
        rgba(10,10,10,1)   5%,
        rgba(10,10,10,0.35)  28%,
        rgba(10,10,10,0.35)  68%,
        rgba(10,10,10,1)  95%,
        rgba(10,10,10,1) 100%
    );
}

.section-feature-content {
    position: absolute;
    z-index: 2;
    bottom: 150px;
    left: 60%;
    right: 0;
    max-width: 550px;
    padding-right: 80px;
}

.section-feature-content h2 {
    font-size: 1.375rem; /* 22px */
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bianco);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-feature-content p {
    font-size: 1.125rem; /* 18px */
    font-weight: 400;
    color: var(--bianco);
    line-height: 1.45;
    margin-bottom: 0;
}

.section-feature-line {
    display: block;
    width: 500px;
    height: 2px;
    background: var(--beige);
    margin-top: 20px;
}

@media (max-width: 768px) {
    .section-feature-content {
        top: auto;
        bottom: 40px;
        left: 20px;
        right: 20px;
        padding-right: 0;
    }

    .section-feature-overlay {
        background: rgba(10, 10, 10, 0.65);
    }

    .section-feature-line { width: 100%; }
}


/* ─────────────────────────────────────────
   10. PAGINE INTERNE — HERO
───────────────────────────────────────── */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    margin-top: 70px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 30%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 200;
    color: var(--bianco);
    letter-spacing: 0.02em;
}

.page-hero-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 12px;
}


/* ─────────────────────────────────────────
   11. PAGINE INTERNE — NAV ORIZZONTALE
───────────────────────────────────────── */
.page-subnav {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: rgba(10, 10, 10, 0.97);
    border-bottom: 1px solid rgba(187, 147, 96, 0.15);
    backdrop-filter: blur(10px);
}

.page-subnav-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 80px;
    gap: 0;
}

.page-subnav-inner::-webkit-scrollbar {
    display: none;
}

.page-subnav-inner a {
    display: block;
    padding: 18px 24px;
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bianco-soft);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.page-subnav-inner a:hover {
    color: var(--bianco);
}

.page-subnav-inner a.active {
    color: var(--beige);
    border-bottom-color: var(--beige);
}


/* ─────────────────────────────────────────
   12. PAGINE INTERNE — CONTENUTO
───────────────────────────────────────── */
.page-body {
    padding: 80px 80px 120px;
    max-width: 1200px;
}

.page-intro {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 300;
    color: var(--bianco-soft);
    line-height: 1.7;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(187, 147, 96, 0.15);
    max-width: 680px;
}

.page-text {
    font-size: 0.9rem;
    color: var(--bianco-soft);
    line-height: 1.9;
    max-width: 780px;
}

.page-text p {
    margin-bottom: 1.5em;
}

.page-text strong {
    color: var(--bianco);
    font-weight: 500;
}

.page-text ul {
    margin: 1em 0 1.5em 0;
    list-style: none;
}

.page-text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6em;
    color: var(--bianco-soft);
    font-size: 0.9rem;
}

.page-text ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--beige);
}

@media (max-width: 768px) {
    .page-body {
        padding: 40px 20px 80px;
    }

    .page-hero-content {
        padding: 0 20px;
    }

    .page-subnav-inner {
        padding: 0 20px;
    }
}


/* ─────────────────────────────────────────
   13. GALLERY
───────────────────────────────────────── */
.page-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.page-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.4s ease;
}

.page-gallery img:hover {
    filter: brightness(1);
}

@media (max-width: 768px) {
    .page-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ─────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────── */
.site-footer {
    background: var(--nero);
    border-top: 1px solid var(--beige);
    padding: 48px 80px 36px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    opacity: 0.85;
    display: block;
}

.footer-info,
.footer-info p {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--beige) !important;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin: 0 !important;
}

.footer-right,
.footer-right p {
    text-align: right;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--beige) !important;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin: 0 !important;
}

.footer-right a,
.footer-info a {
    color: var(--beige) !important;
    text-decoration: none !important;
}

.footer-right a:hover,
.footer-info a:hover {
    color: #fff !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(187, 147, 96, 0.12);
    font-size: 0.7rem;
    color: var(--beige) !important;
    letter-spacing: 0.05em;
}

.footer-bottom p {
    margin: 0 !important;
    color: var(--beige) !important;
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav a {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--beige) !important;
    text-decoration: none !important;
    letter-spacing: 0.05em;
}

.footer-nav a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 30px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .footer-right {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
}


/* ─────────────────────────────────────────
   15. TRANSIZIONE PAGINA
───────────────────────────────────────── */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--nero);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}


/* ─────────────────────────────────────────
   16. UTILITY
───────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Padding top per fixed header */
.page-content-wrap {
    padding-top: 70px;
}