/* ============================================================
   Villa Serena — foglio di stile originale
   Palette: avorio / antracite / oro tenue
   Font: Cormorant Garamond (titoli) + Jost (testo)
   ============================================================ */

:root {
  --ivory: #f7f4ee;
  --ivory-dark: #efe9df;
  --ink: #22252a;
  --ink-soft: #5a5f66;
  --gold: #b08d57;
  --gold-light: #cfb489;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 175px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; margin-bottom: .4rem; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.center { text-align: center; }
.lead { max-width: 46rem; margin: 0 auto 2.5rem; color: var(--ink-soft); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.eyebrow.center { text-align: center; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block;
  padding: .9rem 2.4rem;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background .3s, color .3s;
}
.btn-light { color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-dark { color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--white); }
.btn-full { width: 100%; background: var(--ink); color: var(--white); border: none; cursor: pointer; }
.btn-full:hover { background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 37, 42, .08);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.3rem 1.5rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
}
/* filetto dorato sotto il nome, solo nell'header a due livelli */
.header-inner > .logo::after {
  content: '';
  display: block;
  width: 68px;
  height: 1px;
  margin: .7rem auto 0;
  background: var(--gold);
  opacity: .65;
}
.logo span { color: var(--gold); font-style: italic; }

.header-right { display: flex; align-items: center; gap: 1.2rem; }

.main-nav { display: flex; gap: 1.2rem; align-items: center; }
.main-nav a {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .3s;
}
.main-nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .5rem 1.2rem;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.lang-switch { display: flex; gap: .15rem; }
.lang-switch button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--ink-soft);
  padding: .25rem .3rem;
  transition: color .3s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 92vh; min-height: 560px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media .placeholder { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(rgba(20, 22, 26, .25), rgba(20, 22, 26, .45));
  padding: 0 1.5rem;
}
.hero-eyebrow {
  font-size: .85rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.hero-sub {
  font-size: 1.05rem;
  letter-spacing: .08em;
  margin: 1.2rem 0 2.4rem;
}

/* ---------- Quick facts ---------- */
.quickfacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--ink);
  color: var(--white);
}
.fact {
  flex: 1 1 120px;
  text-align: center;
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.fact:last-child { border-right: none; }
.fact strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold-light);
}
.fact span {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .75;
}

/* ---------- Sezioni ---------- */
.section { padding: 6rem 1.5rem; }
.section-alt { background: var(--ivory-dark); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.col-text p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.col-text .btn { margin-top: 1rem; }

/* ---------- Placeholder immagini ---------- */
.placeholder {
  background:
    linear-gradient(135deg, #d8cfc0 0%, #c9bda9 50%, #b8ab94 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(34,37,42,.55);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}
.ph-hero { height: 100%; }
.ph-tall { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.ph-map { aspect-ratio: 4 / 3; }

/* ---------- Le camere ---------- */
.rooms-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.room-card {
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, .25);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 37, 42, .08);
}
.room-note {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: .6rem;
}
.room-card h3 {
  font-size: 1.7rem;
  font-style: italic;
  margin-bottom: .3rem;
}
.room-tag {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.room-card p:last-child {
  font-size: .92rem;
  color: var(--ink-soft);
}

/* ---------- Galleria ---------- */
.gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.g-item { aspect-ratio: 1 / 1; transition: opacity .3s; cursor: pointer; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover { opacity: .92; }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ---------- Servizi ---------- */
.amenities {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
}
.amenity { text-align: center; }
.a-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: .8rem; }
.amenity p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Distanze ---------- */
.distances { list-style: none; margin-top: 1.5rem; }
.distances li {
  display: flex;
  justify-content: space-between;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(34,37,42,.12);
  font-size: .95rem;
}
.distances span { color: var(--ink-soft); letter-spacing: .05em; }
.distances strong { font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(34, 37, 42, .1);
  margin-bottom: .8rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.4rem;
  font-family: var(--font-sans);
  transition: transform .3s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p {
  padding: 0 1.4rem 1.2rem;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ---------- Form contatti ---------- */
.contact-form { margin-top: 1rem; }
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}
.contact-form label {
  display: block;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: .4rem;
  padding: .8rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid rgba(34,37,42,.2);
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---------- Guida Insider ---------- */
.guide {
  background: var(--ink);
  color: rgba(255, 255, 255, .88);
}
.guide h2 { color: var(--white); }
.eyebrow.gold { color: var(--gold-light); }
.guide-lead {
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  color: rgba(255, 255, 255, .65);
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.guide-card {
  border: 1px solid rgba(207, 180, 137, .28);
  padding: 2rem 2.2rem;
  background: rgba(255, 255, 255, .03);
}
.guide-card h3 {
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.guide-card ul { list-style: none; }
.guide-card li {
  padding: .9rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
}
.guide-card li:first-child { border-top: none; padding-top: 0; }
.guide-card li strong {
  display: block;
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .92);
  margin-bottom: .15rem;
}
.guide-card li em { color: var(--gold-light); font-style: normal; }
.guide-note {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
}

/* ---------- Calendario ---------- */
.calendar {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.cal-loading { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); }
.cal-month h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: capitalize;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow {
  text-align: center;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: .4rem;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  background: var(--white);
  border: 1px solid rgba(34, 37, 42, .08);
}
.cal-day.empty { background: transparent; border: none; }
.cal-day.busy {
  background: var(--ink);
  color: rgba(255, 255, 255, .45);
  text-decoration: line-through;
}
.cal-day.past { opacity: .35; }
.cal-legend {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--ink-soft);
}
.dot {
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: .4rem;
  vertical-align: -1px;
}
.dot-free { background: var(--white); border: 1px solid rgba(34,37,42,.2); }
.dot-busy { background: var(--ink); }

/* ---------- Pagina Chi siamo ---------- */
.page-head {
  padding: 10rem 1.5rem 4rem;
  text-align: center;
  background: var(--ivory-dark);
}
.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.main-nav .nav-active { color: var(--gold); }
.bio-caption {
  margin-top: .8rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.text-link {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-light);
}
.text-link:hover { color: var(--ink); }
.quote-band {
  background: var(--ink);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}
.quote-band blockquote { max-width: 46rem; margin: 0 auto; }
.quote-band p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.quote-band cite {
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 1.5rem 1.5rem;
  font-size: .9rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.site-footer .logo { color: var(--white); margin-bottom: .5rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-copy {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .15em;
  opacity: .5;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .calendar { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 1200px) {
  html { scroll-padding-top: 85px; }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
  .logo { font-size: 1.6rem; }
  .header-inner > .logo::after { display: none; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid rgba(34,37,42,.1);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 1rem; width: 100%; text-align: center; font-size: .8rem; }
  .nav-cta { border: none; color: var(--gold); }
  .nav-toggle { display: block; }
}

@media (max-width: 680px) {
  .section { padding: 4rem 1.2rem; }
}
