/* ============================================================
   Galleria Verticale – main.css
   Modifica direttamente questo file, nessun processo di build.
   Bootstrap è caricato via CDN prima di questo file.
   ============================================================ */



@font-face {
  font-family:"Kern";
  font-style:normal;
  src:url(../fonts/Kern-Medium.dfe6d2f.woff2) format("woff2");
  font-weight:400;
}
@font-face {
  font-family:"NyghtSerif";
  font-style:normal;
  src:url(../fonts/NyghtSerif-Light.woff2) format("woff2");
  font-weight:400;
}


/* ── Token / variabili ─────────────────────────────────────── */
:root {
    --gv-bianco-caldo:  #F6F3EE;
    --gv-cemento:       #EAE5DD;
    --gv-travertino:    #D4D0C8;
    --gv-travertino-rgb:    212, 208, 200;
    --gv-terra-chiaro:  #CCBAA9;
    --gv-terra:         #94765E;
    --gv-terra-scuro:   #4E3E2F;
    --gv-terra-scuro-rgb:   78, 62, 47;
    --gv-nero:          #111114;
    --gv-ottone:        #C6A24A;

    --gv-white:          #FFFFFF;
    --gv-gold:           #c8a96e;
    --gv-primary:        #205487;
    --gv-primary-rgb:    32,84,135;
    --gv-marrone:        #93765e;
    --gv-marrone-rgb:    147, 118, 94;
    --gv-primary:        #205487;
    --gv-gray-light:     #f0ede8;
    --gv-gray-mid:       #e0dcd5;
    /* --gv-font-heading:   'Cormorant Garamond', Georgia, serif; */
    /* --gv-font-heading:   'Inter', system-ui, -apple-system, sans-serif; */
    --gv-font-heading:      'Kern', system-ui, -apple-system, sans-serif;
    --gv-font-body:      'Kern', system-ui, -apple-system, sans-serif;
    --gv-header-height:  4rem;
    --gv-transition:     0.3s ease;

    --bs-body-color: var(--gv-terra-scuro);
    --bs-heading-color: var(--gv-terra-scuro);

    --bs-primary: var(--gv-primary);
    --bs-primary-rgb: var(--gv-primary-rgb);
    --bs-border-radius: 4px;
    --bs-border-radius-lg: 4px;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1;


    --bs-border-color: transparent;

    @media (min-width: 768px) {
      --gv-header-height:  5.4rem;
    }
}

.text-terra { color:var(--gv-terra); }
.text-terra-chiaro { color:var(--gv-terra-chiaro); }
.text-terra-scuro { color:var(--gv-terra-scuro); }

.bg-terra { background-color:var(--gv-terra); }
.bg-cemento { background-color:var(--gv-cemento); }
.bg-terra-chiaro { background-color:var(--gv-terra-chiaro); }
.bg-terra-scuro { background-color:var(--gv-terra-scuro); }
.bg-marrone { background-color: rgba(var(--gv-marrone-rgb),1) }

.border-dark {
    --bs-border-opacity: 1;
    border-color: rgba(var(--gv-terra-scuro-rgb), var(--bs-border-opacity)) !important;
}

.border-travertino {
    --bs-border-opacity: 1;
    border-color: rgba(var(--gv-travertino-rgb), var(--bs-border-opacity)) !important;
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  --bs-btn-disabled-bg: #776858;
  --bs-btn-disabled-border-color: #776858;
}

