/* ============================================
   ARREDO SHOP — Marsala
   Palette: bianco caldo + rosso + antracite
   ============================================ */

:root{
  --white: #ffffff;
  --off-white: #faf8f6;
  --ink: #201b1a;
  --ink-soft: #55494a;
  --red: #c8102e;
  --red-dark: #9c0c23;
  --line: #ece5e2;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 4px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p{ line-height: 1.65; color: var(--ink-soft); margin: 0 0 1em; }

a{ color: inherit; text-decoration: none; }

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

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.section-inner, .header-inner, .footer-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 88px 0; }

.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.center{ text-align: center; }
.section-lede.center{ max-width: 560px; margin: 0 auto 40px; }

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse{ direction: rtl; }
.two-col.reverse > *{ direction: ltr; }

.mini-list{
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.mini-list li{
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 500;
}
.mini-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 3px;
  background: var(--red);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  margin-right: 12px;
  margin-bottom: 12px;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{ background: var(--red); color: var(--white); }
.btn-primary:hover{ background: var(--red-dark); }

.btn-outline{
  border-color: var(--ink);
  color: var(--ink);
  padding: 10px 22px;
}
.btn-outline:hover{ border-color: var(--red); color: var(--red); }

.btn-ghost{
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--red); color: var(--red); }

.btn-whatsapp{
  background: #25D366;
  color: #ffffff;
  gap: 8px;
}
.btn-whatsapp:hover{ background: #1ebe58; }
.icon-wa{ width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.logo-img{
  height: 64px;
  width: auto;
  display: block;
}

.main-nav{
  display: flex;
  gap: 32px;
}
.main-nav a{
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }

.nav-cta{
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  margin: 0;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  background: var(--off-white);
  padding: 120px 0 80px;
}
.hero-inner{
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--ink);
}
.hero h1 em{ font-style: normal; color: var(--red); }
.hero-lede{
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 32px;
}
.hero-actions{ display: flex; justify-content: center; flex-wrap: wrap; }

/* ---------- Signature divider: nastro da misurazione ---------- */
.tape-divider{
  height: 26px;
  background-color: var(--white);
  background-image:
    repeating-linear-gradient(90deg, var(--red) 0 2px, transparent 2px 100px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 20px);
  background-position: center 0, center 100%;
  background-size: 100% 14px, 100% 8px;
  background-repeat: repeat-x;
  opacity: 0.9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Chi siamo / Contatti / Facebook (2-col sections) ---------- */
.col-text h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }

.media-frame{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
}
.media-frame img{ width: 100%; height: 100%; object-fit: cover; }
.media-fallback{
  display: none;
  position: absolute; inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--ink-soft);
}
.media-fallback span{ font-family: var(--font-display); font-size: 1.2rem; color: var(--red); margin-bottom: 6px; }
.media-fallback small{ font-size: 0.8rem; }
.media-frame.img-missing img{ display: none; }
.media-frame.img-missing .media-fallback{ display: flex; }

/* ---------- Facebook ---------- */
.fb-embed-wrapper{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off-white);
  min-height: 300px;
}

/* ---------- Contatti ---------- */
.contact-block{ margin-bottom: 18px; }
.contact-label{
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.contact-block p{ margin: 0; }
.contact-block a:hover{ color: var(--red); }

.hours-list{
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 320px;
}
.hours-list li{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.hours-list li:last-child{ border-bottom: none; }
.hours-list li span:first-child{ font-weight: 600; }
.hours-list li span:last-child{ color: var(--ink-soft); }

.social-links{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.btn-social{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  padding: 12px 20px;
  margin-right: 0;
}
.icon-social{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-fb{ background: #1877F2; }
.btn-fb:hover{ background: #1461c9; }

.btn-ig{ background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.btn-ig:hover{ filter: brightness(0.92); }

.fb-fallback-note{
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
}
.fb-fallback-note a{ color: var(--red); font-weight: 600; }
.fb-fallback-note a:hover{ text-decoration: underline; }

.map-frame{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 28px 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse{ direction: ltr; }
  .section{ padding: 64px 0; }
}

@media (max-width: 760px){
  .main-nav, .nav-cta.btn-outline{ display: none; }
  .btn-whatsapp.nav-cta span{ display: none; }
  .btn-whatsapp.nav-cta{ padding: 0; width: 40px; justify-content: center; }
  .icon-wa{ width: 20px; height: 20px; }
  .main-nav.open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 18px;
  }
  .nav-toggle{ display: flex; }
  .hero{ padding: 90px 0 56px; }
}

@media (max-width: 520px){
  .logo-img{ height: 48px; }
  .btn{ width: 100%; margin-right: 0; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
}
