/* ==========================================================================
   pages.css
   Styles for subpages: hero, breadcrumbs, contatti, sedi, servizi,
   blog, article, legal, WhatsApp float.
   Tokens defined in tokens.css
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Page Hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
}

.page-hero-bone-deep  { background: var(--bone-deep); color: var(--ink); }
.page-hero-bone       { background: var(--bone);      color: var(--ink); }
.page-hero-ink        { background: var(--ink);        color: var(--bone); }
.page-hero-ink-soft   { background: var(--ink-soft);   color: var(--bone); }
.page-hero-accent-warm{ background: var(--accent-warm);color: var(--ink); }

.ph-inner {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-hero-title {
  font-size: clamp(54px, 9vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.page-hero-body {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  max-width: 780px;
  opacity: 0.9;
}

.page-hero-rule {
  position: absolute;
  left: var(--container-pad);
  right: var(--container-pad);
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.15;
}

@media (max-width: 900px) {
  .page-hero {
    padding: 120px 0 40px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 100px 0 28px;
  }
}


/* --------------------------------------------------------------------------
   2. Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
}

.breadcrumb a:hover { color: #D68531; }

.bc-sep { opacity: 0.4; }


/* --------------------------------------------------------------------------
   3. Contatti Page
   -------------------------------------------------------------------------- */

.contact-page-intro {
  background: var(--bone);
  padding: 100px 0 60px;
}

.cpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cpi-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cpi-block h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.cpi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cpi-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
  font-size: 15px;
}

.cpi-row .mono {
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
  text-transform: uppercase;
}

.cpi-row a:hover { color: #D68531; }

.cpi-row-big {
  font-size: 22px;
  font-family: var(--serif);
}

@media (max-width: 900px) {
  .cpi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* --------------------------------------------------------------------------
   4. Sedi Section
   -------------------------------------------------------------------------- */

.sedi-section {
  padding: 120px 0;
  background: var(--bone-deep);
}

.sedi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.sede-card {
  position: relative;
  background: var(--bone);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  min-height: 340px;
  transition: transform 0.5s var(--ease-out);
}

.sede-card:hover { transform: translateY(-4px); }

.sede-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sede-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.5;
}

.sede-city {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}

.sede-prov {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  text-transform: uppercase;
}

.sede-addr {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.sede-link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
  font-size: 12px;
  letter-spacing: 0.1em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.sede-link span { transition: transform 0.3s; }
.sede-link:hover span { transform: translateX(4px); }

.sede-map {
  position: relative;
  background: var(--bone-deep);
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(26, 23, 18, 0.08);
}

.sede-map-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-warm) 0 6px, transparent 7px),
    linear-gradient(45deg,  transparent 48%, rgba(26, 23, 18, 0.18) 48% 52%, transparent 52%),
    linear-gradient(-45deg, transparent 49%, rgba(26, 23, 18, 0.12) 49% 51%, transparent 51%),
    linear-gradient(90deg,  transparent 49%, rgba(26, 23, 18, 0.12) 49% 51%, transparent 51%),
    linear-gradient(180deg, transparent 49%, rgba(26, 23, 18, 0.1)  49% 51%, transparent 51%);
  background-size: auto, 80px 80px, 110px 110px, 40px 40px, 40px 40px;
}

.sede-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.sede-map-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: path('M10 0 C15 0 20 4 20 10 C20 16 10 20 10 20 C10 20 0 16 0 10 C0 4 5 0 10 0 Z');
}

.sede-map-pin::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 7px;
  width: 6px;
  height: 6px;
  background: var(--bone);
  border-radius: 50%;
}

.sede-coord {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .sedi-grid { grid-template-columns: 1fr; }
  .sede-card { grid-template-columns: 1fr; }
  .sede-map  { min-height: 200px; }
}


/* --------------------------------------------------------------------------
   5. Servizi Index
   -------------------------------------------------------------------------- */

.servizi-index {
  padding: 100px 0 140px;
  background: var(--bone);
}

.servizi-list {
  list-style: none;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.sv-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 2fr auto;
  gap: 40px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.15);
  transition: padding 0.4s var(--ease-out), color 0.3s;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.sv-row:hover {
  padding-left: 20px;
  color: #D68531;
}

.sv-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.sv-name {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1;
  font-weight: 500;
}

.sv-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 480px;
}

.sv-arrow {
  font-size: 22px;
  opacity: 0.35;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  justify-self: end;
}

.sv-row:hover .sv-arrow {
  transform: translateX(10px);
  opacity: 1;
}

@media (max-width: 900px) {
  .sv-row {
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
  }
  .sv-desc {
    grid-column: 1 / -1;
    padding-left: 76px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .sv-row {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 28px 0;
  }
  .sv-desc {
    padding-left: 54px;
    font-size: 14px;
  }
}


/* --------------------------------------------------------------------------
   6. Servizio Singolo
   -------------------------------------------------------------------------- */

/* --- Hero --- */

.svc-hero {
  background: var(--bone-deep);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
}

.svc-hero-title {
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.svc-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 23, 18, 0.18);
  margin-top: 40px;
}

