:root {
  --dark:#171715;
  --charcoal:#252420;
  --cream:#f5f1ea;
  --paper:#fffdf9;
  --gold:#c8aa72;
  --ink:#302c26;
  --muted:#6e655c;
  --line:#ded5c9;
  --wrap:1180px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--cream);
  font-size:16px;
  line-height:1.55
}

button,input,textarea {
  font:inherit
}

a {
  color:inherit
}

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

h1,h2,h3 {
  font-family:Georgia,'Times New Roman',serif;
  font-style:normal;
  font-weight:400;
  line-height:1.12;
  margin:0
}

h1 {
  font-size:clamp(2.75rem,5.2vw,5rem)
}

h2 {
  font-size:clamp(2rem,3.3vw,3.35rem)
}

h3 {
  font-size:1.45rem
}

p {
  margin:0 0 1rem
}

.container {
  max-width:var(--wrap);
  padding:0 26px;
  margin:auto
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:.19em;
  font-size:.7rem;
  font-weight:700;
  color:#947443;
  margin-bottom:15px
}

.rule {
  width:48px;
  height:2px;
  background:var(--gold);
  margin:22px 0
}

.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  padding:14px 22px;
  border-radius:3px;
  border:1px solid var(--gold);
  background:var(--gold);
  color:#191714;
  text-decoration:none;
  font-size:.9rem;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s,background .15s
}

.btn:hover {
  transform:translateY(-1px);
  background:#e0c28b
}

.btn-outline {
  background:transparent;
  color:#fff;
  border-color:#eee7df
}

.btn-outline:hover {
  background:#ffffff22
}

.btn-small {
  padding:11px 16px
}

.site-header {
  background:var(--dark);
  color:white;
  position:relative;
  z-index:5
}

.header-inner {
  display:flex;
  align-items:center;
  gap:28px;
  justify-content:space-between;
  min-height:98px
}

.brand img {
  width:195px;
  height:88px;
  object-fit:contain;
  object-position:left center
}

.main-nav {
  display:flex;
  align-items:center;
  gap:25px;
  font-size:.83rem
}

.main-nav a {
  text-decoration:none;
  color:#f4eee6
}

.main-nav a:hover {
  color:var(--gold)
}

.menu-toggle {
  display:none;
  background:none;
  border:1px solid #807364;
  color:white;
  padding:9px 12px
}

.hero {
  min-height:540px;
  display:flex;
  align-items:center;
  color:white;
  background:linear-gradient(90deg,rgba(0,0,0,.84) 0%,rgba(0,0,0,.64) 36%,rgba(0,0,0,.08) 78%),url('../img/festa-full.webp') center 47%/cover no-repeat
}

.hero-content {
  width:100%;
  padding-top:78px;
  padding-bottom:86px
}

.hero-text {
  max-width:620px
}

.hero h1 {
  max-width:630px
}

.hero p {
  font-size:1.15rem;
  max-width:480px;
  color:#f6efea;
  margin:20px 0 28px
}

.hero-actions {
  display:flex;
  gap:14px;
  flex-wrap:wrap
}

.hero .eyebrow {
  color:#e6c78d
}

.features {
  background:#23211e;
  color:#fff
}

.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0
}

.feature {
  display:flex;
  align-items:center;
  gap:15px;
  padding:22px 26px 22px 0;
  font-size:.88rem;
  border-right:1px solid #62594a
}

.feature+ .feature {
  padding-left:26px
}

.feature:last-child {
  border:0
}

.feature-symbol {
  font-family:Georgia,serif;
  font-size:2rem;
  color:var(--gold);
  line-height:1
}

.section {
  padding:82px 0
}

.two-col {
  display:grid;
  grid-template-columns:.91fr 1.09fr;
  gap:65px;
  align-items:center
}

.text-column p {
  color:#514b43
}

.media {
  overflow:hidden;
  border-radius:3px
}

