/**
 * FSL Lead Funnel — Frontend CSS
 * Brand colors placeholder (sostituire con palette finale Sara designer):
 *   Navy:       #13255B
 *   Gold:       #BC8E50
 *   Green:      #008F39
 *   Sand:       #F4F1EA
 *   Terracotta: #C97A5F
 */

/* ========== RESET & BASE ========== */
.fsl-checkup, .fsl-booking, .fsl-checkup-result, .fsl-lm-popup,
.fsl-checkup *, .fsl-booking *, .fsl-checkup-result *, .fsl-lm-popup * {
  box-sizing: border-box;
}

.fsl-checkup, .fsl-booking, .fsl-checkup-result {
  font-family: 'Poppins', -apple-system, system-ui, sans-serif;
  color: #1a1a1a;
  max-width: 720px;
  margin: 32px auto;
  line-height: 1.5;
}

/* ========== BUTTONS ========== */
.fsl-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #13255B;
  background: #fff;
  color: #13255B;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.fsl-btn:hover {
  background: #13255B;
  color: #fff;
}
.fsl-btn-primary {
  background: #BC8E50;
  border-color: #BC8E50;
  color: #fff;
}
.fsl-btn-primary:hover {
  background: #a37a40;
  border-color: #a37a40;
  color: #fff;
}
.fsl-btn-large {
  padding: 16px 36px;
  font-size: 17px;
}
.fsl-btn-block {
  display: block;
  width: 100%;
}
.fsl-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== FORM FIELDS ========== */
.fsl-field {
  margin-bottom: 16px;
}
.fsl-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.fsl-field input[type="text"],
.fsl-field input[type="email"],
.fsl-field input[type="tel"],
.fsl-field select,
.fsl-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: #1a1a1a;
}
.fsl-field input:focus,
.fsl-field select:focus,
.fsl-field textarea:focus {
  outline: none;
  border-color: #13255B;
  box-shadow: 0 0 0 3px rgba(19, 37, 91, 0.1);
}
/* Block, not flex: the label mixes bare text and a link, and flex would turn each run into its own column. */
.fsl-field-checkbox label {
  display: block;
  position: relative;
  padding-left: 24px;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
}
.fsl-field-checkbox input {
  position: absolute;
  left: 0;
  top: 3px;
  margin: 0;
}
.fsl-field-hint {
  display: block;
  margin-top: 4px;
  color: #888;
  font-size: 12px;
}

.fsl-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .fsl-form-row-2 { grid-template-columns: 1fr; }
}

/* ========== ERROR BOX ========== */
.fsl-error-box {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff0f0;
  border-left: 4px solid #d33;
  color: #a00;
  font-size: 14px;
  border-radius: 4px;
}

/* ========== CHECKUP QUIZ ========== */
.fsl-progress {
  margin-bottom: 28px;
}
.fsl-progress-bar {
  height: 6px;
  background: linear-gradient(to right, #BC8E50 0%, #13255B 100%);
  width: 0%;
  border-radius: 3px;
  transition: width 0.4s ease;
}
.fsl-progress-label {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fsl-step {
  animation: fslFadeIn 0.4s ease;
}
@keyframes fslFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fsl-question-label {
  font-size: 22px;
  font-weight: 600;
  color: #13255B;
  margin: 0 0 24px;
  line-height: 1.3;
}

.fsl-step-subtitle {
  color: #666;
  font-size: 14px;
  margin: -16px 0 24px;
}

/* v0.12.0: il passo finale usa un h3 senza .fsl-question-label, quindi eredita
   i margini del tema e il margin-top negativo del sottotitolo lo incollava al
   titolo. Qui il titolo lo vestiamo come le domande e il sottotitolo respira. */
.fsl-step-contact h3 {
  font-size: 22px;
  font-weight: 600;
  color: #13255B;
  line-height: 1.3;
  margin: 0 0 10px;
}
.fsl-step-contact .fsl-step-subtitle {
  margin: 0 0 28px;
}

/* Radio options */
.fsl-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.fsl-option {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #f8f7f3;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.fsl-option:hover {
  background: #f4f1ea;
  border-color: #BC8E50;
}
.fsl-option input[type="radio"] {
  margin-right: 12px;
  flex-shrink: 0;
}
.fsl-option input[type="radio"]:checked + .fsl-option-label {
  font-weight: 600;
  color: #13255B;
}
.fsl-option:has(input[type="radio"]:checked) {
  background: #f4f1ea;
  border-color: #13255B;
}
.fsl-option-label {
  font-size: 15px;
}

/* Range slider */
.fsl-range {
  margin-bottom: 24px;
}
.fsl-range-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  border-radius: 3px;
  outline: none;
}
.fsl-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #BC8E50;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.fsl-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #BC8E50;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.fsl-range-value {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #13255B;
  margin: 16px 0 4px;
}
.fsl-range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
}

/* Scale (1-5) */
.fsl-scale {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}
.fsl-scale {
  flex-direction: row;
  justify-content: space-between;
  gap: 8px;
}
.fsl-scale-item {
  flex: 1;
  cursor: pointer;
}
.fsl-scale-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.fsl-scale-num {
  display: block;
  text-align: center;
  padding: 16px 0;
  background: #f8f7f3;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  transition: all 0.15s;
}
.fsl-scale-item input:checked + .fsl-scale-num {
  background: #13255B;
  color: #fff;
  border-color: #13255B;
}
.fsl-scale-item:hover .fsl-scale-num {
  border-color: #BC8E50;
}
.fsl-scale-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