.svc-hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-hero-meta .label {
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
  text-transform: uppercase;
}

.svc-hero-meta .val {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.svc-hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--accent-warm);
}

.svc-hero-visual-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) contrast(1.02);
}

.svc-hero-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  background: var(--bone);
  font-size: 10px;
  letter-spacing: 0.2em;
}

@media (max-width: 900px) {
  .svc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-hero-meta {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .svc-hero {
    padding: 120px 0 60px;
  }
  .svc-hero-meta {
    grid-template-columns: 1fr;
  }
}

/* --- Body + TOC --- */

.svc-body {
  background: var(--bone);
  padding: 120px 0;
}

.svc-body-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
}

.svc-toc {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-toc .eyebrow {
  margin-bottom: 12px;
  opacity: 0.55;
}

.svc-toc a {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.1);
  transition: color 0.3s, padding 0.3s;
}

.svc-toc a:hover {
  color: #D68531;
  padding-left: 6px;
}

.svc-toc a.active {
  color: var(--accent);
  font-weight: 500;
}

.svc-content {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 820px;
}

/* --- Sections: prose, benefits, steps, specs --- */

.svc-block p,
.svc-block li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.svc-block p + p { margin-top: 20px; }

/* Benefits */
.svc-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.benefit {
  padding: 28px 0;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.benefit-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.benefit-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 8px;
  margin-bottom: 8px;
}

.benefit-body {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
}

/* Specs */
.svc-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.spec {
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.15);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.5;
  text-transform: uppercase;
}

.spec-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

.spec-note {
  font-size: 12px;
  opacity: 0.65;
}

/* Price disclaimer */
.svc-price-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--bone-deep);
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.85;
  border-left: 2px solid var(--accent);
}

/* --- CTA Block --- */

.svc-cta-block {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-cta-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  font-family: var(--serif);
}

.svc-cta-buttons {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.svc-cta-primary {
  padding: 18px 32px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s, transform 0.3s;
}

.svc-cta-primary:hover {
  background: #D68531;
  color: var(--bone);
  transform: translateY(-2px);
}

.svc-cta-ghost {
  padding: 18px 28px;
  border: 1px solid rgba(244, 239, 231, 0.3);
  color: var(--bone);
  border-radius: 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background 0.3s, border-color 0.3s;
}

.svc-cta-ghost:hover {
  background: rgba(244, 239, 231, 0.08);
  border-color: var(--bone);
}

/* --- Related Services --- */

.svc-related {
  background: var(--bone);
  padding: 100px 0 140px;
  border-top: 1px solid rgba(26, 23, 18, 0.1);
}

.svc-related-head {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.svc-related-head h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
}

.svc-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rel-card {
  padding: 32px;
  background: var(--bone-deep);
  border: 1px solid rgba(26, 23, 18, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.4s, color 0.4s, transform 0.4s;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
}

.rel-card:hover {
  background: var(--ink);
  color: var(--bone);
  transform: translateY(-4px);
}

.rel-card .n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
}

.rel-card .name {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.rel-card .arr {
  margin-top: auto;
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .svc-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-toc { position: static; }
  .svc-benefits,
  .svc-specs,
  .svc-related-grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   7. Blog Index
   -------------------------------------------------------------------------- */

.blog-index {
  background: var(--bone);
  padding: 100px 0 120px;
}

/* Featured article */
.blog-featured { margin-bottom: 80px; }

.blog-featured a {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.blog-featured-img {
  aspect-ratio: 4 / 3;
  background: var(--accent-warm) center / cover;
  position: relative;
  overflow: hidden;
}

.blog-featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  background: var(--bone);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.blog-featured-body .cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-featured-body h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}

.blog-featured-body p {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.8;
  max-width: 500px;
}

.blog-featured-body .meta {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  text-transform: uppercase;
}

/* Filter pills */
.blog-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(26, 23, 18, 0.15);
}

.blog-filter {
  padding: 8px 14px;
  border: 1px solid rgba(26, 23, 18, 0.2);
  border-radius: 40px;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.blog-filter.on {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.blog-filter:hover { border-color: var(--ink); }

/* Article grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease-out);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card-img {
  aspect-ratio: 4 / 3;
  background: var(--bone-deep) center / cover;
  overflow: hidden;
  position: relative;
}

.blog-card .cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 4px;
}

.blog-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  text-transform: uppercase;
  margin-top: auto;
}

@media (max-width: 900px) {
  .blog-featured a {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* --------------------------------------------------------------------------
   8. Blog Article
   -------------------------------------------------------------------------- */

.article-hero {
  position: relative;
  min-height: 90vh;
  background: var(--ink) center / cover;
  color: var(--bone);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.article-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) grayscale(0.1);
}

.article-hero-inner {
  position: relative;
  width: 100%;
  padding: 180px 0 80px;
}

.article-hero-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 24px;
}

.article-hero-title {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 1100px;
  text-wrap: balance;
}

.article-hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 231, 0.2);
  max-width: 520px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.article-hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-hero-meta .k { opacity: 0.55; }

/* Article body */
.article-body {
  background: var(--bone);
  padding: 120px 0;
}

.article-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.article-lede {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 60px;
  color: var(--ink);
  text-wrap: pretty;
}

.article-body-inner > p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Drop cap */
.article-body-inner p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5.2em;
  float: left;
  line-height: 0.88;
  padding: 4px 14px 0 0;
  font-weight: 500;
  color: var(--ink);
}

