/* ============================================
   MINILOFT PLINIO MILANO — style.css
   Palette: olive #7a8f45 · ink #1e2218 · paper #f4f3ee
   ============================================ */

:root {
  --ink:    #1e2218;
  --paper:  #f4f3ee;
  --warm:   #f7f6f1;
  --olive:  #7a8f45;
  --olive2: #afc06a;
  --slate:  #4d5960;
  --muted:  #787c6e;
  --border: #d8d9ce;
  --gap:    4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  background: rgba(244,243,238,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400;
  text-decoration: none; color: var(--ink); letter-spacing: .05em;
}
.nav-logo span { color: var(--olive); }
.nav-cta {
  background: var(--olive); color: white;
  padding: 10px 24px; text-decoration: none;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; transition: background .2s;
}
.nav-cta:hover { background: #6a7d3c; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}
.hero-l {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
}
.hero-tag {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive); font-weight: 500; margin-bottom: 24px;
}
.hero-l h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 32px;
}
.hero-l h1 em { color: var(--olive); font-style: italic; }
.hero-desc {
  font-weight: 300; line-height: 1.9; color: #4a4e40;
  max-width: 480px; margin-bottom: 40px; font-size: 1.05rem;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-bottom: 48px;
  padding: 32px; background: var(--warm); border: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400; color: var(--olive);
}
.stat-label {
  font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.hero-r { position: relative; overflow: hidden; }
.hero-r img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badges {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(30,34,24,.85));
  display: flex; gap: 8px; flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,.15); color: white;
  padding: 6px 14px; font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}
.badge.hi { background: var(--olive); border-color: var(--olive); }

/* ---- SECTION LABEL ---- */
.sl {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--olive); font-weight: 500;
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.sl::after { content: ''; flex: 0 0 40px; height: 1px; background: var(--olive); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block; background: var(--olive); color: white;
  padding: 18px 40px; text-decoration: none;
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 500; transition: background .2s;
}
.btn-primary:hover { background: #6a7d3c; }
.btn-secondary {
  display: inline-block; border: 1px solid var(--ink); color: var(--ink);
  padding: 14px 32px; text-decoration: none;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; transition: all .2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-outline {
  display: inline-block; border: 1px solid rgba(244,243,238,.4); color: var(--paper);
  padding: 14px 32px; text-decoration: none;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; transition: all .2s; margin-top: 16px;
}
.btn-outline:hover { border-color: var(--olive2); color: var(--olive2); }
.btn-white {
  display: inline-block; background: white; color: var(--olive);
  padding: 20px 48px; text-decoration: none;
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 500; transition: all .2s;
}
.btn-white:hover { background: var(--ink); color: white; }

/* ---- STORIA ---- */
.ss {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 120px 80px;
  background: var(--warm); border-bottom: 1px solid var(--border);
}
.ss h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 32px;
}
.ss h2 em { color: var(--olive); font-style: italic; }
.ss p { font-weight: 300; line-height: 1.9; color: #4a4e40; margin-bottom: 20px; }
.host-card {
  background: var(--paper); padding: 48px;
  border: 1px solid var(--border); margin: auto 0 auto 64px;
}
.host-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400; margin-bottom: 16px;
}
.host-bio {
  font-weight: 300; line-height: 1.8; color: #4a4e40;
  margin-bottom: 32px; font-style: italic;
}
.host-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.hg-val { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--olive); }
.hg-key { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---- LOCATION ---- */
.sloc { padding: 120px 80px; border-bottom: 1px solid var(--border); }
.sloc h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 16px;
}
.sloc h2 em { color: var(--olive); font-style: italic; }
.sloc .sub { font-weight: 300; color: var(--muted); line-height: 1.8; margin-top: 16px; }
.loc-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border); margin-top: 64px;
}
.loc-card { background: var(--paper); padding: 40px 36px; }
.loc-dist {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300; color: var(--olive); line-height: 1;
}
.loc-unit { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.loc-name { font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.loc-desc { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* ---- MAPPA + SIDEBAR ---- */
.smap-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: 560px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.smap-sidebar {
  background: var(--warm);
  border-right: 1px solid var(--border);
  padding: 40px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.smap-cat {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 24px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.smap-cat:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}
.smap-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  transition: background .15s;
  cursor: pointer;
  margin: 2px -12px;
}
.smap-place:hover {
  background: var(--border);
}
.smap-place:hover .smap-name {
  color: var(--olive);
}
.smap-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.smap-name {
  font-size: .88rem;
  font-weight: 400;
  transition: color .15s;
  line-height: 1.3;
}
.smap-info {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}
.smap {
  position: relative;
  background: var(--border);
}
.smap iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(15%) contrast(1.05);
}

/* ---- AMENITIES ---- */
.sam {
  padding: 120px 80px;
  background: var(--warm); border-bottom: 1px solid var(--border);
}
.sam h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 64px;
}
.sam h2 em { color: var(--olive); font-style: italic; }
.am-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
}
.am-item { background: var(--warm); padding: 40px 32px; }
.am-icon { font-size: 1.8rem; margin-bottom: 20px; display: block; }
.am-name { font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.am-desc { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* ---- ARTE ---- */
.sart {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); padding: 120px 80px; gap: 80px;
}
.sart .sl { color: var(--olive2); }
.sart .sl::after { background: var(--olive2); }
.sart h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.2; color: var(--paper); margin-bottom: 32px;
}
.sart h2 em { color: var(--olive2); font-style: italic; }
.sart p { color: rgba(244,243,238,.75); font-weight: 300; line-height: 1.9; margin-bottom: 20px; }
.art-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.art-frame {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 24px; position: relative;
}
.art-frame img {
  transition: transform .4s;
}
.art-frame:hover img {
  transform: scale(1.03);
}
.art-frame-wide {
  grid-column: 1 / -1; height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.art-dots { display: flex; gap: 20px; align-items: center; }
.art-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--olive); opacity: .7; }
.art-dot:nth-child(2) { background: var(--slate); width: 32px; height: 32px; }
.art-dot:nth-child(3) { background: var(--olive2); width: 24px; height: 24px; }
.art-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--olive); color: white;
  padding: 4px 10px; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
}
.art-frame-sm { height: 120px; }