.media img {
  width:100%;
  height:360px;
  object-fit:cover
}

.location-pictures {
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:12px
}

.location-pictures img {
  height:355px;
  width:100%;
  object-fit:cover;
  border-radius:3px
}

.location-pictures img:nth-child(2) {
  object-position:45% center
}

.video-section {
  background:var(--dark);
  color:#fff
}

.video-section .two-col {
  grid-template-columns:1.1fr .9fr
}

.video-frame {
  height:auto;
  aspect-ratio:16/9;
  position:relative;
  background:#222;
  border:1px solid #655f57;
  overflow:hidden;
  border-radius:3px
}

.video-frame img {
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.75)
}

.play {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  width:78px;
  height:78px;
  border-radius:50%;
  border:2px solid white;
  background:#0008;
  color:#fff;
  font-size:2rem;
  cursor:pointer
}

.video-note {
  position:absolute;
  bottom:12px;
  left:15px;
  color:white;
  background:#0009;
  padding:5px 10px;
  font-size:.75rem
}

.video-section p {
  color:#e1dbd2
}

.story {
  background:var(--paper)
}

.story-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px
}

.story-card {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:295px;
  background:#f1ebe2;
  overflow:hidden
}

.story-card img {
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:290px
}

.story-card .story-copy {
  padding:33px 29px;
  align-self:center
}

.story-card .story-copy p {
  font-size:.91rem;
  color:#5a5249
}

.story-card .eyebrow {
  margin-bottom:10px
}

.story-card h3 {
  font-size:1.8rem;
  margin-bottom:14px
}

.gallery-section {
  background:var(--cream)
}

.section-top {
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:end;
  margin-bottom:34px
}

.section-top p {
  max-width:310px;
  color:#70685f;
  margin-bottom:2px
}

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

.gallery-item {
  position:relative;
  border:0;
  padding:0;
  overflow:hidden;
  border-radius:4px;
  background:#e0d8ca;
  aspect-ratio:4/3;
  cursor:pointer;
  text-align:left
}

.gallery-item img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s
}

.gallery-item:hover img {
  transform:scale(1.035)
}

.gallery-item.placeholder {
  border:1px dashed #b3a28f;
  background:linear-gradient(135deg,#e9e0d3,#dbcebd);
  display:grid;
  place-items:center;
  padding:18px;
  cursor:default
}

.placeholder-inner {
  text-align:center;
  color:#75695d;
  font-size:.9rem
}

.placeholder-inner span {
  display:block;
  font-family:Georgia,serif;
  font-size:2rem;
  color:#9f8c77
}

.gallery-caption {
  color:#75695d;
  margin-top:19px;
  font-size:.84rem
}

.reviews {
  background:var(--dark);
  color:#fff
}

.reviews-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px
}

.reviews-head p {
  max-width:500px;
  color:#d9d1c6;
  margin:0
}

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

.review-card {
  background:#272622;
  border:1px solid #4b453b;
  padding:27px;
  min-height:195px
}

.review-card h3 {
  font-size:1.25rem;
  margin-bottom:14px
}

.review-card p {
  font-size:.9rem;
  color:#e2d9cc
}

.review-source {
  margin:24px 0 0;
  text-align:right;
  font-size:.85rem
}

.review-source a {
  color:#dac08c;
  text-underline-offset:3px
}

.review-card .review-note {
  font-size:.77rem;
  color:#c8ab7b;
  margin-top:19px
}

.contact {
  background:linear-gradient(90deg,#26241fe8,#26241fd6),url('../img/sera-full.webp') center/cover;
  color:white
}

.contact-grid {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:60px;
  align-items:center
}

.contact-copy p {
  color:#e9e1d7;
  margin-top:20px
}

.contact-panel {
  background:#f9f6f0;
  color:var(--ink);
  padding:35px;
  border-radius:5px
}

.contact-panel h3 {
  font-size:1.55rem;
  margin-bottom:19px
}

.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px
}

