    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --sea:         var(--c-titoli);
      --terra:       var(--c-accento);
      --terra-soft:  var(--c-accento2);
      --lemon:       var(--c-label);
      --teal:        var(--c-ambra);
      --cream:       var(--c-sfondo);
      --ivory:       var(--c-avorio);
      --text:        #2C2016;
      --text-light:  #7A6A58;
      --serif:       var(--f-serif), Georgia, serif;
      --sans:        var(--f-sans), sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--cream);
      color: var(--text);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center; position: relative;
      overflow: hidden;
      background:
        radial-gradient(ellipse at 15% 85%, rgba(83,94,65,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(243,102,131,.12) 0%, transparent 50%),
        var(--cream);
      padding: 80px 24px 110px;
    }
    .hero::before {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cpath d='M0 2h4M2 0v4' stroke='%23c78c5e' stroke-width='.3' opacity='.14'/%3E%3C/svg%3E");
    }
    .hero-content { position: relative; z-index: 1; }
    .hero-ornament {
      font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
      color: var(--teal); font-weight: 400; margin-bottom: 22px;
      opacity: 0; animation: fadeUp .9s ease forwards .3s;
    }
    .hero h1 {
      font-family: var(--serif);
      font-size: clamp(3.8rem, 11vw, 7.5rem); font-weight: 300;
      line-height: 1.05; color: var(--sea); letter-spacing: .02em;
      opacity: 0; animation: fadeUp .9s ease forwards .6s;
    }
    .hero h1 em { font-style: italic; color: #dc4255; }
    #el-sposo { color: #535e41; }
    .hero-ampersand {
      font-family: var(--serif); font-style: italic;
      font-size: clamp(2rem, 6vw, 4rem); color: var(--lemon);
      display: block; line-height: 1.2;
    }
    .hero-date {
      margin-top: 30px; font-family: var(--serif);
      font-size: clamp(1.1rem, 2.5vw, 1.55rem); font-style: italic;
      color: var(--text-light); letter-spacing: .06em;
      opacity: 0; animation: fadeUp .9s ease forwards .9s;
    }
    .hero-divider {
      width: 90px; height: 1px;
      background: linear-gradient(90deg, transparent, var(--lemon), transparent);
      margin: 28px auto; opacity: 0; animation: fadeUp .9s ease forwards 1.1s;
    }
    .hero-tagline {
      font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
      color: var(--text-light); opacity: 0; animation: fadeUp .9s ease forwards 1.3s;
    }
    .scroll-hint {
      position: absolute; bottom: 36px; left: 0; right: 0;
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      opacity: 0; animation: fadeUp .9s ease forwards 2s;
    }
    .scroll-hint span { font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--text-light); }
    .scroll-arrow {
      width: 15px; height: 15px;
      border-right: 1px solid var(--lemon); border-bottom: 1px solid var(--lemon);
      transform: rotate(45deg); animation: bounce 2s ease infinite;
    }

    /* NAV */
    nav {
      position: sticky; top: 0; z-index: 200;
      background: rgba(251,248,242,.96);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(212,160,48,.2);
    }
    .nav-inner {
      max-width: 960px; margin: 0 auto; padding: 0 24px;
      height: 56px; display: flex; align-items: center; justify-content: space-between;
    }
    .nav-brand { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--sea); text-decoration: none; }
    .nav-links { display: flex; align-items: center; gap: clamp(22px,3.5vw,52px); list-style: none; }
    .nav-links a {
      font-size: .67rem; letter-spacing: .2em; text-transform: uppercase;
      text-decoration: none; color: var(--text-light); font-weight: 400;
      transition: color .2s; white-space: nowrap;
    }
    .nav-links a:hover { color: #dc4255; }
    .nav-burger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 8px; margin-right: -8px;
    }
    .nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--sea); transition: all .3s ease; transform-origin: center; }
    .nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .nav-drawer {
      display: none; position: fixed; top: 56px; left: 0; right: 0;
      background: rgba(251,248,242,.98); backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(212,160,48,.18);
      overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); z-index: 199;
    }
    .nav-drawer.open { max-height: 420px; }
    .nav-drawer a {
      display: block; padding: 15px 32px; font-size: .72rem; letter-spacing: .2em;
      text-transform: uppercase; text-decoration: none; color: var(--text-light);
      font-family: var(--sans); font-weight: 400;
      border-bottom: 1px solid rgba(212,160,48,.1); transition: color .2s, background .2s;
    }
    .nav-drawer a:last-child { border-bottom: none; }
    .nav-drawer a:hover { color: #dc4255; background: rgba(220,66,85,.04); }
    @media (max-width: 680px) { .nav-links { display: none; } .nav-burger { display: flex; } .nav-drawer { display: block; } }

    /* SECTIONS */
    section { max-width: 760px; margin: 0 auto; padding: 80px 28px; position: relative; overflow: hidden; }
    section + section { border-top: 1px solid rgba(212,160,48,.15); }
    .section-label { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); font-weight: 400; margin-bottom: 12px; }
    .section-title { font-family: var(--serif); font-size: clamp(2rem,5vw,3rem); font-weight: 300; line-height: 1.2; color: var(--sea); margin-bottom: 24px; }
    .section-title em { font-style: italic; color: var(--terra); }
    p { margin-bottom: 1em; color: var(--text); font-size: 1rem; }
    p:last-child { margin-bottom: 0; }

    .highlight-box {
      background: linear-gradient(135deg, rgba(83,94,65,.06), rgba(243,102,131,.06));
      border-left: 3px solid var(--terra); padding: 24px 28px;
      border-radius: 0 8px 8px 0; margin: 28px 0;
    }
    .highlight-box .big { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--sea); line-height: 1.35; }

    .img-placeholder {
      width: 100%; aspect-ratio: 16/9;
      background: linear-gradient(135deg, rgba(83,94,65,.07), rgba(239,148,142,.09));
      border-radius: 6px; margin: 28px 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
      border: 1px dashed rgba(42,122,117,.32);
    }
    .img-placeholder span { font-family: var(--serif); font-style: italic; color: var(--text-light); font-size: 1.05rem; }
    .img-placeholder small { font-size: .8rem; color: var(--text-light); opacity: .7; }
    .img-placeholder img { width:100%; height:100%; object-fit:cover; border-radius:6px; }

    .link-btn {
      display: inline-block; margin-top: 16px; padding: 10px 26px;
      border: 1px solid var(--sea); color: var(--sea); text-decoration: none;
      font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
      transition: all .25s; font-weight: 400; border-radius: 2px;
    }
    .link-btn:hover { background: var(--sea); color: var(--cream); }

    .address-box { background: var(--ivory); border-radius: 6px; padding: 18px 22px; margin: 20px 0; display: flex; align-items: flex-start; gap: 14px; }
    .addr-icon { flex-shrink: 0; margin-top: 1px; color: var(--terra); }
    .address-box strong { display: block; font-weight: 500; font-size: .85rem; letter-spacing: .05em; color: var(--sea); margin-bottom: 3px; }
    .address-box span { font-size: .9rem; color: var(--text-light); }

    .route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
    @media (max-width: 520px) { .route-grid { grid-template-columns: 1fr; } }
    .route-card { background: white; border-radius: 6px; padding: 20px; border: 1px solid rgba(212,160,48,.2); box-shadow: 0 2px 10px rgba(83,94,65,.07); }
    .route-card h3 { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--terra); margin-bottom: 8px; }
    .route-card p { font-size: .88rem; color: var(--text-light); margin: 0; }

    .parking-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 18px; background: #535e41; border-radius: 6px; font-size: .88rem; color: #fff; }
    .park-icon { flex-shrink: 0; margin-top: 1px; color: #fff; }

    .tbd-box { background: var(--ivory); border-radius: 6px; padding: 26px; text-align: center; border: 1px dashed rgba(212,160,48,.35); margin: 22px 0; }
    .tbd-label { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lemon); margin-bottom: 8px; font-weight: 400; }
    .tbd-box p { color: var(--text-light); font-size: .9rem; margin: 0; }

    #regalo { text-align: center; }
    .gift-note { font-family: var(--serif); font-size: clamp(1.35rem,3.2vw,1.85rem); font-style: italic; color: var(--sea); line-height: 1.45; margin: 22px auto; max-width: 540px; }
    .iban-box { display: inline-block; background: white; border: 1px solid rgba(212,160,48,.3); border-radius: 6px; padding: 20px 40px; margin: 20px 0; }
    .iban-box span { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-light); }
    .iban-box strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--text); margin-top: 6px; }

    #rsvp { text-align: center; background: linear-gradient(135deg, rgba(83,94,65,.05), rgba(243,102,131,.05)); border-radius: 12px; margin-bottom: 60px !important; }
    #rsvp p { max-width: 480px; margin: 0 auto 1em; }

    footer { background: var(--sea); text-align: center; padding: 48px 24px; }
    .footer-names { font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--cream); margin-bottom: 8px; font-weight: 300; }
    .footer-date { color: var(--lemon); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; }

    .boug-deco { position: absolute; pointer-events: none; z-index: 0; }

    /* ── RICEVIMENTO ── */
    #ricevimento {
      position: relative;
      overflow: visible;
    }

    /* ── RICEVIMENTO LAYOUT ── */
    .ricevimento-layout {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      margin-top: 24px;
    }
    .ricevimento-img-wrap {
      flex: 0 0 52%;
      border-radius: 6px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(83,94,65,.07), rgba(239,148,142,.09));
      border: 1px dashed rgba(42,122,117,.32);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      min-height: 200px;
    }
    .ricevimento-img-wrap img {
      width: 100%; height: auto; display: block; border-radius: 6px;
    }
    .ricevimento-info {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .ricevimento-info .address-box { margin: 0; }
    .ricevimento-info .parking-note { margin: 0; }
    @media (max-width: 580px) {
      .ricevimento-layout { flex-direction: column; }
      .ricevimento-img-wrap { flex: none; width: 100%; }
    }


    /* ── CHIESA IMG ── */
    .chiesa-img-wrap { aspect-ratio: unset; min-height: unset; }
    .chiesa-img-wrap img { width: 100%; height: auto; display: block; border-radius: 6px; }

    /* ── BOUGANVILLE VISIBILITY ── */
    img[data-section] { transition: opacity 0.3s ease; }
    .boug-hidden { opacity: 0 !important; visibility: hidden; pointer-events: none; }

    /* ── BOUG RICEVIMENTO ── */
    /* Desktop: nel margine fino a 375px */
    @media (min-width: 376px) {
      img[data-section="ricevimento"] {
        position: absolute !important;
        z-index: 0;
        pointer-events: none;
      }
    }
    
    /* Mobile: responsive come nell'header fino a 375px */
    @media (max-width: 375px) {
      #ricevimento {
        position: relative;
        padding-top: 40px;
        overflow: visible;
      }
      img[data-section="ricevimento"] {
        position: absolute !important;
        margin: 0 !important;
        display: block;
        z-index: 0;
      }
      /* Prima bouganville: a destra */
      img[data-section="ricevimento"]:nth-of-type(3) {
        right: -400px !important;
        left: auto !important;
        top: 50% !important;
        width: clamp(120px, 28%, 240px) !important;
      }
      /* Seconda bouganville: a sinistra */
      img[data-section="ricevimento"]:nth-of-type(4) {
        left: -400px !important;
        right: auto !important;
        top: 50% !important;
        width: clamp(100px, 22%, 200px) !important;
      }
    }

    /* ── BOUG RICEVIMENTO (vecchie classe) ── */
    .boug-ric { display: block; pointer-events: none; user-select: none; }
    .boug-ric-top { width: clamp(120px, 28%, 200px); opacity: 0.75; margin: 0 0 16px 0; transform: rotate(-12deg) scaleX(-1); }
    .boug-ric-bot { width: clamp(100px, 22%, 170px); opacity: 0.65; margin: 16px 0 0 auto; transform: rotate(10deg); }
    .navette-box { margin-top: 0; }
    
    /* Replica posizione bouganville dell'header quando viewport > 476px */
    @media (min-width: 477px) {
      #ricevimento {
        position: relative;
      }
      .boug-ric-top {
        position: absolute;
        top: -30px;
        right: -50px;
        left: auto;
        width: clamp(120px, 28%, 240px);
        opacity: 0.90;
        margin: 0;
        transform: rotate(-12deg) scaleX(0);
        z-index: 0;
      }
      .boug-ric-bot {
        position: absolute;
        bottom: 30px;
        left: -100px;
        right: auto;
        width: clamp(100px, 22%, 200px);
        opacity: 0.85;
        margin: 0;
        transform: rotate(10deg) scaleX(-1);
        z-index: 0;
      }
    }
    
    /* Sposta bouganville quando il padding diventa < 28px */
    @media (max-width: 476px) {
      #ricevimento {
        position: relative;
        padding-top: 40px;
      }
      .boug-ric-top {
        position: absolute;
        top: 24px;
        left: 28px;
        margin: 0;
        z-index: 2;
      }
    }

    /* ── TEAM BOXES ── */
    .teams-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin: 32px 0;
    }
    @media (max-width: 520px) {
      .teams-grid {
        grid-template-columns: 1fr;
      }
    }
    
    .team-box {
      border-radius: 8px;
      padding: 32px 24px;
      text-align: center;
      border: 2px solid rgba(212,160,48,.2);
      background: white;
      cursor: pointer;
      transition: all .3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .team-box:hover {
      border-color: #535e41;
      background: #535e41;
      color: white;
    }
    
    .team-box.clicked {
      background: #535e41;
      color: white;
      border-color: #535e41;
    }
    
    .team-title {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-style: italic;
      color: inherit;
      margin-bottom: 20px;
      font-weight: 400;
      transition: color .3s ease;
    }
    
    .team-box:hover .team-title {
      color: #FBF8F2;
    }
    
    .team-box.clicked .team-title {
      color: #FBF8F2;
    }
    
    .iban-hidden {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      color: inherit;
      transition: all .3s ease;
    }
    
    .lock-icon {
      color: inherit;
      flex-shrink: 0;
    }
    
    .team-box:hover .iban-hidden {
      color: #FBF8F2;
    }
    
    .team-box.clicked .iban-hidden {
      display: none;
    }
    
    .iban-hidden span {
      font-size: .85rem;
      letter-spacing: .06em;
      color: inherit;
    }
    
    .iban-visible {
      transition: all .3s ease;
    }
    
    .iban-visible strong {
      display: block;
      font-family: var(--sans);
      font-size: 1.1rem;
      font-style: normal;
      color: white;
      word-break: break-all;
      font-weight: 400;
      letter-spacing: 0.05em;
    }
    
    .team-box.clicked .iban-visible strong {
      color: #f36683;
    }
    
    .iban-note {
      font-size: .85rem;
      color: var(--text-light);
      margin-top: 16px;
      font-style: italic;
    }

    /* ── COUNTDOWN ── */
    .countdown-wrap {
      background: var(--sea);
      text-align: center;
      padding: 56px 24px 52px;
    }
    .countdown-label {
      font-family: var(--sans);
      font-size: .68rem;
      letter-spacing: .32em;
      text-transform: uppercase;
      color: rgba(251,248,242,.55);
      margin-bottom: 28px;
      font-weight: 400;
    }
    .countdown-grid {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(12px, 3vw, 36px);
    }
    .countdown-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      min-width: 64px;
    }
    .countdown-item span {
      font-family: var(--serif);
      font-size: clamp(3rem, 9vw, 5.5rem);
      font-weight: 300;
      line-height: 1;
      color: #FBF8F2;
      letter-spacing: .02em;
    }
    .countdown-item small {
      font-family: var(--sans);
      font-size: .62rem;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: rgba(251,248,242,.45);
      font-weight: 400;
    }
    .countdown-sep {
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3.5rem);
      color: var(--terra);
      line-height: 1;
      margin-bottom: 20px;
      opacity: .7;
    }
    .countdown-date {
      margin-top: 28px;
      font-family: var(--serif);
      font-style: italic;
      font-size: clamp(1rem, 2.5vw, 1.4rem);
      color: var(--lemon);
      letter-spacing: .14em;
    }

    @keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
    @keyframes bounce { 0%,100% { transform:rotate(45deg) translateY(0); } 50% { transform:rotate(45deg) translateY(5px); } }
    .reveal { opacity:0; transform:translateY(28px); transition:opacity .7s ease,transform .7s ease; position:relative; z-index:1; }
    .reveal.visible { opacity:1; transform:translateY(0); }