/* ── Base ──────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    line-height: 1.4;
}

body {
    font-family: var(--gv-font-body);
    background-color: var(--gv-bianco-caldo);
    color: var(--gv-terra-scuro);
}

.container { position: relative; }


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


a.btn, a.koa-link {
  --bs-btn-font-family: 'DM Mono', monospace !important;
  --bs-btn-font-weight: 500;
  --bs-btn-font-size: .8rem !important;
  --bs-btn-padding-y: .8em !important;
  --bs-btn-padding-x: 1.2em !important;
  font-family: 'DM Mono', monospace !important;
  font-size: .8rem !important;
  text-transform:uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}


.btn-group-lg > .btn, .btn-lg {
  --bs-btn-padding-y: 0.8em;
  --bs-btn-padding-x: 1.5em;
  --bs-btn-font-size: 0.7rem;
}

@media (min-width: 768px) {

  a.btn, a.koa-link {
  }
  .btn-group-lg > .btn, .btn-lg {
    --bs-btn-padding-y: 1.2em;
    --bs-btn-padding-x: 2em;
    --bs-btn-font-size: 0.8rem;
  }
}
@media (min-width: 992px) {
  .btn-group-lg > .btn, .btn-lg {
    --bs-btn-padding-y: 1.2em;
    --bs-btn-padding-x: 2em;
    --bs-btn-font-size: 0.8rem;
  }
}


.btn-icon { position: relative;  padding-left: calc( ( var(--bs-btn-padding-y)*3 ) + (var(--bs-btn-font-size)*2 )); }
.btn-icon .icon { display: flex; position: absolute; top: 0; bottom: 0; left: 0; aspect-ratio: 1 / 1; border-right: 1px dashed; flex-direction: column; justify-content: center; align-items: center; }
.btn-icon .icon svg { transition: fill var(--gv-transition); }


.btn-primary {
    --bs-btn-bg:           var(--gv-terra-scuro);
    --bs-btn-border-color: var(--gv-terra-scuro);
    --bs-btn-hover-bg:     var(--gv-terra);
    --bs-btn-hover-border-color: var(--gv-terra);
    --bs-btn-active-bg:    var(--gv-ottone);
}
.btn-primary .icon svg { fill: var(--gv-bianco-caldo); }

.btn-outline-primary {
    --bs-btn-border-color: var(--gv-terra-scuro);
    --bs-btn-color:        var(--gv-terra-scuro);
    --bs-btn-hover-bg:     var(--gv-terra);
    --bs-btn-hover-border-color: var(--gv-terra);
    --bs-btn-active-bg:    var(--gv-ottone);
}

.btn-gold {
  background-color: var(--gv-gold);
  color: var(--gv-terra-scuro);
}
.btn-gold:hover {
  background-color: var(--gv-terra);
  color: var(--gv-bianco-caldo);
}
.btn-gold .icon svg { fill: var(--gv-terra-scuro); }
.btn-gold:hover .icon svg { fill: var(--gv-bianco-caldo); }



.btn-white {
  background-color: var(--gv-bianco-caldo);
  color: var(--gv-terra-scuro);
}
.btn-white:hover {
  background-color: var(--gv-bianco-caldo);
  color: var(--gv-nero);
}
.btn-white .icon svg { fill: var(--gv-terra-scuro); }
.btn-white:hover .icon svg { fill: var(--gv-nero); }



/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--gv-font-heading);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

a {
    color: var(--gv-nero);
    text-underline-offset: 3px;
    transition: color var(--gv-transition);
}
a:hover { color: var(--gv-ottone); }

h1, .h1 { font-size: 2.2rem; line-height: 1em; }
h2, .h2 { font-size: 2.2rem; line-height: 1em;}
h3, .h3 { font-size: 1.7rem; line-height: 1em;}
h4, .h4 { font-size: 1.5rem; line-height: 1em;}
.titoletto,
h2.titoletto,
h3.titoletto {
  font-family: 'DM Mono', monospace;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


@media (min-width: 992px) {
  h1, .h1 { font-size: 4.2rem; }
  h2, .h2 { font-size: 3.6rem; }
  h3, .h3 { font-size: 2.8rem; }
  h4, .h4 { font-size: 1.5rem; }
}

@media (min-width: 1200px) {
  h1, .h1 { font-size: 5rem; }
  h2, .h2 { font-size: 4rem; }
  h3, .h3 { font-size: 3rem; }
  h4, .h4 { font-size: 1.7rem; }
}
@media (min-width: 1600px) {
  h1, .h1 { font-size: 5.4rem; }
  h2, .h2 { font-size: 4.54rem; }
  h3, .h3 { font-size: 3.1em; }
}

.font-nyght { font-family:"NyghtSerif"; }


/* Barba wrapper: occupa tutta l'altezza */
#barba-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }

