/* ═══════════════════════════════════════════════════════════════
   BEB Case — template-chi-siamo.css
   Caricato solo su questo template
═══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO ───────────────────────────────────────────────── */
.page-hero {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:80vh;
  overflow:hidden;
}
.page-hero-copy {
  background:var(--k);
  padding:8rem 5vw 6rem;
  display:flex; flex-direction:column; justify-content:center;
  position:relative; z-index:1;
}
.page-hero-copy .page-house-deco {
  position:absolute; right:-3vw; bottom:-4%;
  width:clamp(200px,28vw,380px);
  opacity:.07; pointer-events:none;
}
.page-hero-copy .page-house-deco svg { width:100%; height:auto; display:block; }
.page-hero-copy .page-house-deco path { fill:#F7AE4E; }

.page-eyebrow {
  display:inline-flex; align-items:center; gap:.7rem;
  font-size:.65rem; font-weight:600; letter-spacing:.25em;
  text-transform:uppercase; color:var(--y);
  margin-bottom:1.8rem;
}
.page-eyebrow::before {
  content:''; display:block;
  width:24px; height:1.5px; background:var(--y); flex-shrink:0;
}
.page-h1 {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.8rem,4.5vw,4.2rem);
  font-weight:300; line-height:1.1; color:var(--w);
  margin-bottom:1.5rem;
}
.page-h1 strong { font-weight:700; display:block; }
.page-h1 em { font-style:italic; color:var(--y); font-weight:300; }

.page-hero-lead {
  font-size:.98rem; font-weight:300; line-height:1.9;
  color:rgba(255,255,255,.58); max-width:500px;
  margin-bottom:2.5rem;
}
.page-hero-foto {
  position:relative; overflow:hidden;
}
.page-hero-foto img {
  width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  display:block;
  filter:brightness(.7) saturate(.8);
  transition:transform .7s ease;
}
.page-hero:hover .page-hero-foto img { transform:scale(1.03); }
.page-hero-foto::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to right, var(--k) 0%, transparent 30%);
}
.page-hero-quote {
  position:absolute; bottom:3rem; right:0; left:0;
  padding:0 3vw; z-index:2;
}
.page-hero-quote blockquote {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.1rem,2vw,1.6rem);
  font-style:italic; font-weight:300;
  color:rgba(255,255,255,.75);
  border-left:2px solid var(--y);
  padding-left:1.2rem; line-height:1.5;
}

/* ── INTRO STRIP ─────────────────────────────────────────────── */
.intro-strip {
  background:var(--y);
  padding:2.5rem 5vw;
  display:grid;
  grid-template-columns:1fr 2px 1fr 2px 1fr;
  gap:0; align-items:center;
}
.intro-divider { background:rgba(35,31,32,.2); height:3rem; width:2px; }
.intro-item { padding:0 3vw; text-align:center; }
.intro-item-num {
  font-family:'Cormorant Garamond',serif;
  font-size:2.8rem; font-weight:700; color:var(--k);
  line-height:1; display:block;
}
.intro-item-lab {
  font-size:.64rem; font-weight:600; letter-spacing:.16em;
  text-transform:uppercase; color:rgba(35,31,32,.6);
  margin-top:.25rem; display:block;
}

/* ── STORIA ──────────────────────────────────────────────────── */
.storia {
  background:var(--w);
  padding:8rem 5vw;
}
.storia-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6rem; align-items:center;
}
.storia-copy .s-label { color:var(--yd); }
.storia-body {
  font-size:.96rem; font-weight:300; line-height:1.95;
  color:var(--mu); margin-top:1.5rem;
}
.storia-body p + p { margin-top:1.2rem; }
.storia-visuals {
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:3px; height:540px;
}
.storia-foto { overflow:hidden; position:relative; }
.storia-foto img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.82) brightness(.92);
  transition:transform .6s ease;
}
.storia-foto:hover img { transform:scale(1.04); }
.storia-foto-label {
  position:absolute; bottom:.8rem; left:1rem;
  font-size:.58rem; font-weight:600; letter-spacing:.15em;
  text-transform:uppercase; color:rgba(255,255,255,.55);
}

