/* ============================================================
     TOKENS
  ============================================================ */
  :root{
    --red:        #EE3124;   /* primary brand red */
    --red-dark:   #D9281B;
    --teal:       #67C5C9;   /* cyan/teal background section */
    --teal-line:  #67C5C9;
    --teal-dark:  #4FB0B5;
    --ink:        #111111;
    --bg:         #FFFFFF;
    --grey-soft:  #EFEFEF;
    --grey-line:  #E5E5E5;
    --text-muted: #6B6B6B;
    --header-h:   72px;

    --f-display: "Heebo", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --maxw: 1280px;
  }

  *{ box-sizing:border-box; }
  html, body{ margin:0; padding:0; }
  body{
    font-family: var(--f-display);
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.55;
    overflow-x: hidden;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; text-decoration:none; }
  button{ font-family:inherit; cursor:pointer; }

  .container{
    width:100%;
    max-width: var(--maxw);
    padding: 0 32px;
    margin: 0 auto;
  }

  .brand-mark-logo-img {
    max-width: 60px !important;
  }

  /* ============================================================
     IMAGE PLACEHOLDER
     Used everywhere a real photo will be dropped in later.
     Replace by setting background-image or <img src> on .ph
  ============================================================ */
  /* .ph{
    position: relative;
    background:
      repeating-linear-gradient(135deg,
        rgba(0,0,0,0.05) 0 10px,
        rgba(0,0,0,0.10) 10px 20px),
      #d8d8d8;
    color: #222;
    overflow: hidden;
  }
  .ph::before{
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
    text-align: center;
    padding: 12px;
  } */
  /* Tinted placeholders for colored sections */
  /* .ph--red{
    background:
      repeating-linear-gradient(135deg,
        rgba(0,0,0,0.10) 0 10px,
        rgba(0,0,0,0.18) 10px 20px),
      var(--red);
  }
  .ph--red::before{ color: rgba(255,255,255,0.85); }
  .ph--teal{
    background:
      repeating-linear-gradient(135deg,
        rgba(0,0,0,0.10) 0 10px,
        rgba(0,0,0,0.18) 10px 20px),
      var(--teal-dark);
  }
  .ph--teal::before{ color: rgba(255,255,255,0.9); }
  .ph--dark{
    background:
      repeating-linear-gradient(135deg,
        rgba(255,255,255,0.04) 0 10px,
        rgba(255,255,255,0.10) 10px 20px),
      #222;
  }
  .ph--dark::before{ color: rgba(255,255,255,0.7); } */

  /* ============================================================
     HEADER
  ============================================================ */
  .site-header{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--grey-soft);
    z-index: 100;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .site-header .container{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
  }
  .brand-mark{
    display: inline-flex;
    align-items: center;
    height: 40px;
  }
  /* .brand-mark .ph{
    width: 64px; height: 40px;
  } */
  /* .brand-mark .ph::before{ font-size: 9px; } */

  .site-title{
    justify-self: center;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.22em;
  }

  .burger{
    justify-self: end;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid #222;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  .burger:hover{ background:#222; color:#fff; }
  .burger:hover .burger-icon line{ stroke: #fff; }
  .burger-icon{ width:18px; height:18px; }
  .burger-icon line{ stroke:#222; stroke-width:1.7; stroke-linecap:round; }

  /* Spacer to push content below fixed header */
  main{ padding-top: var(--header-h); }

  /* ============================================================
     MENU OVERLAY (full screen, opens from burger)
  ============================================================ */
  .menu-overlay{
    position: fixed;
    inset: 0;
    background: var(--red);
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 520px) 1fr;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    overflow: auto;
  }
  .menu-overlay.open{
    opacity: 1;
    pointer-events: auto;
  }
  .menu-overlay .deco{
    position: relative;
    height: 70%;
    align-self: center;
  }
  .menu-overlay .deco img{
    width: 80%;
    filter: grayscale(100%);
    opacity: 0.5;
    /*mix-blend-mode: multiply;
    filter: saturate(0.6);
    opacity: 0.55;*/

  }
  .menu-overlay .deco.left img{ margin-top: 6%; }
  .menu-overlay .deco.right{ display: flex; justify-content: flex-end; align-items: flex-end; }
  .menu-overlay .deco.right img{ margin-bottom: 10%; }

  .menu-close{
    position: absolute;
    top: 22px; right: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
  }
  .menu-close:hover{ background:#fff; color: var(--red); }

  .menu-list{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 80px 0;
  }
  .menu-list li{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .menu-list .num{
    font-weight: 800;
    font-size: 40px;
    letter-spacing: 0.02em;
    /* color: #111; */
    color: #fff;
    line-height: 1;
  }
  /* .menu-list li:first-child .num{ color: #111; } */
  .menu-list .label{
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.01em;
    color: #fff;
    transition: opacity .2s;
  }
  .menu-list a{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .menu-list a:hover .label{ opacity: 0.7; }
  .menu-list a:hover .num{ color: #fff; }

  /* ============================================================
     HERO
  ============================================================ */
  .hero{
    position: relative;
    min-height: 600px;
    padding: 60px 0 80px;
    /* background: #fff; */
    overflow: hidden;
  }
  /* .hero-grid{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
    min-height: 480px;
  } */
  .hero-brush-left,
  .hero-brush-right{
    position: absolute;
    top: 0;
    min-height: 600px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
  }
  .hero-brush-left {
    width: 30%;
    left: 0;
    background-image: url("..//images/bg-hero-waves.webp");
    background-position: center left;
  }
  .hero-brush-right{
    width: 50%;
    right: 0;
    background-image: url("../images/bg-hero-ship.webp");
    background-position: center right;
  }
  /*.hero-brush-left .ph,
  .hero-brush-right .ph{
    width: 100%; height: 100%;
    background:
      repeating-linear-gradient(135deg,
        rgba(0,0,0,0.06) 0 10px,
        rgba(0,0,0,0.10) 10px 20px),
      #f4f4f4;
  }*/
  /* .hero-brush-left .ph::before{ content: "Brushstroke artwork — left (cyan / red)"; }
  .hero-brush-right .ph::before{ content: "Brushstroke + barche a vela"; } */

  .hero-center{
    text-align: center;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    margin-top:30px;
  }
  .hero-title{
    font-size: clamp(16px, 1.4vw, 20px);
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: #111;
  }
  .hero-title small{
    display: block;
    font-weight: 800;
    font-size: 0.95em;
    margin-top: 2px;
  }
  .hero-cta{
    margin-top: 6px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
  }
  .hero-cta b{ color:#111; }

  .hero .logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 40px auto;
    columns: 2;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
  }
  .hero .logos img{
    height: 40px;
  }

  /* ============================================================
     SECTION SHELL
  ============================================================ */
  .section{
    position: relative;
    padding: 80px 0;
    overflow: hidden;
  }
  .section--red    { background: var(--red);  color:#fff; }
  .section--teal   { background: var(--teal); color:#fff; }
  .section--dark   { background: #000;        color:#fff; }
  .section--theater{ background: #1a1a1a; color:#fff; }

  .big-number{
    font-weight: 900;
    font-size: clamp(140px, 18vw, 280px);
    line-height: 0.85;
    color: #fff;
    letter-spacing: -0.04em;
    user-select: none;
  }

  .eyebrow{
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.95;
  }

  .section-title{
    font-weight: 800;
    font-size: clamp(26px, 2.4vw, 36px);
    line-height: 1.15;
    margin: 8px 0 24px;
    letter-spacing: -0.005em;
  }
  .section-body{
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 520px;
  }
  .section-body p + p{ margin-top: 14px; }

  /* ============================================================
     SECTION 00 — VISIONI
  ============================================================ */
  .s-visioni .container{
    position: relative;
  }
  .s-visioni .grid{
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .s-visioni .media{
    position: relative;
    height: 520px;
  }
  .s-visioni .media img{
    position: absolute;
    border-radius: 0;
    filter: grayscale(100%);
    opacity: 0.5;
  }
  .s-visioni .media .foto-convegno{
    top: 0; right: 0;
    width: 80%;
  }
  /* .s-visioni .media .foto-gruppo{
    bottom: 0; left: 0;
    width: 45%;
  } */
  .s-visioni .copy{ position: relative; }
  .s-visioni .big-number{
    position: absolute;
    /* top: -40px; */
    left: -20px;
    z-index: 1;
  }
  .s-visioni .copy-inner{
    position: relative;
    z-index: 1;
    /* margin-top: 160px; */
    max-width: 460px;
  }

  /* ============================================================
     SECTION 01 — I LUOGHI
  ============================================================ */
  .s-luoghi .container{
    position: relative;
  }
  .s-luoghi{ text-align: center; }
  .s-luoghi .grid{
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
  }
  .s-luoghi .media-left img,
  .s-luoghi .media-right img{
    filter: grayscale(100%);
    opacity: 0.5;
  }
  /* .s-luoghi .media-left .ph{ height: 360px; }
  .s-luoghi .media-left .ph::before{ content: "Edificio / arcate"; } */
  .s-luoghi .media-right{ position: relative; height: 360px; padding-top: 80%; }
  /* .s-luoghi .media-right .ph{ height: 60%; width: 100%; position:absolute; bottom:0; right:0; }
  .s-luoghi .media-right .ph::before{ content: "Nave da crociera / porto"; } */
  .s-luoghi .big-number{
    position: absolute;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    pointer-events: none;
  }
  .s-luoghi .center .eyebrow{ opacity: 0.95; }
  .s-luoghi .center .section-title{ margin-top: 6px; }
  .s-luoghi .center .section-body{ margin: 0 auto; }
  .s-luoghi .center .btn{ color: var(--red); background: #fff; border-radius: 30px 0 30px 0; font-weight: 900; }
  .s-luoghi .center .btn:hover{ background: var(--red-dark); color: #fff; transform: translateY(-1px); }
  .s-luoghi .center .btn:hover{ background: var(--red-dark); color: #fff; transform: translateY(-1px); }

  /* ============================================================
     BUTTONS
  ============================================================ */
  .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 0;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  }
  .btn:hover{ background: var(--red-dark); transform: translateY(-1px); }
  .btn--ghost{
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.85);
    box-shadow: none;
  }
  .btn--ghost:hover{ background:#fff; color: var(--red); }
  .btn--big{
    height: 110px;
    width: 110px;
    border-radius: 22px;
    flex-direction: column;
    font-size: 13px;
    letter-spacing: 0.12em;
    padding: 0;
  }
  .btn--white{
    background: #fff;
    color: var(--red);
    border: 0;
    box-shadow: none;
    padding: 15px;
  }
  .btn--white:hover{ background: #fff; transform: translateY(-1px); }

  /* ============================================================
     SECTION 02 — PRE-CONGRESSO
  ============================================================ */
  .s-pre{ text-align: center; }
  .s-pre .container{
    position: relative;
  }
  .s-pre .eyebrow{ color: #fff; opacity: 1; text-transform: none !important; font-size:40px; letter-spacing: 0; }
  .s-pre .pre-title{
    font-weight: 700;
    font-size: clamp(22px, 2vw, 30px);
    margin: 8px 0 32px;
  }
  .s-pre .foto-pre-congresso {
    margin: 0 auto;
  }
  /*.s-pre .media-wrap{
    position: relative;
    max-width: 720px;
    margin: 0 auto;
  }*/
   /*.s-pre .media-wrap .ph{ aspect-ratio: 16/10; }
  .s-pre .media-wrap .ph::before{ content: "Foto pre-congresso (Piazza Roma)"; } */
  .s-pre .big-number{
    position: absolute;
    left: -10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }
  .s-pre .side-title{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    font-weight: 800;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.1;
    color: #fff;
    z-index: 2;
    font-size: 40px;
  }
  .s-pre .body-bottom{
    max-width: 640px;
    margin: 36px auto 0;
    color: rgba(255,255,255,0.85);
    /* font-size: 14px; */
    line-height: 1.7;
    text-align: center;
  }
  .s-pre .body-bottom p + p{ margin-top: 14px; }

  /* ============================================================
     SECTION 03 — IL CONGRESSO (theater bg)
  ============================================================ */
  .s-congresso{
    position: relative;
    text-align: center;
    padding: 150px 0 120px;
    background-image: url("../images/Teatro delle Muse.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(0,0,0,0.65);
  }
  /* .s-congresso .bg{
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .s-congresso .bg .ph{
    width: 100%; height: 100%;
  }
  .s-congresso .bg .ph::before{
    content: "Sfondo: Teatro delle Muse (full bleed)";
    color: rgba(255,255,255,0.7);
  }
  .s-congresso .bg::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  } */
  .s-congresso .container{ position: relative; z-index: 1; position: relative; color: #fff; }
  .s-congresso .big-number{
    position: absolute;
    top: -80px;
    right: 0;
    text-align: right;
  }
  .s-congresso .eyebrow{ display: block; margin-bottom: 8px; color: #fff; }
  .s-congresso .title{
    color: #fff;
    font-weight: 800;
    font-size: clamp(26px, 2.4vw, 36px);
    margin: 0 0 36px;
  }
  .giorni{
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
  }
  .giorni .btn--big{
    width: 160px;
    height: 160px;
    font-size: 18px;
  }

  /* ============================================================
     QUOTE
  ============================================================ */
  /* .quote{
    padding: 80px 0;
    text-align: center;
    background: #fff;
  }
  .quote q{
    quotes: "“" "”";
    font-weight: 500;
    font-size: clamp(28px, 2vw, 36px);
    color: var(--red);
    font-style: normal;
    line-height: 1.4;
  }
  .quote q::before{ color: var(--red); margin-right: 6px; }
  .quote q::after { color: var(--red); margin-left: 6px; }
  .quote .author{
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #000;
    font-weight: 700;
  } */

  /* ============================================================
     SECTION 04 — HANNO DETTO DI NOI
  ============================================================ */
  .s-hanno{
    position: relative;
    /* background: #111; */
    color: #fff;
    padding: 0;
    background-image: url("../images/La gratitudine e la firma delle anime nobili - Esopo.webp");
    background-size: cover;
    background-position: 50% 35%;
    background-repeat: no-repeat;
    min-height: 600px;
    padding:400px 0 100px;
  }
  .s-hanno .cta-wrap{
    /* position: absolute;
    left: 0; right: 0; bottom: 32px; */
    text-align: center;
    /* z-index: 2; */
  }



  /* ============================================================
     SECTION 05 — I NUMERI DEL CONGRESSO
  ============================================================ */
  .s-numeri .wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem 2rem;
  }
  .s-numeri .title{
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
  }
  .s-numeri .body-bottom{
    font-size: 16px;
    line-height: 1.5;
  }

  /* ============================================================
     SECTION 06 — I MAIN SPONSOR
  ============================================================ */
  .s-sponsor{
    position: relative;
    text-align: center;
    padding: 150px 0 120px;
    background-image: url("../images/2N4A3936.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(0,0,0,0.65);
  }
  .s-sponsor .container{ position: relative; z-index: 1; position: relative; color: #fff; }
  .s-sponsor .big-number{
    /* position: absolute;
    top: -80px;
    right: 0; */
    text-align: right;
  }
  .s-sponsor .wrapper{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem 2rem;
  }
  .s-sponsor .title{
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-align: left;
  }
  .s-sponsor .body-bottom{
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
  }
  .s-sponsor .foto-sponsor{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  .s-sponsor .btn--white {
    margin:15px;
  }
  .s-sponsor .btn--white img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .s-sponsor .btn--white img:hover{
    transform: scale(1.05);
  }

  /* ============================================================
     FOOTER
  ============================================================ */
  .footer-card{
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
    border-radius: 6px;
    padding: 36px 48px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    /* gap: 40px; */
    max-width: var(--maxw);
    margin: -85px auto;
    position: relative;
    z-index: 3;
  }
  .footer-card .logos{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-card .logos img{
    height: 80px;
  }
  /*.footer-card .logos .ph{ width: 70px; height: 50px; }
  .footer-card .logos .ph::before{ font-size: 8px; content: "Logo"; }
  .footer-card .center-logo .ph{ width: 110px; height: 110px; border-radius: 4px; }
  .footer-card .center-logo .ph::before{ content: "Logo 6 Visioni"; }*/
  .footer-card .center-logo img{
    position:absolute;
    width: 200px;
    margin-left: -100px;
    margin-top: -50px;
  }
  .footer-card .right{
    text-align: right;
    font-size: 14px;
    line-height: 1.35;
    color: #111;
  }
  /* .footer-card .right .small{
    font-size: 10px;
    letter-spacing: 0.26em;
    color: #222;
    margin-bottom: 6px;
  } */
  /* .footer-card .right .title{
  } */
  .footer-card .right .accent{
    /* color: var(--red); */
    /* margin-top: 6px; */
    font-weight: 700;
  }

  .site-footer{
    background: #fff;
    padding: 160px 0 30px;
    color: #4a4a4a;
    font-size: 12.5px;
    line-height: 1.7;
    background-color: #dddddd;
  }
  .site-footer .cols{
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .site-footer .col-brand .brand{
    display: inline-block;
    margin-bottom: 16px;
  }
  /* .site-footer .col-brand .brand .ph{
    width: 74px; height: 46px;
  } */
  .site-footer h4{
    color: var(--red);
    font-size: 13px;
    margin: 0 0 12px;
    letter-spacing: 0.04em;
  }
  .site-footer .col-contacts { text-align: right; }
  .site-footer .col-contacts p{ margin: 0 0 6px; }
  .site-footer .col-contacts a{ color: var(--red); }
  .site-footer .socials{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
  }
  .site-footer .socials a{
    width: 32px; height: 32px;
    border-radius: 10px 0 10px 0;
    background: var(--red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
  }
  .site-footer .socials a:hover{ background: var(--red-dark); }
  .site-footer .socials img{ width: 16px; height: 16px; fill: #fff; }

  .copyright{
    border-top: 1px solid var(--teal-line);
    margin-top: 60px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: #777;
  }
  .copyright .links{ display:flex; gap: 18px; }
  .copyright .links a:hover{ color: var(--red); }

  /* ============================================================
     RESPONSIVE
  ============================================================ */
  @media (max-width: 980px){
    .container{ padding: 0 22px; }
    .hero {
      background-image: url("../images/bg-hero-ship.webp");
      background-position: bottom right;
      background-size: 40%;
      background-repeat: no-repeat;
    }
    .hero-grid{
      grid-template-columns: 1fr;
      min-height: auto;
    }
    .hero-brush-left, .hero-brush-right{ 
      /* height: 220px;  */
      display: none;
    }
    /* .hero-brush-left{ order: 2; } */
    .hero-center{ 
      order: 1; 
      flex-direction: column;
    }
    /* .hero-brush-right{ order: 3; } */

    .s-visioni .grid{ grid-template-columns: 1fr; gap: 30px; }
    .s-visioni .media{ height: 380px; }
    .s-visioni .copy-inner{ margin-top: 80px; }
    /* .s-visioni .big-number{ top: -10px; left: -8px; } */
    .s-visioni .big-number{ left: 20px; }

    .s-luoghi .grid{ grid-template-columns: 1fr; gap: 28px; }
    /* .s-luoghi .media-left .ph, */
    .s-luoghi .media-right{ height: 260px; padding-top: 0; }
    .s-luoghi .big-number{
      position: relative;
      right: auto; top: auto; transform: none;
      text-align: right;
      margin-top: -10px;
    }

    .s-pre .big-number{
      position: relative; left: auto; top: auto; transform: none;
      text-align: left;
      margin-bottom: -20px;
    }
    .s-pre .side-title{
      position: relative; right: auto; top: auto; transform: none;
      text-align: center;
      margin-top: 20px;
    }
    .s-congresso .big-number{
      top: -40px;
    }
    .s-numeri .wrapper{
      grid-template-columns: 1fr;
    }

    .footer-card{
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
      padding: 28px 24px;
      margin: -60px 16px;

    }
    .footer-card .right{ text-align: center; }
    .footer-card .logos{ justify-content: center; }
    .footer-card .center-logo img{ position: inherit; margin: 0 auto; width: 100px;}

    .site-footer .cols{
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: left;
    }
    .site-footer .col-contacts { text-align: left; }
    .site-footer .socials{
      justify-content: flex-start;
    }

    .menu-overlay{
      grid-template-columns: 1fr;
    }
    .menu-overlay .deco{ display: none; }
    .menu-list{ gap: 24px; padding: 100px 24px 60px; }
    .menu-list .num{ font-size: 34px; }
    .menu-list .label{ font-size: 17px; }
  }

  @media (max-width: 600px){
    :root{ --header-h: 60px; }
    .site-title{ font-size: 12px; letter-spacing: 0.18em; }
    .section{ padding: 60px 0; }
    .big-number{ font-size: clamp(110px, 30vw, 180px); }
    .hero{ padding: 30px 0 50px; }
    .hero-logo{ width: 70%; }
    /* .quote q{ font-size: 18px; } */
    .giorni .btn--big{ width: 90px; height: 90px; font-size: 11px; }
  }

  /* No-scroll when menu open */
  body.menu-open{ overflow: hidden; }

  /* ============================================================
     CONTENT 
  ============================================================ */
  #content.section{
    padding: 64px 0 72px;
  }
  #content .eyebrow{
    text-align: center;
    margin-bottom: 24px;
  }
  #content .container{
    max-width: 680px;
  }
  #content h1{
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
  }
  #content p{
    text-align: center;
    font-size: 16px;
  }

  .section--giorno3 .wrapper{
    display: gird;
    grid-template-columns: 1fr 1fr;
    /* flex-direction: row;
    flex-wrap: nowrap; */
    justify-items: center;
    gap: 24px;
  }
  .section--giorno3 .left *{
    text-align: left !important;
  }
  .section--giorno3 .right img{
    width: 100% ;
  }

  /* ============================================================
     PHOTO GALLERY (giorno1)
  ============================================================ */
  .section-photo-gallery.section{
    padding: 100px 0;
    overflow: visible;
  }
  .section-photo-gallery .container{
    max-width: 1100px;
  }
  .section-photo-gallery .section-title{
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
  }

  .photo-gallery{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .photo-gallery__stage{
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(12px, 3vw, 28px);
    width: 100%;
  }

  .photo-gallery__main{
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
  }

  .photo-gallery__main img{
    width: 100%;
    max-width: 100%;
    max-height: min(58vh, 520px);
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: opacity 0.25s ease;
  }

  .photo-gallery__main img.is-fading{
    opacity: 0;
  }

  .photo-gallery__nav{
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--ink);
    display: grid;
    place-items: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .photo-gallery__nav:hover{
    background: var(--teal-dark);
  }
  .photo-gallery__nav:active{
    transform: scale(0.94);
  }
  .photo-gallery__nav:focus-visible{
    outline: 2px solid #fff;
    outline-offset: 3px;
  }

  .photo-gallery__thumbs{
    list-style: none;
    margin: 0;
    padding: 4px 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-padding-inline: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
  }
  .photo-gallery__thumbs.is-centered{
    justify-content: center;
  }
  .photo-gallery__thumbs li{
    flex: 0 0 auto;
  }

  .photo-gallery__thumb{
    display: block;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.55;
  }
  .photo-gallery__thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .photo-gallery__thumb:hover{
    opacity: 0.85;
  }
  .photo-gallery__thumb.is-active,
  .photo-gallery__thumb[aria-selected="true"]{
    border-color: var(--teal);
    opacity: 1;
  }
  .photo-gallery__thumb:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 2px;
  }

  /* DEBUG ordinamento foto — rimuovere con PHOTO_GALLERY_DEBUG = false */
  .photo-gallery--debug .photo-gallery__thumb{
    position: relative;
  }
  .photo-gallery__thumb-index{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  }
  .photo-gallery__thumb.is-active .photo-gallery__thumb-index{
    background: rgba(103, 197, 201, 0.75);
    color: var(--ink);
  }

  @media (max-width: 768px){
    .section-photo-gallery.section{
      padding: 48px 0 56px;
    }
    .section-photo-gallery .container{
      padding: 0 16px;
    }
    .photo-gallery__stage{
      gap: 8px;
    }
    .photo-gallery__nav{
      width: 36px;
      height: 36px;
    }
    .photo-gallery__nav svg{
      width: 16px;
      height: 16px;
    }
    .photo-gallery__main img{
      max-height: min(45vh, 360px);
    }
    .photo-gallery__thumbs{
      padding-bottom: 8px;
    }
    .photo-gallery__thumb{
      width: 56px;
      height: 56px;
    }
    .photo-gallery__thumb-index{
      font-size: 14px;
    }
  }

  /* ============================================================
     VIDEO GALLERY (giorno1) — cover flow
  ============================================================ */
  #videogallery.section{
    padding: 150px 0;
  }
  #videogallery .container{
    max-width: 1100px;
  }
  #videogallery .section-title{
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
  }

  .video-gallery{
    display: flex;
    justify-content: center;
  }

  .video-gallery__viewport{
    position: relative;
    width: 100%;
    max-width: 900px;
    height: min(42vh, 420px);
    perspective: 1400px;
    overflow: visible;
  }

  .video-gallery__track{
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
  }

  .video-gallery__slide{
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(88vw, 680px);
    margin: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.45s ease, opacity 0.45s ease;
    transform-style: preserve-3d;
    cursor: default;
  }

  .video-gallery__slide.is-active{
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -50%) translateZ(60px) scale(1);
    cursor: default;
  }

  .video-gallery__slide.is-prev{
    z-index: 2;
    opacity: 0.9;
    transform: translate(calc(-50% - min(36vw, 280px)), -50%) translateZ(0) rotateY(32deg) scale(0.78);
    cursor: pointer;
  }

  .video-gallery__slide.is-next{
    z-index: 2;
    opacity: 0.9;
    transform: translate(calc(-50% + min(36vw, 280px)), -50%) translateZ(0) rotateY(-32deg) scale(0.78);
    cursor: pointer;
  }

  .video-gallery__slide.is-hidden{
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
  }

  .video-gallery__frame{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #c8c8c8;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }

  .video-gallery__poster{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .video-gallery__poster[hidden]{
    display: none;
  }

  .video-gallery__play{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .video-gallery__play:hover{
    transform: scale(1.06);
    background: #fff;
  }
  .video-gallery__play:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }
  .video-gallery__play[hidden]{
    display: none;
  }

  .video-gallery__embed{
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .video-gallery__embed iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .video-gallery__nav{
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .video-gallery__nav:hover{
    background: #333;
  }
  .video-gallery__nav:active{
    transform: scale(0.94);
  }
  .video-gallery__nav:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 3px;
  }
  .video-gallery__nav--prev{
    left: clamp(4px, 8%, 48px);
  }
  .video-gallery__nav--next{
    right: clamp(4px, 8%, 48px);
  }

  @media (max-width: 768px){
    #videogallery.section{
      padding: 48px 0 56px;
    }
    #videogallery .container{
      padding: 0 12px;
    }
    .video-gallery__viewport{
      height: min(38vh, 320px);
    }
    .video-gallery__slide{
      width: min(92vw, 100%);
    }
    .video-gallery__slide.is-prev{
      transform: translate(calc(-50% - 42vw), -50%) translateZ(0) rotateY(28deg) scale(0.72);
    }
    .video-gallery__slide.is-next{
      transform: translate(calc(-50% + 42vw), -50%) translateZ(0) rotateY(-28deg) scale(0.72);
    }
    .video-gallery__play{
      width: 56px;
      height: 56px;
    }
    .video-gallery__play svg{
      width: 36px;
      height: 36px;
    }
    .video-gallery__nav{
      width: 34px;
      height: 34px;
      margin-top: -17px;
    }
    .video-gallery__nav svg{
      width: 16px;
      height: 16px;
    }
  }

  #credits{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  #credits p{
    font-size: 12px;
    /* font-weight: 700; */
  }
  #credits img{
    width: 50px;
  }