.form-row {
  display:flex;
  flex-direction:column;
  gap:5px
}

.form-row.full {
  grid-column:1/-1
}

.form-row label {
  font-size:.75rem;
  font-weight:700
}

.form-row input,.form-row textarea {
  width:100%;
  min-width:0;
  border:1px solid #cfc5b9;
  border-radius:3px;
  padding:11px;
  background:#fff;
  color:#332f2b
}

.form-row textarea {
  resize:vertical;
  min-height:90px
}

.form-privacy {
  display:flex;
  gap:9px;
  align-items:flex-start;
  margin:14px 0;
  font-size:.79rem;
  color:#4e463d
}

.form-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center
}

.contact-panel .btn {
  border:0
}

.whatsapp-contact {
  color:#3d6044;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:.86rem;
  font-weight:700
}

.form-hint {
  font-size:.74rem;
  margin-top:12px;
  color:#73685b
}

.faq {
  background:#fffdfa
}

.faq h2 {
  margin-bottom:30px
}

.faq-list {
  max-width:930px
}

.faq details {
  border-top:1px solid var(--line);
  padding:18px 4px
}

.faq details:last-child {
  border-bottom:1px solid var(--line)
}

.faq summary {
  cursor:pointer;
  font-weight:700
}

.faq details p {
  color:var(--muted);
  padding-top:14px
}

.site-footer {
  background:#11110f;
  color:#d7d1c7;
  padding:30px 0;
  font-size:.82rem
}

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

.footer-links {
  display:flex;
  gap:20px
}

.footer-links a {
  text-decoration:none
}

.footer-links a:hover {
  text-decoration:underline
}

.sticky-wa {
  display:none
}

.lightbox {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.95);
  z-index:30;
  display:none;
  align-items:center;
  justify-content:center;
  padding:60px 70px
}

.lightbox.open {
  display:flex
}

.lightbox img {
  max-width:100%;
  max-height:82vh;
  width:auto;
  height:auto;
  object-fit:contain
}

.lightbox button {
  position:absolute;
  background:#252525;
  color:#fff;
  border:1px solid #777;
  border-radius:4px;
  padding:9px 14px;
  cursor:pointer
}

.lightbox .close {
  right:20px;
  top:16px
}

.lightbox .prev {
  left:15px;
  top:50%
}

.lightbox .next {
  right:15px;
  top:50%
}

.lightbox .counter {
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  color:#fff;
  font-size:.82rem
}

.back-to-top {
  position:fixed;
  bottom:18px;
  right:18px;
  background:#222;
  color:white;
  text-decoration:none;
  border:1px solid #ac915d;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:3px;
  z-index:4
}

@media(max-width:1050px) {
  .main-nav {
    gap:13px
  }

  .two-col {
    gap:36px
  }

  .story-grid {
    gap:15px
  }

  .story-card {
    grid-template-columns:1fr
  }

  .story-card img {
    height:210px;
    min-height:210px
  }

  .story-card .story-copy {
    padding:24px
  }

  .contact-grid {
    gap:25px
  }

}

