/* ===========================================================
   DOVE DORMIRE — La Fisarmonica del Conero
   Stile pagina: intro, servizi, appartamenti, posizione,
   recensioni, contatti, lightbox.
   Riusa i token globali (style.css).
   =========================================================== */

.stay-p {
  color: var(--txt-body);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

/* ── INTRO ───────────────────────────────────────────────── */
.stay-intro { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.stay-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.stay-tagline {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--txt-h);
  line-height: 1.5;
}

.stay-intro-media { position: relative; }

.stay-intro-media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--gbr);
}

.stay-intro-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .45rem .9rem;
  background: rgba(5, 5, 31, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--txt-h);
}

/* ── SERVIZI ─────────────────────────────────────────────── */
.stay-amen { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.amen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.amen-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-align: left;
  padding: 1.05rem 1.2rem;
  background: var(--gb);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  transition: border-color .3s, background .3s;
}

.amen-card:hover {
  border-color: rgba(235, 190, 66, .35);
  background: rgba(255, 255, 255, .06);
}

.amen-ico {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--gold2);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amen-lbl {
  font-size: .86rem;
  color: var(--txt-body);
  letter-spacing: .01em;
  line-height: 1.35;
}

.amen-note {
  text-align: center;
  margin-top: 1.6rem;
  font-size: .8rem;
  color: var(--txt-muted);
  letter-spacing: .04em;
}

/* ── APPARTAMENTI ────────────────────────────────────────── */
.apt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.apt-alt { background: rgba(255, 255, 255, .02); }

.apt-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.apt-alt .apt-grid { grid-template-columns: 1.15fr .85fr; }
.apt-alt .apt-txt { order: 2; }
.apt-alt .apt-gallery { order: 1; }

.apt-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(235, 190, 66, .35);
  margin-bottom: .4rem;
}

.apt-feats {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.apt-feats li {
  font-size: .8rem;
  padding: .5rem .9rem;
  background: var(--gb);
  border: 1px solid var(--gbr);
  border-radius: 100px;
  color: var(--txt-body);
}

.apt-feats li::before {
  content: '\2713';
  color: var(--gold2);
  margin-right: .4rem;
  font-weight: 600;
}

/* Galleria appartamento */
.apt-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
}

.apt-photo {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  background: var(--gb);
  aspect-ratio: 4 / 3;
}

.apt-photo-feat { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.apt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.apt-photo::after {
  content: '\002B'; /* + */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(5, 5, 31, .55);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s, transform .3s;
}

.apt-photo:hover img { transform: scale(1.06); }
.apt-photo:hover::after,
.apt-photo:focus-visible::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.apt-photo:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

/* ── POSIZIONE ───────────────────────────────────────────── */
.stay-pos { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.stay-pos-sub {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--txt-body);
  line-height: 1.8;
}

.dist-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.8rem;
}

.dist-item {
  text-align: center;
  padding: 1.4rem .6rem;
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  background: var(--gb);
}

.dist-km {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--gold3);
  line-height: 1;
}

.dist-km sup { font-size: .8rem; margin-left: 1px; }

.dist-p {
  display: block;
  margin-top: .5rem;
  font-size: .74rem;
  color: var(--txt-muted);
  letter-spacing: .03em;
}

.stay-map-wrap { text-align: center; margin-top: 2.4rem; }

/* ── RECENSIONI ──────────────────────────────────────────── */
.stay-rev { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.rev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.rev-card {
  padding: 2rem;
  background: var(--gb);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
}

.rev-stars { color: var(--gold2); letter-spacing: 2px; margin-bottom: 1rem; }

.rev-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--txt-h);
  margin-bottom: 1rem;
}

.rev-card figcaption {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-muted);
}

/* ── CONTATTI ────────────────────────────────────────────── */
.stay-contact { padding: clamp(3rem, 7vw, 6rem) 0; }

.stay-contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(26, 26, 114, .35), rgba(5, 5, 31, .5));
  border: 1px solid var(--gbr);
  border-radius: var(--r);
}

.stay-contact-list {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.stay-contact-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: var(--txt-body);
}

.stay-contact-list li span { color: var(--gold2); font-size: 1.1rem; width: 1.4rem; text-align: center; }
.stay-contact-list a { color: var(--txt-body); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.stay-contact-list a:hover { color: var(--gold3); border-bottom-color: rgba(235, 190, 66, .5); }
.stay-cin { font-size: .8rem !important; color: var(--txt-muted) !important; letter-spacing: .04em; }

.stay-contact-cta {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.stay-contact-cta .btn-g,
.stay-contact-cta .btn-p { text-align: center; }

/* ── LIGHTBOX ────────────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 15, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  padding: 4vw;
}

.lb.open { opacity: 1; visibility: visible; }

.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--r);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  transition: opacity .25s;
}

.lb-close,
.lb-nav {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .25s;
}

.lb-close {
  top: 1.4rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
}

.lb-prev { left: 1.6rem; }
.lb-next { right: 1.6rem; }

.lb-close:hover,
.lb-nav:hover { background: rgba(235, 190, 66, .3); }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-close:focus-visible,
.lb-nav:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

/* ── BOTTONE BOOKING (per appartamento) ──────────────────── */
.bk-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.6rem;
  padding: .5rem 1.3rem .5rem .5rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--gbr);
  border-radius: var(--r);
  color: var(--txt-h);
  transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
}
.bk-btn:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(235, 190, 66, .5);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.bk-btn-score {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: .5rem .55rem;
  border-radius: 6px;
}
.bk-btn-score small { font-size: .66rem; font-weight: 600; opacity: .78; }
.bk-btn-txt { font-size: .9rem; color: var(--txt-body); }
.bk-btn-txt strong { color: var(--txt-h); font-weight: 600; }
.bk-btn-arr { font-size: 1.1rem; color: var(--gold2); transition: transform .25s; }
.bk-btn:hover .bk-btn-arr { transform: translateX(3px); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 920px) {
  .stay-intro-grid,
  .apt-grid,
  .apt-alt .apt-grid { grid-template-columns: 1fr; }
  .apt-alt .apt-txt,
  .apt-alt .apt-gallery { order: initial; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-grid { grid-template-columns: repeat(3, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .stay-contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .dist-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-prev { left: .6rem; }
  .lb-next { right: .6rem; }
  .lb-close { top: .8rem; right: .8rem; }
}