/* ---- FAQ ---- */
.sfaq {
  padding: 120px 80px;
  background: var(--warm); border-bottom: 1px solid var(--border);
}
.sfaq h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 16px;
}
.sfaq h2 em { color: var(--olive); font-style: italic; }
.sfaq .intro { font-weight: 300; color: var(--muted); line-height: 1.8; margin-top: 16px; max-width: 560px; margin-bottom: 64px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.faq-cat {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive); font-weight: 500;
  margin: 48px 0 24px; padding-top: 24px; border-top: 1px solid var(--border);
}
.faq-cat:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.fi { border-bottom: 1px solid var(--border); padding: 20px 0; cursor: pointer; }
.fq {
  font-weight: 400; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: start; gap: 16px;
}
.fq::after { content: '+'; color: var(--olive); font-size: 1.2rem; flex-shrink: 0; transition: transform .3s; }
.fi.open .fq::after { transform: rotate(45deg); }
.fa {
  font-weight: 300; color: #4a4e40; line-height: 1.8; font-size: .9rem;
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
}
.fi.open .fa { max-height: 400px; padding-top: 16px; }

/* ---- REVIEWS ---- */
.srev { padding: 120px 80px; border-bottom: 1px solid var(--border); }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; }
.srev h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem); font-weight: 300; line-height: 1.2;
}
.srev h2 em { color: var(--olive); font-style: italic; }
.big-score { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: var(--olive); line-height: 1; }
.score-meta { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.rev-card { background: var(--paper); padding: 40px; }
.rev-stars { color: var(--olive); font-size: 1rem; margin-bottom: 20px; letter-spacing: .15em; }
.rev-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300; line-height: 1.8;
  font-style: italic; margin-bottom: 20px;
}
.rev-author { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rev-cta { text-align: center; margin-top: 48px; }

/* ---- GALLERY ---- */
.sg { padding: 120px 80px; background: var(--ink); }
.sh { margin-bottom: 64px; }
.sh h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.2;
  color: var(--paper);
}
.sh h2 em { color: var(--olive2); font-style: italic; }
.sh .sl { color: var(--olive2); }
.sh .sl::after { background: var(--olive2); }
.gc { overflow: hidden; cursor: pointer; }
.gc img { width: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gc:hover img { transform: scale(1.04); }
.gcm { position: relative; }
.gco {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: white; pointer-events: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 300;
}
.gco small {
  font-family: 'Jost', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; display: block; margin-top: 4px;
}
.gr1  { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.grc2 { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gap); }
.gr3  { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); margin-bottom: var(--gap); }
.gr1r { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); margin-bottom: var(--gap); }
.gr4  { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); margin-bottom: var(--gap); }
.gr5  { display: grid; grid-template-columns: repeat(5,1fr); gap: var(--gap); margin-bottom: var(--gap); }