/* Elementi Barba: prepara GPU layer per le transizioni */
[data-barba="container"] {
    will-change: opacity, transform;
}

.img-holder {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.img-holder .img {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 400ms ease-out;
}

.prop2by3 { padding-bottom: 150%; }
.prop1by1 { padding-bottom: 100%; }
.prop4by3 { padding-bottom: 75%; }
.prop16by9{ padding-bottom: 56.25%; }

/**/
[data-gv-anim="reveal"] {
    overflow: hidden;
    /* le proporzioni le definisci tu per contesto, es: */
    aspect-ratio: 4 / 3;
}

[data-gv-anim="reveal"] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
}

/**/
[data-gv-anim="reveal-from-left"],
[data-gv-anim="scale-in"] {
    overflow: hidden;
}

.gv-reveal__inner {
    width: 100%;
    height: 100%;
}

.gv-reveal__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}



.block-fullwidth {
    overflow: hidden;
}

.block-fullwidth img {
    width: 100%;
    height: 130%; /* leggermente più alta per coprire lo shift */
    object-fit: cover;
    display: block;
}


[data-gv-text-twist] {
    display: flex;
    flex-direction: column;
}

[data-gv-text-twist] span:nth-child(1) { align-self: flex-end; }  /* destra */
[data-gv-text-twist] span:nth-child(2) { align-self: flex-start; } /* sinistra *


/* ── Label uppercase ───────────────────────────────────────── */
.gv-label-caps {
    font-family: var(--gv-font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════

   Stato di default: trasparente (sopra l'hero).
   La classe .has-hero sul <body> abilita la modalità trasparente.
   Senza .has-hero, l'header parte già solido.

   Classi JS applicate da initNavbar():
     .is-scrolled  → background solido + ombra
     .is-hidden    → nascosto (scroll giù rapido)
   ══════════════════════════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition:
        background-color 0.4s ease,
        border-color     0.4s ease,
        box-shadow       0.4s ease,
        transform        0.35s ease;
}

/* Senza hero: solido di default */
.site-header {
    background-color: var(--gv-bianco-caldo);
    border-bottom: 1px solid var(--gv-terra-scuro);
}

/* Con hero: parte trasparente */
.has-hero .site-header {
    background-color: transparent;
    border-bottom-color: transparent;
}

/* Allo scroll diventa sempre solido (con o senza hero) */
.site-header.is-scrolled {
    background-color: var(--gv-bianco-caldo);
    border-bottom-color: transparent;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

/* Nascosto (scroll giù veloce) */
.site-header.is-hidden {
    transform: translateY(-100%);
}

/* Compensa l'header fixed nelle pagine senza hero */
body:not(.has-hero) #barba-wrapper {
    padding-top: var(--gv-header-height);
}

/* ── Layout interno (3 colonne: logo | nav | destra) ────────── */
.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    height: var(--gv-header-height);
    gap: 1rem;
}
@media (min-width: 768px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; }
}

/* ── Logo ────────────────────────────────────────────────────── */
.site-header__logo {
    display: flex;
    align-items: center;
}

.custom-logo { height: 2rem; width: auto; max-width: none; }

@media (min-width: 768px) {
  .custom-logo { height: 2.5rem; }
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
    display: block;
    /* versione chiara del logo per header trasparente */
    transition: filter 0.4s ease;
}

/* Se hai un logo scuro, invertilo quando l'header è trasparente su hero scuro */
/* .has-hero:not(.is-scrolled) .navbar-brand img { filter: brightness(0) invert(1); } */

.site-title {
    font-family: var(--gv-font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gv-nero);
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.4s ease;
}
.has-hero:not(.is-scrolled) .site-title {
    color: var(--gv-bianco-caldo);
}