/* ── VALORI ──────────────────────────────────────────────────── */
.valori {
  background:var(--k);
  padding:8rem 5vw;
  position:relative; overflow:hidden;
}
.valori-house {
  position:absolute; right:-3%; top:50%;
  transform:translateY(-50%);
  width:clamp(280px,36vw,500px);
  opacity:.06; pointer-events:none;
}
.valori-house svg { width:100%; height:auto; display:block; }
.valori-house path { fill:#F7AE4E; }
.valori-top {
  display:grid; grid-template-columns:1fr 1fr;
  gap:4rem; align-items:end; margin-bottom:5rem;
}
.valori-top .s-label { color:var(--y); }
.valori-top .s-label::before { background:var(--y); }
.valori-top h2 { color:var(--w); }
.valori-top h2 em { color:var(--y); }
.valori-top .s-body { color:rgba(255,255,255,.5); }
.valori-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:rgba(247,174,78,.1);
  position:relative; z-index:1;
}
.valore-card {
  background:var(--kl);
  padding:3rem 2.8rem;
  position:relative; overflow:hidden;
  transition:background .25s;
}
.valore-card:hover { background:rgba(58,53,54,.9); }
.valore-card::before {
  content:''; position:absolute;
  top:0; left:0; right:0; height:2.5px;
  background:var(--y);
  transform:scaleX(0); transform-origin:left;
  transition:transform .35s ease;
}
.valore-card:hover::before { transform:scaleX(1); }
.valore-num {
  font-family:'Cormorant Garamond',serif;
  font-size:3rem; font-weight:700;
  color:rgba(247,174,78,.18);
  line-height:1; display:block; margin-bottom:1rem;
}
.valore-card h3 {
  font-family:'Cormorant Garamond',serif;
  font-size:1.6rem; font-weight:600; color:var(--w);
  margin-bottom:.8rem; line-height:1.15;
}
.valore-card p {
  font-size:.88rem; font-weight:300; line-height:1.85;
  color:rgba(255,255,255,.45);
}
.valore-accent { display:flex; align-items:center; gap:.8rem; margin-top:2rem; }
.valore-accent-line { width:30px; height:1.5px; background:var(--y); flex-shrink:0; }
.valore-accent-text {
  font-size:.68rem; font-weight:600; letter-spacing:.15em;
  text-transform:uppercase; color:var(--y);
}

/* ── PANORAMA ────────────────────────────────────────────────── */
.panorama { height:440px; position:relative; overflow:hidden; }
.panorama img {
  width:100%; height:100%; object-fit:cover;
  object-position:center 60%;
  filter:brightness(.42) saturate(.72); display:block;
}
.panorama-overlay {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:1.2rem; text-align:center;
  padding:0 5vw;
}
.panorama-quote {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.6rem,3vw,2.6rem);
  font-style:italic; font-weight:300;
  color:var(--w); line-height:1.35; max-width:680px;
}
.panorama-quote em { color:var(--y); font-style:normal; font-weight:600; }
.panorama-attr {
  font-size:.65rem; font-weight:500; letter-spacing:.22em;
  text-transform:uppercase; color:rgba(255,255,255,.38);
}

/* ── TERRITORIO ──────────────────────────────────────────────── */
.territorio-cs { background:var(--g0); padding:8rem 5vw; }
.territorio-cs-layout {
  display:grid; grid-template-columns:1fr 1fr;
  gap:5rem; align-items:start; margin-top:3rem;
}
.territorio-cs-foto {
  position:relative; overflow:hidden;
  aspect-ratio:4/3;
}
.territorio-cs-foto img {
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(.85) brightness(.92);
  transition:transform .6s;
}
.territorio-cs-foto:hover img { transform:scale(1.03); }

/* ── CTA STIMA ───────────────────────────────────────────────── */
.cta-stima {
  background:var(--y);
  padding:7rem 5vw;
  position:relative; overflow:hidden;
}
.cta-stima-inner {
  display:grid; grid-template-columns:1fr auto;
  gap:5rem; align-items:center;
  position:relative; z-index:1;
}
.cta-stima .s-label { color:var(--k); opacity:.6; }
.cta-stima .s-label::before { background:rgba(35,31,32,.35); }
.cta-stima h2 { color:var(--k); }
.cta-stima h2 em { color:var(--w); }
.cta-stima .s-body { color:rgba(35,31,32,.65); max-width:480px; }
.cta-stima-box {
  background:var(--k);
  padding:2.8rem; min-width:300px; flex-shrink:0;
}
.cta-stima-box-ey {
  font-size:.62rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--y); margin-bottom:1.4rem;
  display:block;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width:960px) {
  .page-hero { grid-template-columns:1fr; min-height:auto; }
  .page-hero-foto { height:360px; }
  .page-hero-foto::after { background:linear-gradient(to top, var(--k) 0%, transparent 50%); }
  .intro-strip { grid-template-columns:1fr; gap:1.5rem; }
  .intro-divider { display:none; }
  .storia-layout { grid-template-columns:1fr; gap:3rem; }
  .storia-visuals { height:300px; grid-template-rows:1fr; grid-template-columns:1fr 1fr; }
  .valori-top { grid-template-columns:1fr; gap:2rem; }
  .valori-grid { grid-template-columns:1fr; }
  .territorio-cs-layout { grid-template-columns:1fr; gap:3rem; }
  .cta-stima-inner { grid-template-columns:1fr; gap:3rem; }
  .cta-stima-box { min-width:auto; width:100%; max-width:480px; }
}
@media (max-width:640px) {
  .page-hero-copy { padding:5rem 4vw 4rem; }
  .storia { padding:5rem 4vw; }
  .valori { padding:5rem 4vw; }
  .territorio-cs { padding:5rem 4vw; }
  .cta-stima { padding:5rem 4vw; }
  .cta-stima-box { padding:2rem 1.5rem; }
  .panorama { height:300px; }
}