/* ---- CTA ---- */
.scta { padding: 160px 80px; text-align: center; background: var(--olive); }
.scta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 300; line-height: 1.1;
  color: white; margin-bottom: 24px;
}
.scta h2 em { font-style: italic; opacity: .85; }
.scta p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 48px; font-weight: 300; line-height: 1.9; font-size: 1.05rem; }

/* ---- FOOTER ---- */
footer {
  padding: 64px 80px; background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.1);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: end;
}
.foot-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--paper); font-weight: 400; }
.foot-brand span { color: var(--olive2); }
.foot-sub { font-size: .75rem; color: rgba(244,243,238,.4); margin-top: 8px; font-weight: 300; }
footer a { color: rgba(244,243,238,.6); text-decoration: none; font-size: .8rem; display: block; margin-bottom: 8px; transition: color .2s; }
footer a:hover { color: var(--olive2); }
.foot-copy { text-align: right; font-size: .7rem; color: rgba(244,243,238,.3); letter-spacing: .08em; align-self: end; }

/* ---- LIGHTBOX ---- */
#lb {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.96); z-index: 9999;
  align-items: center; justify-content: center; flex-direction: column;
}
#lb img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
#lb-c { color: rgba(255,255,255,.4); font-size: .72rem; margin-top: 12px; letter-spacing: .1em; font-family: 'Jost',sans-serif; }
.lb-btn {
  position: absolute; background: none;
  border: 1px solid rgba(255,255,255,.2); color: white;
  font-size: 2rem; cursor: pointer; padding: 14px 18px; line-height: 1; transition: border-color .2s;
}
.lb-btn:hover { border-color: var(--olive2); }
#lb-prev { left: 16px; }
#lb-next { right: 16px; }
#lb-close { top: 16px; right: 20px; border: none; font-size: 2.5rem; padding: 8px 16px; }

/* ---- FADE IN ---- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-l { padding: 100px 24px 60px; }
  .hero-r { height: 60vw; }
  .hero-stats { grid-template-columns: repeat(3,1fr); gap: 12px; padding: 20px; }
  .ss, .sloc, .sam, .sfaq, .srev, .sg, .scta { padding: 80px 24px; }
  .sart { padding: 80px 24px; }
  .ss, .sart { grid-template-columns: 1fr; }
  .host-card { margin: 32px 0 0; }
  .loc-grid { grid-template-columns: 1fr; }
  .am-grid { grid-template-columns: 1fr 1fr; }
  .faq-cols { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-head { flex-direction: column; gap: 24px; align-items: flex-start; }
  .gr1  { grid-template-columns: 1fr 1fr; }
  .gr3  { grid-template-columns: 1fr 1fr; }
  .gr1r { grid-template-columns: 1fr 1fr; }
  .gr4  { grid-template-columns: 1fr 1fr; }
  .gr5  { grid-template-columns: 1fr 1fr; }
  .smap-wrap { grid-template-columns: 1fr; height: auto; }
  .smap-sidebar { height: 320px; border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .smap { height: 300px; }
  footer { grid-template-columns: 1fr; padding: 48px 24px; }
  .foot-copy { text-align: left; }
}