/* Step navigation */
.fsl-step-nav {
  display: flex;
  /* v0.12.0: "Avanti" sempre a destra. Con space-between, al primo step (dove
     il bottone Indietro non esiste) l'unico bottone finiva a sinistra. */
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.fsl-step-nav .fsl-btn-back { background: transparent; border-color: #ccc; color: #666; margin-right: auto; }
.fsl-step-nav .fsl-btn-back:hover { background: #f0f0f0; color: #333; }

/* ========== CHECKUP RESULT ========== */
.fsl-checkup-result { max-width: 800px; }
.fsl-result-header {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #13255B 0%, #2a3d7a 100%);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 32px;
}
.fsl-result-header h2 { color: #fff; font-size: 26px; margin: 0 0 16px; }
.fsl-score-global {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 16px;
}
.fsl-score-number {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: #BC8E50;
}
.fsl-score-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
  opacity: 0.9;
}
.fsl-score-explanation { font-size: 14px; opacity: 0.85; max-width: 500px; margin: 0 auto; }

.fsl-result-dimensions { margin-bottom: 32px; }
.fsl-result-dimensions h3 { color: #13255B; font-size: 18px; margin-bottom: 16px; }
.fsl-dim-row {
  display: grid;
  grid-template-columns: 200px 1fr 60px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .fsl-dim-row { grid-template-columns: 1fr 50px; grid-template-areas: "label score" "bar bar"; }
  .fsl-dim-label { grid-area: label; }
  .fsl-dim-score { grid-area: score; text-align: right; }
  .fsl-dim-bar { grid-area: bar; }
}
.fsl-dim-label { font-size: 14px; font-weight: 500; color: #333; }
.fsl-dim-bar { height: 10px; background: #f0ece4; border-radius: 5px; overflow: hidden; }
.fsl-dim-fill {
  height: 100%;
  background: linear-gradient(to right, #008F39 0%, #BC8E50 60%, #C97A5F 100%);
  border-radius: 5px;
  transition: width 0.6s ease;
}
.fsl-dim-score { text-align: right; font-weight: 600; color: #13255B; font-size: 14px; }

.fsl-result-recommendations h3 { color: #13255B; font-size: 18px; margin: 0 0 8px; }
.fsl-rec-disclaimer { font-size: 13px; color: #666; margin-bottom: 16px; }
.fsl-rec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.fsl-rec-card {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8e3d8;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.fsl-rec-card:hover {
  border-color: #BC8E50;
  box-shadow: 0 4px 12px rgba(188, 142, 80, 0.15);
  transform: translateY(-2px);
}
.fsl-rec-card-title { font-size: 16px; font-weight: 600; color: #13255B; margin-bottom: 4px; }
.fsl-rec-card-area { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.fsl-rec-card-score { font-size: 13px; color: #555; margin-bottom: 12px; }
.fsl-rec-card-cta { font-size: 13px; color: #BC8E50; font-weight: 600; }

.fsl-result-cta-box {
  text-align: center;
  padding: 32px;
  background: #f4f1ea;
  border-radius: 8px;
}
.fsl-result-cta-box h3 { color: #13255B; font-size: 22px; margin: 0 0 8px; }
.fsl-result-cta-box p { color: #555; margin: 0 0 20px; }
.fsl-cta-secondary { font-size: 13px; color: #666; margin-top: 12px; }
.fsl-cta-secondary a { color: #13255B; }

/* ========== BOOKING ========== */
/* Modulo in tre passi dalla 0.13.0: stili in fondo al file ("Prenotazione appuntamento"). */
.fsl-form-disclaimer {
  margin-top: 16px;
  font-size: 13px;
  color: #888;
  text-align: center;
}
.fsl-booking-thankyou {
  text-align: center;
  padding: 60px 24px;
}
.fsl-thankyou-icon { font-size: 64px; }
.fsl-booking-thankyou h2 { color: #008F39; font-size: 28px; margin: 16px 0; }
.fsl-booking-success {
  padding: 40px 24px;
  text-align: center;
  background: #f0f9f3;
  border-radius: 8px;
  font-size: 18px;
  color: #008F39;
}

/* ========== LEAD MAGNET POPUP ========== */
.fsl-lm-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fslFadeIn 0.3s ease;
}
.fsl-lm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 37, 91, 0.7);
  backdrop-filter: blur(4px);
}
.fsl-lm-card {
  position: relative;
  max-width: 460px;
  width: 100%;
  padding: 36px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1;
}
.fsl-lm-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  line-height: 1;
}
.fsl-lm-close:hover { color: #333; }
.fsl-lm-icon { font-size: 48px; text-align: center; margin-bottom: 12px; }
.fsl-lm-title { font-size: 22px; color: #13255B; text-align: center; margin: 0 0 8px; }
.fsl-lm-subtitle { font-size: 14px; color: #666; text-align: center; margin: 0 0 24px; }
.fsl-lm-success {
  text-align: center;
  padding: 24px 0;
  font-size: 16px;
  color: #008F39;
}

/* ========== FSL CHECK-UP HUB (pagina /check-up-gratuito/) ========== */
.fsl-hub {
  --hub-ink: #272c49;
  --hub-ink-soft: #4a5070;
  --hub-accent: #c30f0f;
  --hub-accent-deep: #a80c0c;
  --hub-paper: #ffffff;
  --hub-rule: #e5e5ec;

  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  margin: 0;
  padding: 0;
  max-width: none;
  color: var(--hub-ink);
}

/* Hero band: dark navy. Padding-top contenuto — se header è trasparente Lifest
 * aggiunge naturalmente lo spazio dell'header sopra; se header è solido non
 * accumuliamo padding inutile. */
.fsl-hub__hero {
  background: var(--hub-ink);
  color: #ffffff;
  padding: clamp(56px, 7vw, 90px) clamp(20px, 3vw, 32px) clamp(48px, 6vw, 80px);
  text-align: center;
  border-bottom: 4px solid var(--hub-accent);
  position: relative;
}
/* Solo se body ha fsl-landing-active (= header trasparente Lifest), aggiungiamo
 * padding-top extra per non finire dietro l'header */
body.fsl-landing-active .fsl-hub__hero,
body:has(main.fsl-landing) .fsl-hub__hero {
  padding-top: clamp(120px, 13vw, 180px);
}
.fsl-hub__hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.fsl-hub__hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--hub-accent);
  padding: 8px 18px;
  border-radius: 4px;
  margin: 0 0 28px;
}
.fsl-hub__title {
  font-family: inherit;
  font-size: clamp(2rem, 3vw + 0.6rem, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #ffffff;
  text-wrap: balance;
}
.fsl-hub__subtitle {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  margin: 0 auto;
}

/* Section bianca con le 2 card */
.fsl-hub__cards-section {
  background: #f7f7f9;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 3vw, 32px);
}
.fsl-hub__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .fsl-hub__cards { grid-template-columns: 1fr; }
}

.fsl-hub__card {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: var(--hub-ink) !important;
  background: var(--hub-paper);
  border: 1px solid var(--hub-rule);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) {
  .fsl-hub__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(39, 44, 73, 0.14);
    border-color: var(--hub-accent);
  }
  .fsl-hub__card:hover .fsl-hub__card-arrow {
    transform: translateX(6px);
  }
}

.fsl-hub__card-image {
  height: clamp(180px, 25vw, 260px);
  background-size: cover;
  background-position: center;
  position: relative;
}
.fsl-hub__card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(39, 44, 73, 0.55) 100%);
}

.fsl-hub__card-body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fsl-hub__card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hub-accent);
  margin: 0 0 10px;
}

.fsl-hub__card-title {
  font-family: inherit;
  font-size: clamp(1.5rem, 1.5vw + 0.6rem, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--hub-ink);
}

.fsl-hub__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--hub-ink-soft);
}

.fsl-hub__card-features {
  list-style: none !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
}
.fsl-hub__card-features li {
  position: relative;
  padding-left: 26px;
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--hub-ink-soft);
  line-height: 1.4;
}
.fsl-hub__card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hub-accent);
  font-weight: 800;
}

.fsl-hub__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--hub-accent);
  padding-top: 16px;
  border-top: 1px solid var(--hub-rule);
}
.fsl-hub__card-arrow {
  display: inline-block;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fsl-hub__footer {
  text-align: center;
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--hub-ink-soft);
  opacity: 0.75;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FSL CHECK-UP CTA BANNER (riusabile in altre pagine) ========== */
/* Tokens fallback se non ereditati da .fsl-landing */
.fsl-cta-banner {
  --cta-ink: #272c49;
  --cta-accent: #c30f0f;
  --cta-accent-deep: #a80c0c;
  --cta-paper: #f7f7f9;

  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, system-ui, sans-serif;
  margin: clamp(28px, 4vw, 56px) 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.fsl-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .fsl-cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
}

.fsl-cta-banner__content {
  flex: 1;
  min-width: 0;
}

.fsl-cta-banner__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 10px;
  opacity: 0.65;
}

.fsl-cta-banner__title {
  font-size: clamp(1.25rem, 1.5vw + 0.6rem, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.fsl-cta-banner__subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  opacity: 0.85;
  max-width: 60ch;
}

.fsl-cta-banner__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .fsl-cta-banner__action { align-items: stretch; }
}

.fsl-cta-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--cta-accent);
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 200ms ease-out, transform 200ms ease-out;
  cursor: pointer;
}
.fsl-cta-banner__button:hover {
  background: var(--cta-accent-deep);
  color: #ffffff !important;
  transform: translateY(-1px);
}
.fsl-cta-banner__button-arrow {
  transition: transform 200ms ease-out;
}
.fsl-cta-banner__button:hover .fsl-cta-banner__button-arrow {
  transform: translateX(3px);
}

.fsl-cta-banner__reassurance {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

/* ===== Varianti stile ===== */
.fsl-cta-banner--light {
  background: var(--cta-paper);
  color: var(--cta-ink);
  border: 1px solid #e5e5ec;
}
.fsl-cta-banner--light .fsl-cta-banner__eyebrow { color: var(--cta-accent); opacity: 1; }

.fsl-cta-banner--navy {
  background: var(--cta-ink);
  color: #fff;
}
.fsl-cta-banner--navy .fsl-cta-banner__eyebrow { color: var(--cta-accent); opacity: 1; }

.fsl-cta-banner--dark {
  background: #0f1220;
  color: #fff;
}
.fsl-cta-banner--dark .fsl-cta-banner__eyebrow { color: var(--cta-accent); opacity: 1; }

.fsl-cta-banner--accent {
  background: linear-gradient(135deg, var(--cta-accent) 0%, var(--cta-accent-deep) 100%);
  color: #fff;
}
.fsl-cta-banner--accent .fsl-cta-banner__eyebrow { color: rgba(255,255,255,0.85); opacity: 1; }
.fsl-cta-banner--accent .fsl-cta-banner__button {
  background: #ffffff;
  color: var(--cta-accent) !important;
}
.fsl-cta-banner--accent .fsl-cta-banner__button:hover {
  background: var(--cta-ink);
  color: #ffffff !important;
}

/* ===== Allineamento ===== */
.fsl-cta-banner--align-center .fsl-cta-banner__inner {
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.fsl-cta-banner--align-center .fsl-cta-banner__action {
  align-items: center;
}

/* ========== FSL RICHIEDI INFO FORM ========== */
.fsl-richiedi-info {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  max-width: 640px;
  margin: clamp(32px, 4vw, 56px) auto;
  padding: clamp(24px, 3vw, 36px);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e5ec;
  box-shadow: 0 8px 24px rgba(39, 44, 73, 0.06);
}
.fsl-richiedi-info--compact {
  padding: 20px;
  max-width: 460px;
  box-shadow: none;
}
.fsl-richiedi-info-title {
  font-size: clamp(1.375rem, 1.5vw + 0.5rem, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #272c49;
  margin: 0 0 8px;
}
.fsl-richiedi-info-subtitle {
  color: #4a5070;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.fsl-richiedi-info .fsl-btn-primary {
  width: 100%;
  background: #c30f0f;
  border-color: #c30f0f;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  margin-top: 8px;
}
.fsl-richiedi-info .fsl-btn-primary:hover {
  background: #a80c0c;
  border-color: #a80c0c;
  color: #ffffff;
}
.fsl-richiedi-info-success {
  text-align: center;
  padding: 40px 24px;
}
.fsl-richiedi-info-success h3 {
  color: #008F39;
  font-size: 1.5rem;
  margin: 16px 0 12px;
}

/* ========== FSL THANK-YOU PAGE (Check-up Completato) ========== */
.fsl-thankyou {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  color: #272c49;
}
.fsl-thankyou--invalid {
  text-align: center;
  padding: 80px 32px;
}
.fsl-thankyou--invalid h2 {
  color: #c30f0f;
  font-size: 2rem;
  margin: 0 0 16px;
}

.fsl-thankyou__hero {
  background: #272c49;
  color: #ffffff;
  padding: clamp(140px, 14vw, 200px) clamp(20px, 3vw, 32px) clamp(60px, 7vw, 100px);
  border-bottom: 4px solid #c30f0f;
  text-align: center;
}
.fsl-thankyou__hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.fsl-thankyou__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: #c30f0f;
  padding: 6px 14px;
  border-radius: 4px;
  margin: 0 0 24px;
}
.fsl-thankyou__hi {
  font-size: clamp(2rem, 3vw + 0.6rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #ffffff;
}
.fsl-thankyou__lead {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.15rem);
  color: rgba(255,255,255,0.82);
  margin: 0 0 36px;
}
.fsl-thankyou__score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  margin-bottom: 16px;
}
.fsl-thankyou__score-num {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #c30f0f;
  letter-spacing: -0.03em;
}
.fsl-thankyou__score-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 4px;
  opacity: 0.85;
}
.fsl-thankyou__score-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  margin: 16px auto 0;
}

.fsl-thankyou__section {
  background: #ffffff;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 32px);
}
.fsl-thankyou__section--alt { background: #f7f7f9; }
.fsl-thankyou__section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.fsl-thankyou__section-title {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #272c49;
  margin: 0 0 12px;
}
.fsl-thankyou__section-subtitle {
  font-size: 1rem;
  color: #4a5070;
  margin: 0 0 32px;
}

.fsl-thankyou__bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fsl-thankyou__bars .fsl-dim-row {
  display: grid;
  grid-template-columns: 220px 1fr 60px;
  gap: 14px;
  align-items: center;
}
@media (max-width: 600px) {
  .fsl-thankyou__bars .fsl-dim-row {
    grid-template-columns: 1fr 50px;
    grid-template-areas: "label score" "bar bar";
  }
  .fsl-thankyou__bars .fsl-dim-label { grid-area: label; }
  .fsl-thankyou__bars .fsl-dim-score { grid-area: score; text-align: right; }
  .fsl-thankyou__bars .fsl-dim-bar   { grid-area: bar; }
}
.fsl-thankyou__bars .fsl-dim-label { font-weight: 600; color: #272c49; }
.fsl-thankyou__bars .fsl-dim-bar   { height: 12px; background: #f0ece4; border-radius: 6px; overflow: hidden; }
.fsl-thankyou__bars .fsl-dim-fill  { height: 100%; background: linear-gradient(90deg, #008F39 0%, #c30f0f 100%); border-radius: 6px; }
.fsl-thankyou__bars .fsl-dim-score { font-weight: 700; color: #c30f0f; text-align: right; }

.fsl-thankyou__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.fsl-thankyou__card {
  display: block;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e5ec;
  border-radius: 8px;
  text-decoration: none !important;
  color: #272c49 !important;
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fsl-thankyou__card:hover {
  transform: translateY(-3px);
  border-color: #c30f0f;
  box-shadow: 0 10px 24px rgba(195, 15, 15, 0.12);
}
.fsl-thankyou__card-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.fsl-thankyou__card-area {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a7f99;
  margin-bottom: 14px;
}
.fsl-thankyou__card-score { font-size: 0.85rem; margin-bottom: 14px; }
.fsl-thankyou__card-cta { font-size: 0.85rem; font-weight: 700; color: #c30f0f; }

.fsl-thankyou__cta-section {
  background: #f4f1ea;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 32px);
  text-align: center;
}
.fsl-thankyou__cta-inner { max-width: 720px; margin: 0 auto; }
.fsl-thankyou__cta-title { font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem); font-weight: 800; color: #272c49; margin: 0 0 16px; }
.fsl-thankyou__cta-text { font-size: 1.05rem; color: #4a5070; margin: 0 0 32px; }
.fsl-thankyou__cta-secondary { margin-top: 24px; font-size: 0.9rem; color: #4a5070; }
.fsl-thankyou__cta-secondary a { color: #c30f0f; font-weight: 600; }

/* ========== RC AUTO PRICE RANGE (thank-you simulatore) ========== */
.fsl-rc-price-range {
  display: inline-block;
  padding: 28px 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
}
.fsl-rc-price-range__main {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4rem);
  font-weight: 800;
  color: #c30f0f;
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum" 1;
}
.fsl-rc-price-range__currency {
  font-size: 0.5em;
  vertical-align: top;
  margin-right: 6px;
  color: rgba(255,255,255,0.85);
}
.fsl-rc-price-range__sep {
  margin: 0 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.fsl-rc-price-range__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  margin: 12px 0 6px;
}
.fsl-rc-price-range__mid {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.fsl-rc-auto-disclaimer {
  margin-top: 24px;
  padding: 12px 18px;
  background: #fff7ed;
  border-left: 3px solid #f59e0b;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #4a5070;
  line-height: 1.5;
}

/* ========== MODAL (per consulenza su thank-you) ========== */
.fsl-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
}
.fsl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(39, 44, 73, 0.78);
  backdrop-filter: blur(4px);
}
.fsl-modal__card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.fsl-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: 0;
  font-size: 32px;
  color: #4a5070;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}
.fsl-modal__close:hover { color: #c30f0f; }
.fsl-modal__header {
  margin-bottom: 24px;
  padding-right: 32px;
  border-bottom: 1px solid #e5e5ec;
  padding-bottom: 20px;
}
.fsl-modal__header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: #272c49;
}
.fsl-modal__header p {
  font-size: 0.9rem;
  color: #4a5070;
  margin: 0;
}

/* ========== FSL CONSULENZA FORM (Famiglia / Azienda) ========== */
.fsl-consulenza {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px);
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e5ec;
}
.fsl-consulenza--inline {
  margin: clamp(40px, 5vw, 64px) auto;
  box-shadow: 0 8px 24px rgba(39, 44, 73, 0.06);
}
.fsl-consulenza--modal {
  margin: 0;
  border-radius: 0;
  border: 0;
  padding: 8px 0 0;
  max-width: none;
}

.fsl-consulenza-title {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #272c49;
  margin: 0 0 8px;
}
.fsl-consulenza-subtitle {
  color: #4a5070;
  margin: 0 0 28px;
  font-size: 0.95rem;
}

.fsl-consulenza .fsl-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 12px;
  margin-top: 6px;
}
.fsl-consulenza .fsl-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f7f7f9;
  border: 1px solid #e5e5ec;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 200ms ease, border-color 200ms ease;
}
.fsl-consulenza .fsl-checkbox:hover {
  background: #fff;
  border-color: #c30f0f;
}
.fsl-consulenza .fsl-checkbox input { margin: 0; flex-shrink: 0; }
.fsl-consulenza .fsl-checkbox span { color: #272c49; }

.fsl-consulenza .fsl-btn-primary {
  width: 100%;
  background: #c30f0f;
  border-color: #c30f0f;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  margin-top: 8px;
}
.fsl-consulenza .fsl-btn-primary:hover {
  background: #a80c0c;
  border-color: #a80c0c;
  color: #ffffff;
}

.fsl-consulenza .fsl-form-disclaimer {
  text-align: center;
  margin-top: 16px;
  color: #7a7f99;
}
.fsl-consulenza .fsl-form-disclaimer small { font-size: 0.78rem; }

.fsl-consulenza-success {
  text-align: center;
  padding: 40px 24px;
}
.fsl-consulenza-success .fsl-thankyou-icon {
  font-size: 64px;
}
.fsl-consulenza-success h3 {
  color: #008F39;
  font-size: 1.75rem;
  margin: 16px 0 12px;
}
.fsl-consulenza-success p {
  color: #4a5070;
  margin: 0 0 8px;
}
.fsl-consulenza-success a {
  color: #c30f0f;
  font-weight: 600;
}

.fsl-disabled-notice {
  padding: 24px;
  text-align: center;
  background: #f8f8f8;
  border-radius: 8px;
  color: #888;
  font-style: italic;
}
.fsl-error {
  padding: 16px;
  background: #fff0f0;
  border-left: 4px solid #d33;
  color: #a00;
}

/* =====================================================================
   FSL Card Grid — sistema shortcode [fsl_card_grid] / [fsl_card] / [fsl_card_list]
   Brand Fusilli: red #c30f0f · navy #272c49 · cream #f4f1ea
   ===================================================================== */
.fsl-card-grid {
  --fsl-cg-cols: 4;
  --fsl-cg-gap: 24px;
  --fsl-cg-accent: #c30f0f;
  display: grid;
  grid-template-columns: repeat(var(--fsl-cg-cols), 1fr);
  gap: var(--fsl-cg-gap);
  margin: 32px 0;
}
@media (max-width: 1024px) {
  .fsl-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fsl-card-grid { grid-template-columns: 1fr; }
}

.fsl-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 32px 26px;
  box-shadow: 0 2px 14px rgba(39, 44, 73, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #4a5070;
  transition: box-shadow .2s ease, transform .2s ease;
}
.fsl-card:hover {
  box-shadow: 0 4px 22px rgba(39, 44, 73, 0.12);
  transform: translateY(-2px);
}
.fsl-card--align-left {
  align-items: flex-start;
  text-align: left;
}

.fsl-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fsl-cg-accent);
  margin: 0 0 18px;
  flex-shrink: 0;
}
.fsl-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fsl-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.fsl-card__title {
  color: var(--fsl-cg-accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.2;
}
.fsl-card__subtitle {
  color: #272c49;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}
.fsl-card__body {
  color: #4a5070;
  font-size: 14.5px;
  line-height: 1.7;
  width: 100%;
}
.fsl-card__body p {
  margin: 0 0 12px;
}
.fsl-card__body p:last-child {
  margin-bottom: 0;
}

/* "IN PRATICA" block dentro la card */
.fsl-card__inpratica {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #f0ece4;
  width: 100%;
}
.fsl-card__inpratica-title {
  color: var(--fsl-cg-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 14px;
}
.fsl-card--align-left .fsl-card__inpratica-title {
  text-align: left;
}
.fsl-card__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}
.fsl-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4a5070;
  border-bottom: 1px solid #f5f3ee;
}
.fsl-card__list li:last-child {
  border-bottom: none;
}
.fsl-card__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fsl-cg-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.fsl-card__check svg {
  width: 11px;
  height: 11px;
  display: block;
}
.fsl-card__list-text {
  flex: 1;
}

/* =====================================================================
   Override section-heading del tema Lifest per sfondi scuri.
   USO: aggiungi classe `on-dark` (tutto bianco) o `on-dark-accent`
   (sm-title resta rosso brand, h2 bianco) al div .section-heading esistente.
   Esempio:
     <div class="section-heading text-center on-dark mb-2-9 ...">
       <span class="sm-title">...</span>
       <h2 class="display-22 ...">...</h2>
     </div>

   IMPORTANTE: queste classi neutralizzano anche WOW.js (visibility hidden
   in editor preview) e ridefiniscono font-size/text-transform/font-weight
   per funzionare anche dove il CSS base del tema non è disponibile.
   ===================================================================== */

/* Neutralizza WOW.js / animate.css quando l'elemento è marcato come on-dark* */
.section-heading.on-dark.wow,
.section-heading.on-dark-accent.wow,
.section-heading.on-dark-gold.wow,
.section-heading.on-dark .wow,
.section-heading.on-dark-accent .wow,
.section-heading.on-dark-gold .wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation-name: none !important;
  animation-duration: 0s !important;
}

/* Base sm-title — fa da reset se il tema non lo ha caricato */
.section-heading.on-dark .sm-title,
.section-heading.on-dark-accent .sm-title,
.section-heading.on-dark-gold .sm-title {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

/* Base titolo — fa da reset se il tema non lo ha caricato */
.section-heading.on-dark h1,
.section-heading.on-dark h2,
.section-heading.on-dark h3,
.section-heading.on-dark-accent h1,
.section-heading.on-dark-accent h2,
.section-heading.on-dark-accent h3,
.section-heading.on-dark-gold h1,
.section-heading.on-dark-gold h2,
.section-heading.on-dark-gold h3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}
.section-heading.on-dark h2,
.section-heading.on-dark-accent h2,
.section-heading.on-dark-gold h2 {
  font-size: 36px !important;
}
@media (min-width: 768px) {
  .section-heading.on-dark h2,
  .section-heading.on-dark-accent h2,
  .section-heading.on-dark-gold h2 {
    font-size: 48px !important;
  }
}
@media (min-width: 1200px) {
  .section-heading.on-dark h2,
  .section-heading.on-dark-accent h2,
  .section-heading.on-dark-gold h2 {
    font-size: 56px !important;
  }
}

/* Variante 1: tutto bianco */
.section-heading.on-dark .sm-title,
.section-heading.on-dark > .sm-title {
  color: #ffffff !important;
  opacity: 0.78 !important;
}
.section-heading.on-dark h1,
.section-heading.on-dark h2,
.section-heading.on-dark h3,
.section-heading.on-dark h4,
.section-heading.on-dark h5,
.section-heading.on-dark h6,
.section-heading.on-dark p,
.section-heading.on-dark .display-1,
.section-heading.on-dark .display-2,
.section-heading.on-dark .display-3,
.section-heading.on-dark .display-4,
.section-heading.on-dark [class*="display-"] {
  color: #ffffff !important;
}
.section-heading.on-dark p {
  opacity: 0.82;
}

/* Variante con accent: sm-title resta rosso brand, h2 bianco — più contrastato */
.section-heading.on-dark-accent .sm-title,
.section-heading.on-dark-accent > .sm-title {
  color: #c30f0f !important;
  letter-spacing: 1.5px;
}
.section-heading.on-dark-accent h1,
.section-heading.on-dark-accent h2,
.section-heading.on-dark-accent h3,
.section-heading.on-dark-accent h4,
.section-heading.on-dark-accent h5,
.section-heading.on-dark-accent h6,
.section-heading.on-dark-accent p,
.section-heading.on-dark-accent [class*="display-"] {
  color: #ffffff !important;
}
.section-heading.on-dark-accent p {
  opacity: 0.82;
}

/* Variante con accent oro/sabbia (utile su sfondi navy molto scuri) */
.section-heading.on-dark-gold .sm-title,
.section-heading.on-dark-gold > .sm-title {
  color: #d4a373 !important;
  letter-spacing: 1.5px;
}
.section-heading.on-dark-gold h1,
.section-heading.on-dark-gold h2,
.section-heading.on-dark-gold h3,
.section-heading.on-dark-gold h4,
.section-heading.on-dark-gold h5,
.section-heading.on-dark-gold h6,
.section-heading.on-dark-gold p,
.section-heading.on-dark-gold [class*="display-"] {
  color: #ffffff !important;
}

/* Variante 3 colonne forzata */
.fsl-card-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.fsl-card-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fsl-card-grid--cols-1 { grid-template-columns: 1fr; }
@media (max-width: 1024px) {
  .fsl-card-grid--cols-3,
  .fsl-card-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .fsl-card-grid--cols-2,
  .fsl-card-grid--cols-3,
  .fsl-card-grid--cols-4 { grid-template-columns: 1fr; }
}

/* ===== Prenotazione appuntamento (0.13.0): tre passi, calendario, orari liberi ===== */
.fsl-booking { max-width: 920px; font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, system-ui, sans-serif; color: #1f2233; display: grid; gap: 24px; text-align: left; }
.fsl-booking [hidden] { display: none !important; }
.fsl-booking button { font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.3; min-width: 0; min-height: 0; }
.fsl-booking button:focus-visible, .fsl-booking input:focus-visible, .fsl-booking textarea:focus-visible { outline: 3px solid #272c49; outline-offset: 2px; }
.fsl-bk-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fsl-bk-steps li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; color: #62667a; padding: 6px 12px 6px 6px; border-radius: 999px; background: #f4f1ea; }
.fsl-bk-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid #e4e1d8; font-size: 12px; }
.fsl-bk-steps li[aria-current="step"] { color: #272c49; }
.fsl-bk-steps li[aria-current="step"] span { background: #c30f0f; border-color: #c30f0f; color: #fff; }
.fsl-bk-steps li.is-done span { background: #272c49; border-color: #272c49; color: #fff; }
.fsl-bk-step { display: grid; gap: 24px; }
.fsl-bk-group { display: grid; gap: 12px; }
.fsl-bk-title { margin: 0; color: #272c49; font-size: 19px; font-weight: 700; line-height: 1.3; }
.fsl-bk-title:focus { outline: none; }
.fsl-bk-hint { margin: 4px 0 0; color: #62667a; font-size: 14px; }
.fsl-bk-choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.fsl-bk-choices-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.fsl-bk-choice { color: #1f2233; text-align: left; background: #fff; border: 1.5px solid #e4e1d8; border-radius: 10px; padding: 14px 16px; cursor: pointer; display: flex; gap: 12px; align-items: center; min-height: 56px; transition: border-color .15s, background .15s; }
.fsl-bk-choice:hover { border-color: #272c49; background: #fff; }
.fsl-bk-choice[aria-pressed="true"] { border-color: #c30f0f; background: #fbe9e9; color: #272c49; font-weight: 600; }
.fsl-bk-choice svg { flex: none; width: 26px; height: 26px; color: #272c49; }
.fsl-bk-choice small { display: block; color: #62667a; font-size: 13px; font-weight: 400; }
.fsl-bk-when { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
.fsl-bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fsl-bk-month { color: #272c49; font-size: 16px; }
.fsl-bk-month::first-letter, .fsl-bk-day-title::first-letter { text-transform: uppercase; }
.fsl-bk-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e4e1d8; background: #fff; color: #272c49; cursor: pointer; font-size: 18px; padding: 0; }
.fsl-bk-nav:disabled { opacity: .35; cursor: default; }
.fsl-bk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.fsl-bk-loading { grid-column: 1 / -1; margin: 0; color: #62667a; font-size: 14px; padding: 24px 0; }
.fsl-bk-dow { font-size: 12px; font-weight: 600; color: #62667a; padding-bottom: 4px; }
.fsl-bk-day { font-variant-numeric: tabular-nums; aspect-ratio: 1; width: 100%; max-width: 44px; justify-self: center; border-radius: 50%; border: 0; background: transparent; color: #b9bbc6; font-size: 15px; padding: 0; display: grid; place-items: center; cursor: default; }
.fsl-bk-day.is-open { background: #fbe9e9; color: #c30f0f; font-weight: 700; cursor: pointer; }
.fsl-bk-day.is-open:hover, .fsl-bk-day[aria-pressed="true"] { background: #c30f0f; color: #fff; }
.fsl-bk-day.is-full { text-decoration: line-through; }
.fsl-bk-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: #62667a; }
.fsl-bk-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; background: #e4e1d8; }
.fsl-bk-legend i.is-open { background: #fbe9e9; border: 1px solid #c30f0f; }
.fsl-bk-slots { display: grid; gap: 16px; align-content: start; }
.fsl-bk-day-title { margin: 0; color: #272c49; font-size: 16px; font-weight: 700; }
.fsl-bk-slot-group { display: grid; gap: 8px; }
.fsl-bk-slot-group p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #62667a; }
.fsl-bk-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.fsl-bk-slot { font-weight: 600; font-variant-numeric: tabular-nums; padding: 10px 0; border-radius: 8px; border: 1.5px solid #c30f0f; background: #fff; color: #c30f0f; cursor: pointer; }
.fsl-bk-slot:hover { background: #fbe9e9; color: #c30f0f; }
.fsl-bk-slot[aria-pressed="true"] { background: #c30f0f; color: #fff; }
.fsl-bk-empty { margin: 0; color: #62667a; font-size: 14px; background: #f4f1ea; border-radius: 10px; padding: 18px; }
.fsl-bk-details { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; }
.fsl-bk-fields { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fsl-bk-wide { grid-column: 1 / -1; }
.fsl-bk-field { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; color: #272c49; min-width: 0; }
.fsl-bk-field input, .fsl-bk-field textarea { font: inherit; font-weight: 400; color: #1f2233; background: #fff; border: 1.5px solid #e4e1d8; border-radius: 8px; padding: 11px 14px; width: 100%; margin: 0; }
.fsl-bk-field input:focus, .fsl-bk-field textarea:focus { outline: none; border-color: #272c49; }
.fsl-bk-opt { font-weight: 400; color: #62667a; }
.fsl-bk-consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px; font-weight: 400; color: #1f2233; }
.fsl-bk-consent input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: #c30f0f; flex: none; }
.fsl-bk-consent a { color: #c30f0f; }
.fsl-bk-summary { background: #f4f1ea; border-radius: 12px; padding: 18px; display: grid; gap: 12px; }
.fsl-bk-summary h4 { margin: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #62667a; }
.fsl-bk-summary dl { margin: 0; display: grid; gap: 10px; }
.fsl-bk-summary dt { font-size: 12px; color: #62667a; }
.fsl-bk-summary dd { margin: 0; color: #272c49; font-weight: 600; }
.fsl-bk-summary dd::first-letter { text-transform: uppercase; }
.fsl-bk-big { font-size: 17px; }
.fsl-bk-link { font-size: 13px; background: none; border: 0; padding: 0; color: #c30f0f; text-decoration: underline; cursor: pointer; justify-self: start; }
.fsl-bk-error { margin: 0; color: #c30f0f; font-weight: 500; background: #fbe9e9; border-radius: 8px; padding: 12px 14px; }
.fsl-bk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #e4e1d8; padding-top: 18px; }
.fsl-bk-btn { font-weight: 700; border-radius: 8px; padding: 13px 22px; cursor: pointer; border: 1.5px solid transparent; }
.fsl-bk-btn-primary { background: #c30f0f; color: #fff; margin-left: auto; }
.fsl-bk-btn-primary:hover { background: #a50c0c; color: #fff; }
.fsl-bk-btn-primary:disabled { background: #b9bbc6; color: #fff; cursor: not-allowed; }
.fsl-bk-btn-ghost { background: transparent; color: #272c49; border-color: #e4e1d8; }
.fsl-bk-done { justify-items: start; gap: 14px; }
.fsl-bk-tick { width: 52px; height: 52px; border-radius: 50%; background: #1d7a4f; color: #fff; display: grid; place-items: center; }
.fsl-bk-done p { margin: 0; max-width: 60ch; }
@media (max-width: 720px) {
  .fsl-bk-when, .fsl-bk-details { grid-template-columns: minmax(0, 1fr); }
  .fsl-bk-summary { order: -1; }
}
@media (max-width: 520px) { .fsl-bk-fields { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fsl-bk-choice { transition: none; } }
