/* ============================================
   STITCH HOME — Stili sezioni one-page S.P.I.
   ============================================ */

/* ─── HEADER / NAVBAR ─────────────────────────── */
.stitch-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--stitch-bg-white);
  border-bottom: 1px solid rgba(200,39,42,0.15);
}
.stitch-header__inner {
  max-width: var(--stitch-maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .stitch-header__inner { padding: 16px 48px; } }
.stitch-header__logo img { height: 80px; width: auto; object-fit: contain; display: block; }
.stitch-nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 1024px) { .stitch-nav { display: flex; } }
.stitch-nav a {
  font-family: var(--stitch-font-mono);
  color: #3E1215;
  letter-spacing: -0.05em;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.stitch-nav a:hover { color: var(--stitch-primary); }

.stitch-burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .stitch-burger { display: none; } }
.stitch-burger span { display: block; width: 24px; height: 1px; background: var(--stitch-primary); transition: all .3s ease; }
.stitch-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--stitch-bg-mid);
  border-top: 1px solid rgba(200,39,42,0.15);
}
.stitch-mobile-menu.is-open { display: flex; }
.stitch-mobile-menu a {
  font-family: var(--stitch-font-mono);
  color: var(--stitch-text-muted);
  letter-spacing: 0.16em;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: none;
}

/* ─── HERO ─────────────────────────────────────── */
.stitch-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(155deg, var(--stitch-bg) 0%, var(--stitch-bg-mid) 55%, var(--stitch-bg) 100%);
}
.stitch-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200,39,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,39,42,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.stitch-hero__ghost {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.03;
  font-size: 28vw;
  font-family: var(--stitch-font-head);
  color: var(--stitch-primary);
  line-height: 1;
}
.stitch-hero__inner {
  position: relative;
  z-index: 10;
  max-width: var(--stitch-maxw);
  margin: 0 auto;
  padding: 144px 24px 96px;
  width: 100%;
}
@media (min-width: 768px) { .stitch-hero__inner { padding-left: 48px; padding-right: 48px; } }
.stitch-hero__eyebrow {
  font-family: var(--stitch-font-mono);
  color: var(--stitch-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.stitch-hero__title {
  font-family: var(--stitch-font-head);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  color: var(--stitch-text);
  line-height: 1.07;
  max-width: 820px;
  margin: 0 0 24px;
}
.stitch-hero__title em { font-style: italic; color: var(--stitch-primary); }
.stitch-hero__lead {
  max-width: 512px;
  font-family: var(--stitch-font-main);
  font-weight: 300;
  color: var(--stitch-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 48px;
}
@media (min-width: 768px) { .stitch-hero__lead { font-size: 1.125rem; } }
.stitch-hero__cta { display: flex; flex-direction: column; gap: 16px; margin-bottom: 80px; }
@media (min-width: 640px) { .stitch-hero__cta { flex-direction: row; } }
.stitch-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(200,39,42,0.12);
}
@media (min-width: 768px) { .stitch-hero__stats { grid-template-columns: repeat(4, 1fr); } }
.stitch-stat__n { font-family: var(--stitch-font-head); font-size: 2.2rem; font-weight: 700; color: var(--stitch-primary); }
.stitch-stat__l { font-family: var(--stitch-font-mono); font-size: 0.65rem; color: var(--stitch-text-muted); letter-spacing: 0.18em; text-transform: uppercase; }

/* ─── ABOUT ────────────────────────────────────── */
.stitch-about { background: var(--stitch-bg-light); }
.stitch-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}
@media (min-width: 1024px) { .stitch-about__grid { grid-template-columns: 1fr 1fr; } }
.stitch-about__title { color: var(--stitch-text-dark); }
.stitch-about p {
  font-family: var(--stitch-font-main);
  color: var(--stitch-text-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 20px;
}
.stitch-about__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 16px;
}
.stitch-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .stitch-values { grid-template-columns: repeat(2, 1fr); } }
.stitch-value {
  background: var(--stitch-bg-white);
  border: 1px solid rgba(200,39,42,0.15);
  padding: 24px;
  transition: all .3s ease;
}
.stitch-value__icon { font-family: var(--stitch-font-mono); font-size: 1.4rem; color: var(--stitch-primary); margin-bottom: 10px; }
.stitch-value__title { font-family: var(--stitch-font-head); font-size: 1rem; color: var(--stitch-text-dark); margin-bottom: 6px; font-weight: 600; }
.stitch-value__desc { font-family: var(--stitch-font-main); font-size: 0.8rem; color: var(--stitch-text-body); line-height: 1.6; font-weight: 400; }