/* ── Navigazione desktop (centro) ────────────────────────────── */
.site-header__nav {
    display: flex;
    justify-content: center;
}

.gv-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gv-nav .menu-item a {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    position: relative;
    color: var(--gv-terra-scuro);
    transition: color 0.25s ease;
}

/* Sottolineatura animata */
.gv-nav .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 1px;
    background: var(--gv-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.gv-nav .menu-item a:hover,
.gv-nav .current-menu-item > a {
    color: var(--gv-gold);
}
.gv-nav .menu-item a:hover::after,
.gv-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

/* Colore bianco quando l'header è trasparente su hero */
.has-hero:not(.is-scrolled) .gv-nav .menu-item a {
    color: var(--gv-bianco-caldo);
}
.has-hero:not(.is-scrolled) .gv-nav .menu-item a:hover {
    color: var(--gv-gold);
}

/* Dropdown Bootstrap integrato */
.gv-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--gv-bianco-caldo);
    border: 1px solid var(--gv-gray-mid);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.gv-nav .menu-item-has-children {
    position: relative;
}
.gv-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
}
.gv-nav .sub-menu .menu-item a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.6875rem;
    color: var(--gv-nero);
}
.gv-nav .sub-menu .menu-item a:hover {
    color: var(--gv-gold);
}
.gv-nav .sub-menu .menu-item a::after {
    display: none;
}

/* ── Destra: lingua + burger ─────────────────────────────────── */
.site-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

/* ── Switcher lingua Sublanguage ─────────────────────────────── */
.gv-lang-switcher ul,
.gv-drawer__lang ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.gv-lang-switcher a,
.gv-drawer__lang a {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0.35rem;
  position: relative;
  color: var(--gv-terras-scuro);
  transition: color 0.25s ease;
}
/* Sottolineatura animata */
.gv-lang-switcher a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.35rem;
    right: 0.35rem;
    height: 1px;
    background: var(--gv-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.gv-lang-switcher .current a,
.gv-lang-switcher .sublanguage-current a,
.gv-drawer__lang a:hover,
.gv-drawer__lang .sublanguage-current a {
    color: var(--gv-gold);
    border-color: var(--gv-gold);
}
.gv-lang-switcher .current a::after,
.gv-lang-switcher a:hover::after {
    transform: scaleX(1);
}

/* Versione bianca su hero trasparente */
.has-hero:not(.is-scrolled) .gv-lang-switcher a {
    color: var(--gv-bianco-caldo);
}
.has-hero:not(.is-scrolled) .gv-lang-switcher .sublanguage-current a,
.has-hero:not(.is-scrolled) .gv-lang-switcher a:hover {
    color: var(--gv-gold);
    border-color: var(--gv-gold);
}

.gv-lang-switcher .en:before { content: "|"; left: 0; }

/*
body.lang-it .gv-lang-switcher .it { display: none; }
body.lang-en .gv-lang-switcher .en { display: none; }
*/

/* ── Burger ──────────────────────────────────────────────────── */
.gv-burger {
    display: none; /* visibile solo mobile via media query */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.gv-burger__bar {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--gv-nero);
    transition: background 0.4s ease, transform 0.35s ease, opacity 0.25s ease;
}
.has-hero:not(.is-scrolled) .gv-burger__bar {
    background: var(--gv-bianco-caldo);
}
/* Stato aperto: X */
.gv-burger.is-open .gv-burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.gv-burger.is-open .gv-burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.gv-burger.is-open .gv-burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   DRAWER MOBILE
   ══════════════════════════════════════════════════════════════ */

.gv-drawer {
    display: none; /* JS lo rende visibile */
    position: fixed;
    inset: var(--gv-header-height) 0 0;
    z-index: 2000;
    transform: translateY(1px);
}
.gv-drawer.is-open { display: block; }

/* Overlay scuro */
.gv-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.55);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gv-drawer.is-animating .gv-drawer__overlay,
.gv-drawer.is-ready     .gv-drawer__overlay { opacity: 1; }