.article-body-inner h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 60px 0 20px;
}

.article-body-inner h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 12px;
}

/* Pullquote */
.article-pullquote {
  border-left: 2px solid var(--accent);
  padding: 10px 0 10px 32px;
  margin: 60px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
}

.article-pullquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0.55;
  text-transform: uppercase;
}

/* Full-bleed image */
.article-fullbleed {
  margin: 60px -20% 60px;
  aspect-ratio: 16 / 9;
  background: var(--accent-warm) center / cover;
}

.article-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.55;
  text-transform: uppercase;
  margin-top: -40px;
  margin-bottom: 60px;
  text-align: center;
}

/* Signature */
.article-signature {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 23, 18, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Related articles */
.article-next {
  background: var(--bone-deep);
  padding: 100px 0 120px;
}

.article-next h3 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 40px;
}

.article-next-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .article-fullbleed { margin: 40px 0; }
  .article-next-grid { grid-template-columns: 1fr; }
}


/* --------------------------------------------------------------------------
   9. Legal Pages
   -------------------------------------------------------------------------- */

.legal-page {
  background: var(--bone);
  padding: 100px 0 140px;
}

.legal-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
}

.legal-toc {
  position: sticky;
  top: 120px;
  align-self: start;
}

.legal-toc .eyebrow {
  margin-bottom: 16px;
  opacity: 0.55;
}

.legal-toc ol {
  list-style: none;
  counter-reset: legal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 0;
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
  transition: color 0.3s;
}

.legal-toc a:hover { color: #D68531; }

.legal-toc a::before {
  counter-increment: legal;
  content: counter(legal, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}

.legal-content {
  max-width: 740px;
  counter-reset: legal-sec;
}

.legal-meta {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.15);
  display: flex;
  gap: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.legal-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-meta .k { opacity: 0.5; }

.legal-section {
  padding: 40px 0;
  counter-increment: legal-sec;
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.legal-section h2::before {
  content: counter(legal-sec, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  flex-shrink: 0;
}

.legal-section h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal-section p + p { margin-top: 14px; }

.legal-section ul,
.legal-section ol {
  margin: 14px 0 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-section th,
.legal-section td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(26, 23, 18, 0.12);
  vertical-align: top;
}

.legal-section th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 400;
}

@media (max-width: 900px) {
  .legal-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc { position: static; }
  .legal-meta {
    flex-direction: column;
    gap: 12px;
  }
}


/* --------------------------------------------------------------------------
   10. WhatsApp Floating Button
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
}

.wa-float:hover { transform: scale(1.08); }

/* ── Gallery (servizio singolo) ── */
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.svc-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.svc-gallery figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.svc-gallery figure:hover img { transform: scale(1.04); }

@media (max-width: 600px) {
  .svc-gallery { grid-template-columns: 1fr; }
}

/* ── Service content sections ── */
.svc-section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* Steps layout */
.svc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.svc-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.svc-step-n {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 4px;
  font-family: var(--mono);
}
.svc-step-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.svc-step-body  { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* Specs list */
.svc-specs-list { display: flex; flex-direction: column; gap: 0; }
.svc-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.svc-spec-row:first-child { border-top: 1px solid var(--line); }
.svc-spec-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.svc-spec-value { font-size: 15px; color: var(--ink); text-align: right; }
.svc-spec-note  { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* FAQ inline list */
.svc-faq-list { display: flex; flex-direction: column; gap: 0; }

/* Bullets */
.svc-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-bullets li {
  padding-left: 20px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}
.svc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Credentials (Body Harmony AICPE) ── */
.credentials-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.credentials-row p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 400px;
}

/* ═══════════════════════════════════════════════════════════
   BODY HARMONY PAGE
   ═══════════════════════════════════════════════════════════ */

/* Hero */
.bh-hero .page-hero-inner { max-width: 800px; }
.bh-title { font-size: clamp(64px, 10vw, 148px); }

/* Cos'è — intro grid */
.bh-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.bh-intro-head h2 { font-size: clamp(32px, 4vw, 56px); }

@media (max-width: 768px) {
  .bh-intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* I quattro principi — usa .svc-benefits già esistente */

/* Pullquote */
.bh-quote { background: var(--bone-deep); }

/* Per chi è — grid */
.bh-perchi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.bh-perchi-grid h2 { font-size: clamp(32px, 4vw, 56px); }

@media (max-width: 768px) {
  .bh-perchi-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Contact page hero */
.contact-page-hero { background: var(--bone-deep); }

/* Canali & orari */
.channels-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 40px 0;
}

.channel-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.channel-value {
  font-size: 17px;
  color: var(--ink);
}

.channel-hours {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
