/* Pagina /coworking-fermo (src/routes/site/coworking-fermo.js). Stessa base delle pagine legali:
   colonna centrale stretta, font e colori del sito (variabili di home.css e del tema). */
.cf-page {
  max-width: 880px; margin: 0 auto;
  padding: calc(var(--nav-h, 68px) + clamp(28px, 4vw, 56px)) clamp(20px, 4vw, 48px) 96px;
  font-family: var(--font-body); color: rgba(13,13,13,.82);
}
.cf-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Briciole di pane */
.cf-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .82rem; color: rgba(13,13,13,.5); margin-bottom: 1.6rem; }
.cf-crumbs a { color: rgba(13,13,13,.6); text-decoration: underline; text-underline-offset: 2px; }
.cf-crumbs a:hover { color: var(--orange); }

/* Apertura */
.cf-hero { padding-bottom: 2.4rem; border-bottom: 1px solid rgba(13,13,13,.08); }
.cf-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.cf-page h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5.4vw, 3.1rem); letter-spacing: -.025em; line-height: 1.08; color: var(--ink); margin-bottom: 1.1rem; }
.cf-intro { font-size: 1.12rem; }

/* Testi dal pannello */
.cf-text { font-size: 1.02rem; line-height: 1.75; }
.cf-text p { margin-bottom: 1rem; }
.cf-text p:last-child { margin-bottom: 0; }
.cf-text ul, .cf-text ol { margin: .4rem 0 1rem 1.3rem; }
.cf-text li { margin-bottom: .45rem; }
.cf-text strong { color: var(--ink); font-weight: 600; }
.cf-text a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.cf-text h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 1.4rem 0 .5rem; }

/* Sezioni */
.cf-section { padding-top: clamp(2.6rem, 5vw, 3.6rem); }
.cf-section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 3.2vw, 1.9rem); letter-spacing: -.015em; line-height: 1.2; color: var(--ink); margin-bottom: 1rem; }
.cf-note { font-size: .88rem; color: rgba(13,13,13,.55); margin-top: .9rem; }
.cf-aside { margin-top: 1.6rem; padding: 1rem 1.2rem; background: var(--orange-pale, #FDF0E8); border-radius: 12px; font-size: .98rem; }

/* Bottoni (come btn-primary / btn-secondary della home) */
.cf-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.cf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--clr-orange, #F26B1D); color: #fff; border: 1.5px solid var(--clr-orange, #F26B1D);
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  padding: .8rem 1.6rem; border-radius: 10px; text-decoration: none;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.cf-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(242,107,29,.18), 0 12px 28px rgba(242,107,29,.24); }
.cf-btn--ghost { background: transparent; color: var(--clr-black, #0D0D0D); border-color: rgba(13,13,13,.18); }
.cf-btn--ghost:hover { border-color: var(--clr-orange, #F26B1D); color: var(--clr-orange, #F26B1D); background: rgba(242,107,29,.04); box-shadow: none; }

/* Tabella distanze */
.cf-table-wrap { margin-top: 1.2rem; border: 1px solid rgba(13,13,13,.08); border-radius: 14px; overflow: hidden; }
.cf-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.cf-table th, .cf-table td { padding: .7rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(13,13,13,.06); }
.cf-table tbody tr:last-child th, .cf-table tbody tr:last-child td { border-bottom: 0; }
.cf-table thead th { white-space: nowrap; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(13,13,13,.5); background: var(--bg2, #FAFAF9); }
.cf-table tbody th { font-weight: 500; color: var(--ink); }
.cf-table td { white-space: nowrap; font-variant-numeric: tabular-nums; color: rgba(13,13,13,.75); }
.cf-table td:last-child { font-weight: 600; color: var(--ink); }
.cf-table thead th:not(:first-child), .cf-table td { text-align: right; width: 1%; }
.cf-table .cf-table-group th { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--orange); background: rgba(242,107,29,.05); padding-top: .55rem; padding-bottom: .55rem; }

/* Indirizzo */
.cf-address { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.2rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(13,13,13,.08); border-radius: 14px; margin-bottom: 1.3rem; }
.cf-address-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-pale, #FDF0E8); color: var(--orange); }
.cf-address-icon svg { width: 22px; height: 22px; }
.cf-address address { flex: 1 1 220px; font-style: normal; line-height: 1.55; }
.cf-address address strong { color: var(--ink); }

/* Prezzi */
.cf-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.cf-price-card { border: 1px solid rgba(13,13,13,.08); border-radius: 14px; padding: 1.2rem 1.3rem; background: #fff; }
.cf-price-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); margin-bottom: .6rem; }
.cf-price-card ul { list-style: none; }
.cf-price-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(13,13,13,.06); }
.cf-price-card li:first-child { border-top: 0; }
.cf-price-name { display: flex; flex-direction: column; color: rgba(13,13,13,.8); }
.cf-price-extra { font-size: .82rem; color: rgba(13,13,13,.5); margin-top: .15rem; }
.cf-price-amount { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }

/* Domande frequenti */
.cf-faq { display: flex; flex-direction: column; gap: .5rem; }
.cf-faq-item { background: #fff; border: 1px solid rgba(13,13,13,.08); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.cf-faq-item:hover, .cf-faq-item[open] { border-color: var(--orange); }
.cf-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 600; color: var(--ink); }
.cf-faq-item summary::-webkit-details-marker { display: none; }
.cf-faq-item summary:hover { color: var(--orange); }
.cf-faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: rgba(13,13,13,.4); transition: transform .25s, color .2s; }
.cf-faq-item[open] .cf-faq-chevron { transform: rotate(180deg); color: var(--orange); }
.cf-faq-a { padding: 0 1.25rem 1.15rem; font-size: .96rem; color: rgba(13,13,13,.72); }

/* Chiusura */
.cf-cta { margin-top: clamp(2.6rem, 5vw, 3.6rem); padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: 18px; background: var(--bg2, #FAFAF9); border: 1px solid rgba(13,13,13,.06); }
.cf-cta.cf-section { padding-top: clamp(1.6rem, 4vw, 2.4rem); }
.cf-contacts { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-top: 1.2rem; font-size: .95rem; color: rgba(13,13,13,.45); }
.cf-contacts a { color: var(--ink); font-weight: 500; }
.cf-contacts a:hover { color: var(--orange); }

@media (max-width: 600px) {
  .cf-page { padding: calc(var(--nav-h, 68px) + 1.6rem) 1.1rem 4rem; }
  .cf-intro { font-size: 1.04rem; }
  .cf-text { font-size: .97rem; }
  .cf-table { font-size: .9rem; }
  .cf-table th, .cf-table td { padding: .6rem .7rem; }
  .cf-table thead th { letter-spacing: .06em; }
  .cf-btn { flex: 1 1 auto; }
  .cf-address .cf-btn { flex-basis: 100%; }
  .cf-faq-item summary { padding: .95rem 1.05rem; font-size: .96rem; }
  .cf-faq-a { padding: 0 1.05rem 1rem; }
}

/* I ritocchi mobili del sito (injectMobileFixes) danno 1,1rem di margine a ogni <section>:
   qui il margine c'è già sulla colonna, non va raddoppiato */
@media (max-width: 768px) {
  .cf-page .cf-section:not(.cf-cta) { padding-left: 0 !important; padding-right: 0 !important; }
  .cf-page .cf-crumbs { padding-left: 0 !important; padding-right: 0 !important; } /* idem per «nav» */
  .cf-page .cf-cta { margin-top: 2.4rem !important; } /* «section + section» lo azzera */
}