/* Pannello */
.gv-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--gv-bianco-caldo);
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    overflow-y: auto;
}
.gv-drawer.is-animating .gv-drawer__panel,
.gv-drawer.is-ready     .gv-drawer__panel { transform: translateX(0); }

/* Chiudi */
.gv-drawer__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--gv-nero);
    padding: 0.25rem 0.5rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.gv-drawer__close:hover { opacity: 1; }

/* Menu nel drawer */
.gv-drawer__nav {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}
.gv-drawer__nav .menu-item {
    border-bottom: 1px solid var(--gv-gray-mid);
}
.gv-drawer__nav .menu-item a {
    display: block;
    padding: 0.9rem 0;
    font-family: var(--gv-font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--gv-nero);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.gv-drawer__nav .menu-item a:hover,
.gv-drawer__nav .current-menu-item > a {
    color: var(--gv-gold);
    padding-left: 0.5rem;
}
/* Sub-menu drawer */
.gv-drawer__nav .sub-menu {
    list-style: none;
    padding: 0 0 0.5rem 1rem;
    margin: 0;
    display: none;
}
.gv-drawer__nav .menu-item-has-children.is-open > .sub-menu {
    display: block;
}
.gv-drawer__nav .sub-menu .menu-item { border-bottom: none; }
.gv-drawer__nav .sub-menu .menu-item a {
    font-size: 0.875rem;
    font-family: var(--gv-font-body);
    padding: 0.4rem 0;
}
.gv-drawer__nav { display: flex; flex-direction: row; flex-wrap: wrap; }
.gv-drawer__nav .menu-item { width: 100%; }
.gv-drawer__nav .menu-item.sublanguage { width: 50%; }
.gv-drawer__nav .menu-item.sublanguage a { text-transform: uppercase;}

/* Lingua nel drawer */
.gv-drawer__lang {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gv-gray-mid);
}
.gv-drawer__lang ul { gap: 0.75rem; }
.gv-drawer__lang a {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gv-nero);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--gv-gray-mid);
    border-radius: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.gv-drawer__lang a:hover,
.gv-drawer__lang .sublanguage-current a {
    color: var(--gv-gold);
    border-color: var(--gv-gold);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .site-header__nav { display: none; }  /* menu desktop nascosto */
    .gv-burger        { display: flex; }  /* burger visibile */
    .gv-lang-switcher { display: none; }  /* lingua solo nel drawer */
}

@media (min-width: 992px) {
    .gv-drawer { display: none !important; } /* drawer mai visibile su desktop */
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--gv-bianco-caldo);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav .menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Sezioni ───────────────────────────────────────────────── */
.gv-section {
    padding-top: clamp(3rem, 8vw, 7rem);
    padding-bottom: clamp(3rem, 8vw, 7rem);
}
.gv-section--dark {
    background-color: var(--gv-nero);
    color: var(--gv-bianco-caldo);
}
.gv-section--light {
    background-color: var(--gv-gray-light);
}
/* ── Layout ───────────────────────────────────────────────── */

.hero {
    position: relative;
    width: 100%;
    background-color: var(--gv-terra-scuro);
    color: var(--gv-bianco-caldo);
    aspect-ratio:2/1;
    overflow: hidden;

}

.hero .container { z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.hero .testullo { border-left: 1px solid var(--gv-bianco-caldo); padding:0 1rem; }
.hero .testullo p { margin-bottom: 0; }
.hero .img-holder { position: absolute; top: 0; left:0; height: 100%; z-index: 1; }
.hero .img-holder:after {
  content:""; display: block; position: absolute; top:0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}


.home .hero { aspect-ratio:none; height: calc( 100vh - var(--gv-header-height) ); }
.home .hero .img-holder:after { content:""; display: block; position: absolute; top:0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.50) 75%)
}

/* modulo due immagini sovrapposte */
.module-two-images .column-right { position: relative; }
.module-two-images .immaginetta { position: absolute; bottom:0; left: 0; }

/* modulo 1 immagine grande*/