@media(max-width:760px) {
  .container {
    padding:0 19px
  }

  .header-inner {
    min-height:79px
  }

  .brand img {
    width:153px;
    height:70px
  }

  .menu-toggle {
    display:block
  }

  .main-nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#171715;
    padding:20px;
    flex-direction:column;
    align-items:start;
    border-top:1px solid #4b443a
  }

  .main-nav.open {
    display:flex
  }

  .header-cta {
    display:none
  }

  .hero {
    min-height:520px;
    background-position:62% center;
    background-image:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.44)),url('../img/festa-full.webp')
  }

  .hero-content {
    padding-top:68px;
    padding-bottom:70px
  }

  .hero h1 {
    font-size:clamp(2.65rem,9vw,4rem)
  }

  .hero p {
    font-size:1rem
  }

  .feature-grid {
    grid-template-columns:1fr 1fr
  }

  .feature {
    padding:15px 10px 15px 0!important;
    border-right:0;
    border-bottom:1px solid #635b4d;
    font-size:.78rem
  }

  .feature:nth-child(odd) {
    border-right:1px solid #635b4d
  }

  .feature:nth-child(even) {
    padding-left:15px!important
  }

  .feature:nth-last-child(-n+1) {
    border-bottom:0
  }

  .section {
    padding:60px 0
  }

  .two-col,.video-section .two-col,.contact-grid {
    grid-template-columns:1fr;
    gap:28px
  }

  .location-pictures img {
    height:250px
  }

  .video-section .video-frame {
    order:2
  }

  .story-grid {
    grid-template-columns:1fr
  }

  .story-card {
    grid-template-columns:1fr 1fr
  }

  .story-card img {
    height:100%;
    min-height:250px
  }

  .section-top,.reviews-head {
    display:block
  }

  .section-top p,.reviews-head p {
    margin-top:14px
  }

  .gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }

  .review-grid {
    grid-template-columns:1fr;
    gap:12px
  }

  .review-card {
    min-height:0
  }

  .contact-panel {
    padding:25px 18px
  }

  .footer-inner {
    flex-direction:column;
    text-align:center
  }

  .sticky-wa {
    display:flex;
    position:fixed;
    bottom:15px;
    left:15px;
    z-index:8;
    gap:7px;
    align-items:center;
    background:#1d7a47;
    color:white;
    text-decoration:none;
    padding:12px 15px;
    font-size:.83rem;
    font-weight:700;
    border-radius:4px;
    box-shadow:0 3px 18px #0004
  }

  .back-to-top {
    bottom:16px
  }

  .lightbox {
    padding:65px 40px
  }

  .lightbox .prev {
    left:4px
  }

  .lightbox .next {
    right:4px
  }

}