/* ─── SERVIZI (accordion) ──────────────────────── */
.stitch-services { background: var(--stitch-bg); }
.stitch-services__head { margin-bottom: 56px; }
.stitch-services__intro {
  color: var(--stitch-text-muted);
  font-family: var(--stitch-font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 72ch;
  margin-top: 0.5rem;
}
.stitch-services__title { color: var(--stitch-text); }
.stitch-acc { display: flex; flex-direction: column; gap: 1px; background: rgba(200,39,42,0.08); }
.stitch-acc__item { background: var(--stitch-bg); transition: background .3s ease; }
.stitch-acc__item.is-open { background: var(--stitch-bg-mid); }
.stitch-acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) { .stitch-acc__btn { padding: 20px 32px; } }
.stitch-acc__title { flex: 1; font-family: var(--stitch-font-head); color: #fff; font-size: 0.875rem; font-weight: 600; }
@media (min-width: 768px) { .stitch-acc__title { font-size: 1rem; } }
.stitch-acc__summary { display: none; font-family: var(--stitch-font-main); color: #fff; font-weight: 400; font-size: 0.875rem; max-width: 20rem; text-align: right; }
@media (min-width: 768px) { .stitch-acc__summary { display: block; } }
.stitch-acc__panel { display: none; padding: 0 24px 24px; }
@media (min-width: 768px) { .stitch-acc__panel { padding: 0 32px 24px; } }
.stitch-acc__item.is-open .stitch-acc__panel { display: block; }
.stitch-acc__list {
  padding-top: 16px;
  border-top: 1px solid rgba(200,39,42,0.1);
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 40px;
  row-gap: 8px;
}
@media (min-width: 640px) { .stitch-acc__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .stitch-acc__list { grid-template-columns: repeat(3, 1fr); } }
.stitch-acc__li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #fff;
  font-family: var(--stitch-font-main);
  font-weight: 300;
}
.stitch-acc__dot { margin-top: 6px; flex-shrink: 0; width: 4px; height: 4px; border-radius: 9999px; background: var(--stitch-primary); }

/* ─── CONTATTI ─────────────────────────────────── */
.stitch-contatti { background: var(--stitch-bg-light); }
.stitch-contatti__grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .stitch-contatti__grid { grid-template-columns: 1fr 1fr; } }
.stitch-contatti__title { color: var(--stitch-text-dark); }
.stitch-contatti__title em { color: var(--stitch-primary-2); font-style: italic; }
.stitch-contatti__lead { color: var(--stitch-text-body); font-family: var(--stitch-font-main); font-weight: 400; font-size: 1rem; line-height: 1.7; margin: 0 0 40px; }
.stitch-info { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.stitch-info__row { display: flex; gap: 20px; align-items: flex-start; }
.stitch-info__k { font-family: var(--stitch-font-mono); font-size: 0.65rem; letter-spacing: 0.18em; color: var(--stitch-text-deep); text-transform: uppercase; min-width: 60px; }
.stitch-info__v { font-family: var(--stitch-font-main); font-size: 0.875rem; color: var(--stitch-text-dark); line-height: 1.6; }

.stitch-newsletter { padding: 24px; background: #fff; border: 1px solid rgba(200,39,42,0.15); }
.stitch-newsletter__label { font-family: var(--stitch-font-mono); font-size: 0.65rem; letter-spacing: 0.22em; color: var(--stitch-primary); text-transform: uppercase; margin-bottom: 6px; }
.stitch-newsletter p { font-size: 0.875rem; line-height: 1.6; color: var(--stitch-text-body); font-family: var(--stitch-font-main); font-weight: 400; margin: 0 0 16px; }
.stitch-newsletter__form { display: flex; gap: 8px; }

.stitch-field { display: block; }
.stitch-label {
  font-family: var(--stitch-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--stitch-text-deep);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.stitch-input, .stitch-textarea, .stitch-select {
  background: var(--stitch-bg-input);
  border: 1px solid rgba(200,39,42,0.18);
  color: var(--stitch-text);
  font-family: var(--stitch-font-main);
  font-weight: 300;
  font-size: 0.875rem;
  outline: none;
  width: 100%;
  padding: 12px 16px;
  transition: border-color .2s ease;
}
.stitch-input:focus, .stitch-textarea:focus, .stitch-select:focus { border-color: rgba(200,39,42,0.55); }
.stitch-textarea { resize: vertical; }
.stitch-select { cursor: pointer; }
.stitch-newsletter .stitch-input { flex: 1; }
.stitch-newsletter__btn {
  padding: 12px 20px;
  background: var(--stitch-primary);
  color: var(--stitch-bg);
  font-family: var(--stitch-font-mono);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity .2s ease;
}
.stitch-newsletter__btn:hover { opacity: .85; }

.stitch-form { display: flex; flex-direction: column; gap: 20px; }
.stitch-form__row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .stitch-form__row { grid-template-columns: repeat(2, 1fr); } }
.stitch-form__submit {
  width: 100%;
  padding: 16px;
  background: var(--stitch-primary);
  color: var(--stitch-bg);
  font-family: var(--stitch-font-main);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity .3s ease;
}
.stitch-form__submit:hover { opacity: .85; }
.stitch-form__privacy { font-size: 0.75rem; color: var(--stitch-text-deep); font-family: var(--stitch-font-main); margin: 0; }
.stitch-form__feedback { font-size: 0.875rem; color: var(--stitch-primary); font-family: var(--stitch-font-main); margin-top: 8px; }
.stitch-form__ok {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 20rem; text-align: center; padding: 40px;
  border: 1px solid rgba(200,39,42,0.15); background: var(--stitch-bg);
}
.stitch-form__ok-title { font-family: var(--stitch-font-head); font-size: 1.5rem; color: var(--stitch-text); margin: 24px 0 8px; }
.stitch-form__ok-text { font-family: var(--stitch-font-main); font-size: 0.875rem; color: var(--stitch-text-muted); font-weight: 300; }

/* ─── FOOTER ───────────────────────────────────── */
.stitch-footer { padding: 40px 0; background: #fff; border-top: 1px solid rgba(200,39,42,0.2); }
.stitch-footer__inner {
  max-width: var(--stitch-maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .stitch-footer__inner { flex-direction: row; padding: 0 48px; } }
.stitch-footer__logo img { height: 60px; width: auto; }
.stitch-footer__copy { font-family: var(--stitch-font-mono); font-size: 0.75rem; color: var(--stitch-text-body); text-align: center; }
.stitch-footer__right { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: center; }
.stitch-footer__nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.stitch-footer__nav a {
  font-family: var(--stitch-font-mono);
  font-size: 0.75rem;
  color: #3E1215;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s ease;
}
.stitch-footer__nav a:hover { opacity: .7; }
.stitch-footer__social { display: flex; align-items: center; gap: 12px; }
.stitch-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3E1215;
  transition: color .2s ease, transform .2s ease;
}
.stitch-footer__social a:hover { color: var(--stitch-primary); transform: translateY(-2px); }