/* modulo immagine-testo */
@media (min-width: 992px) {
.module-image-text .col-image { display: flex; flex-direction: column; justify-content: center; }
.module-image-text .col-text { display: flex; flex-direction: column; justify-content: center; }
}

.page-template-template-collezioni .module-two-images { position: relative; overflow: visible; z-index: 30; }
.page-template-template-collezioni .immagine { transform: translateY( -3em ); }




/* Gallery Assonometria */

.assonometria .row { position: relative; }
.assonometria .swiper img { height: 70vh; }
.assonometria .swiper .swiper-slide:not(.swiper-slide-active) .caption { transform: translateY(01em); }
.assonometria .ascensore-controls { position: absolute; top: 0; right: 0; width: auto; z-index: 200;}
.assonometria .ascensore-controls .btn { padding: 1em 1.2em; }
.assonometria .ascensore-controls .btn svg { fill: var(--gv-terra-scuro); }
@media (min-width: 1200px) {
  .assonometria .swiper .caption { position: absolute; left: 50%; top: 10%; transition: all .6s ease; }
  .assonometria .swiper .sesto-quinto .caption { top: 6%; }
  .assonometria .swiper .quinto-quarto .caption { top: 16%; }
  .assonometria .swiper .quarto-terzo .caption { top: 26%; }
  .assonometria .swiper .terzo-secondo .caption { top: 36%; }
  .assonometria .swiper .secondo-soppalco .caption { top: 46%; }
  .assonometria .swiper .soppalco .caption { top: 51%; }
  .assonometria .swiper .soppalco-primo .caption { top: 56%; }
  .assonometria .swiper .primo .caption { top: 61%; }
  .assonometria .swiper .primo-ammezzato .caption { top: 66%; }
  .assonometria .swiper .ammezzato .caption { top: 72%; }
  .assonometria .swiper .ammezzato-terreno .caption { top: 77%; }
  .assonometria .swiper .terreno .caption { top: 87%; }
}






/* ── Filter tabs ───────────────────────────────────────────── */
.gv-filter-tab {
    background: none;
    border: 1px solid rgba(13, 13, 13, 0.2);
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--gv-transition), color var(--gv-transition), border-color var(--gv-transition);
}
.gv-filter-tab:hover,
.gv-filter-tab.active {
    background: var(--gv-nero);
    color: var(--gv-bianco-caldo);
    border-color: var(--gv-nero);
}

/* ── Paginazione ───────────────────────────────────────────── */
.gv-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
}
.gv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(13, 13, 13, 0.15);
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gv-nero);
    transition: background var(--gv-transition), color var(--gv-transition);
}
.gv-pagination .page-numbers:hover {
    background: var(--gv-nero);
    color: var(--gv-bianco-caldo);
    border-color: var(--gv-nero);
}
.gv-pagination .page-numbers.current {
    background: var(--gv-gold);
    color: var(--gv-bianco-caldo);
    border-color: var(--gv-gold);
}

/* ── Lightbox ──────────────────────────────────────────────── */
.gv-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.gv-lightbox.is-open {
    display: flex;
}
.gv-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.93);
    cursor: zoom-out;
}
.gv-lightbox__img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}
.gv-lightbox__close,
.gv-lightbox__prev,
.gv-lightbox__next {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    color: var(--gv-bianco-caldo);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.gv-lightbox__close:hover,
.gv-lightbox__prev:hover,
.gv-lightbox__next:hover {
    opacity: 1;
}
.gv-lightbox__close { top: 1rem; right: 1rem; font-size: 1.5rem; }
.gv-lightbox__prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.gv-lightbox__next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── Entry content (WP editor output) ─────────────────────── */
.entry-content {
    max-width: 70ch;
}
.entry-content p + p { margin-top: 1.25em; }
.entry-content a { color: var(--gv-gold); }
.entry-content blockquote {
    border-left: 3px solid var(--gv-gold);
    padding-left: 1.5rem;
    font-family: var(--gv-font-heading);
    font-size: 1.25rem;
    font-style: italic;
}