@media(max-width:470px) {
  .hero-actions {
    flex-direction:column;
    align-items:stretch
  }

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

  .location-pictures {
    gap:8px
  }

  .location-pictures img {
    height:200px
  }

  .story-card {
    grid-template-columns:1fr
  }

  .story-card img {
    min-height:210px;
    height:210px
  }

  .gallery-grid {
    gap:9px
  }

  .form-grid {
    grid-template-columns:1fr
  }

  .form-row.full {
    grid-column:auto
  }

  .form-actions {
    align-items:stretch;
    flex-direction:column
  }

  .form-actions .btn {
    width:100%
  }

  .contact-grid {
    gap:20px
  }

  .site-footer {
    padding-bottom:85px
  }

  .footer-links {
    flex-wrap:wrap;
    justify-content:center
  }

  .section {
    padding:54px 0
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*:before,*:after {
    transition:none!important
  }

}

/* V3 — revisione MIRATA: hero + barra quattro tab + CTA, resto invariato */
.btn {
  border-radius:5px;
  padding:12px 22px;
  background:linear-gradient(180deg,#ddbb79 0%,#c9a35f 100%);
  border:1px solid #bb9657;
  box-shadow:0 2px 7px rgba(0,0,0,.12);
  color:#191713;
  min-height:44px
}

.btn:hover {
  background:linear-gradient(180deg,#e6c88f,#d4b072)
}

.btn-outline {
  background:rgba(15,14,12,.35);
  border:1px solid rgba(255,255,255,.85);
  color:#fff;
  box-shadow:none
}

.btn-outline:hover {
  background:rgba(255,255,255,.12)
}

.btn-small {
  padding:10px 17px
}

.header-inner {
  min-height:78px
}

.brand img {
  height:72px;
  width:170px
}

.hero {
  min-height:0;
  height:clamp(365px,50vh,475px);
  background-position:center 51%
}

.hero-content {
  padding-top:38px;
  padding-bottom:38px
}

.hero h1 {
  font-size:clamp(2.55rem,4.25vw,4.15rem);
  line-height:1.07
}

.hero p {
  font-size:1.04rem;
  margin:15px 0 21px;
  max-width:465px
}

.hero .eyebrow {
  margin-bottom:11px
}

.hero-actions {
  gap:14px
}

.features {
  background:#201e1b;
  border-top:1px solid #4f4638;
  border-bottom:1px solid #3b342b
}

.feature-grid {
  grid-template-columns:repeat(4,minmax(0,1fr))
}

.feature {
  min-height:87px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:14px 18px!important;
  border-right:1px solid #6e5c43!important;
  font-size:.85rem;
  text-decoration:none;
  color:#f4f0ea;
  line-height:1.35;
  transition:background .2s
}

.feature:first-child {
  justify-content:flex-start
}

.feature:last-child {
  border-right:0!important
}

.feature:hover,.feature:focus-visible {
  background:#343029
}

.feature-icon {
  color:#c8aa72;
  flex:0 0 35px;
  width:35px;
  height:35px
}

@media (min-width:761px) and (max-height:730px) {
  .hero {
    height:360px
  }

  .hero-content {
    padding-top:22px;
    padding-bottom:22px
  }

  .hero h1 {
    font-size:clamp(2.4rem,3.6vw,3.4rem)
  }

  .feature {
    min-height:76px
  }

}

@media (max-width:900px) and (min-width:761px) {
  .feature {
    padding:12px 10px!important;
    gap:8px;
    font-size:.76rem
  }

  .feature-icon {
    flex-basis:28px;
    width:28px;
    height:28px
  }

  .header-inner {
    gap:12px
  }

  .main-nav {
    gap:10px;
    font-size:.75rem
  }

}

@media (max-width:760px) {
  .header-inner {
    min-height:75px
  }

  .brand img {
    width:151px;
    height:66px
  }

  .hero {
    height:auto;
    min-height:410px;
    background-position:60% center
  }

  .hero-content {
    padding-top:49px;
    padding-bottom:49px
  }

  .hero h1 {
    font-size:clamp(2.45rem,8vw,3.55rem)
  }

  .hero p {
    font-size:.98rem
  }

  .feature-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .feature {
    min-height:83px;
    padding:12px!important;
    font-size:.79rem;
    justify-content:flex-start!important;
    border-bottom:1px solid #605442!important
  }

  .feature:nth-child(odd) {
    border-right:1px solid #605442!important
  }

  .feature:nth-child(even) {
    border-right:0!important;
    padding-left:15px!important
  }

  .feature:nth-last-child(-n+2) {
    border-bottom:0!important
  }

  .feature-icon {
    width:31px;
    height:31px;
    flex-basis:31px
  }

}

@media (max-width:470px) {
  .hero {
    min-height:0
  }

  .hero-content {
    padding-top:43px;
    padding-bottom:43px
  }

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

  .feature {
    gap:9px;
    font-size:.72rem;
    padding:11px 7px!important
  }

  .feature-icon {
    width:27px;
    height:27px;
    flex-basis:27px
  }

}

/* V4 — solo correzione altezza hero e margini verticali del logo.
   Gallery, form, tab, sezioni e CTA rimangono invariati. */
@media (min-width:761px) {
  .header-inner {
    min-height:98px;
    padding-top:12px;
    padding-bottom:12px
  }

  .brand img {
    width:180px;
    height:74px
  }

  .hero {
    height:clamp(485px,57vh,545px)
  }

  .hero-content {
    padding-top:54px;
    padding-bottom:58px
  }

}

@media (min-width:761px) and (max-height:730px) {
  .hero {
    height:435px
  }

  .hero-content {
    padding-top:35px;
    padding-bottom:35px
  }

}

@media (max-width:760px) {
  .header-inner {
    min-height:83px;
    padding-top:8px;
    padding-bottom:8px
  }

  .brand img {
    width:151px;
    height:64px
  }

}

/* V5 — interventi limitati a fascia tab allineata al fondo della prima schermata e footer */
@media (min-width:761px) {
  /* Header + hero + tab occupano esattamente la prima schermata sui desktop comuni. */
  .hero {
    height:clamp(470px, calc(100svh - 110px - 88px), 790px)
  }

  .features .feature {
    min-height:87px
  }

}

.site-footer {
  padding:39px 0 34px
}

.footer-inner {
  align-items:flex-start;
  gap:38px
}

.footer-contacts {
  display:flex;
  flex-direction:column;
  gap:5px;
  font-style:normal;
  line-height:1.65
}

.footer-contacts strong {
  color:#e0c28b;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:6px
}

.footer-contacts a {
  text-decoration:none
}

.footer-contacts a:hover {
  text-decoration:underline
}

.footer-meta {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:16px;
  text-align:right
}

.footer-meta .footer-links {
  flex-wrap:wrap;
  justify-content:flex-end
}

@media(max-width:760px) {
  .footer-inner {
    align-items:center;
    gap:23px
  }

  .footer-contacts {
    align-items:center;
    text-align:center
  }

  .footer-meta {
    align-items:center;
    text-align:center
  }

  .footer-meta .footer-links {
    justify-content:center
  }

}

/* Barra contatti mobile */
.mobile-contact-bar {
  display:none
}

@media(max-width:760px) {
  body {
    padding-bottom:60px
  }

  .mobile-contact-bar {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:20;
    display:grid;
    grid-template-columns:1fr 1fr;
    height:60px;
    background:#10100f;
    box-shadow:0 -2px 14px #0002
  }

  .mobile-bar-left {
    position:relative;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#10100f
  }

  .mobile-bar-book {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    text-align:center;
    font-size:clamp(.78rem,3.65vw,1rem);
    font-weight:700;
    text-decoration:none;
    color:#fff;
    padding:0 2px
  }

  .mobile-bar-whatsapp {
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    color:#151411;
    background:#d6b476;
    font-weight:700;
    font-size:clamp(.85rem,3.8vw,1rem);
    padding:0 8px
  }

  .back-to-top {
    bottom:75px;
    right:12px
  }

  .site-footer {
    padding-bottom:34px
  }

  .mobile-contact-bar.is-hidden {
    display:none
  }

  body:has(.mobile-contact-bar.is-hidden) {
    padding-bottom:0
  }

}

/* V8 — layout testimonianze ripristinato: riepilogo + tre citazioni testuali */
.review-grid-featured {
  grid-template-columns:1.05fr repeat(3,1fr);
  align-items:stretch;
  gap:16px
}

.review-summary {
  padding:7px 18px 7px 0;
  border-right:1px solid #806a47;
  display:flex;
  flex-direction:column;
  justify-content:center
}

.review-summary .eyebrow {
  color:#d5b77b;
  margin-bottom:12px
}

.review-summary h2 {
  font-size:clamp(1.65rem,2vw,2.2rem);
  margin-bottom:20px
}

.review-rating {
  font-family:Georgia,serif;
  font-size:2.8rem;
  line-height:1;
  color:#f6f0e5
}

.review-rating span {
  font-size:1.3rem;
  color:#cbbda8
}

.review-stars {
  font-size:1.15rem;
  letter-spacing:.08em;
  color:#e6b94f;
  white-space:nowrap
}

.review-count {
  font-size:.84rem;
  color:#e6dfd4;
  margin:6px 0 16px
}

.review-recommend {
  font-size:.83rem;
  color:#e8dfce;
  max-width:175px;
  line-height:1.5;
  border-top:1px solid #6e5d44;
  padding-top:12px
}

.review-grid-featured .review-card {
  padding:23px 19px;
  min-height:215px;
  display:flex;
  flex-direction:column
}

.review-grid-featured .review-card blockquote {
  font-size:.96rem;
  line-height:1.55;
  color:#f4eee6;
  margin:15px 0 20px;
  flex:1;
  font-family:Georgia,serif
}

.review-grid-featured .review-card .review-note {
  margin:0;
  font-size:.8rem;
  color:#dfc9a6
}

@media(max-width:1050px) {
  .review-grid-featured {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }

  .review-summary {
    grid-column:1/-1;
    border-right:0;
    border-bottom:1px solid #806a47;
    padding:0 0 22px;
    align-items:flex-start
  }

  .review-summary h2 {
    margin-bottom:10px
  }

  .review-recommend {
    max-width:none
  }

}

@media(max-width:760px) {
  .review-grid-featured {
    grid-template-columns:1fr
  }

  .review-summary {
    grid-column:auto
  }

  .review-grid-featured .review-card {
    min-height:0
  }

}

/* V9: sintesi delle recensioni distinte dagli estratti letterali */
.review-grid-featured .review-card .review-context {
  font-family:Arial,Helvetica,sans-serif;
  font-size:.85rem;
  line-height:1.52;
  color:#d7cec2;
  margin:0 0 19px;
  flex:1
}

.review-grid-featured .review-card blockquote {
  flex:none;
  margin-bottom:12px
}

.review-grid-featured .review-card {
  min-height:0
}

/* V12 — micro-correzione: fascia tab senza bordo inferiore e aderenza al fondo viewport desktop. */
@media (min-width:761px) {
  .features {
    border-bottom:0
  }

  .hero {
    height:clamp(470px, calc(100svh - 110px - 88px + 7px), 790px)
  }

}

/* Hero: fotografia originale e velo laterale per migliorare la leggibilità. */
.hero  {
  position: relative;
  isolation: isolate;
  background-image: url('../img/festa-full.webp') !important;
}

.hero::before  {
  content: '' !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient( 90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.44) 32%, rgba(0, 0, 0, 0.10) 61%, rgba(0, 0, 0, 0) 78% );
  pointer-events: none;
}

.hero::after  {
  content: none !important;
}

.hero-content  {
  position: relative;
  z-index: 1;
}

.hero h1, .hero p, .hero .eyebrow  {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.58);
}

/* CTA WhatsApp nella hero: fondo scuro opaco, senza trasparenze. */
.hero .hero-actions .btn-outline  {
  background: #171715;
  border: 1px solid #d5ba84;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.hero .hero-actions .btn-outline:hover, .hero .hero-actions .btn-outline:focus-visible  {
  background: #2b2924;
  border-color: #e6cd9b;
  color: #ffffff;
}

.form-error  {
  color: #9c322b;
  background:#fff4f1;
  border:1px solid #ecc3bb;
  padding:12px 14px;
  margin-bottom:14px;
}

.hp-field  {
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.thank-you-wrap  {
  min-height:65vh;
  display:flex;
  align-items:center;
  padding:70px 0 90px;
}

.thank-you-panel  {
  max-width:760px;
}

.thank-you-panel h1  {
  color:#171715;
  font-size:clamp(2.6rem,5vw,4.4rem);
  margin-bottom:24px;
}

.thank-you-panel p  {
  font-size:1.1rem;
  margin-bottom:28px;
}

/* Mobile: le CTA della hero sono sostituite dalla barra contatti fissa. */
@media (max-width: 760px) {
  .hero .hero-actions {
    display: none;
  }
}


/* Mobile: manteniamo l'altezza fotografica ma portiamo i testi in alto.
   Il pulsante Torna su resta visibile e non viene modificato. */
@media (max-width: 760px) {
  .hero {
    height: clamp(620px, 78svh, 780px);
    min-height: 620px;
    display: flex;
    align-items: flex-start;
    background-position: 52% center;
  }

  .hero-content {
    align-self: flex-start;
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .hero-text {
    margin-top: 0;
  }
}

/* Torna su: nascosto all'apertura, visibile dopo lo scorrimento */
.back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
