.servizi {
  padding: 130px var(--page-pad) 120px;
  background: var(--c-white);
  position: relative;
  overflow: hidden;
}

.s-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 5% 70%, rgba(255,214,1,0.06) 0%, transparent 100%), radial-gradient(ellipse 40% 60% at 95% 15%, rgba(255,214,1,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.s-header {
  margin-bottom: 36px;
  text-align: center;
}

.s-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--c-black);
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.s-title span {
  color: var(--c-accent);
}

.s-header p {
  color: var(--c-mid);
  font-size: var(--text-base);
  font-weight: 300;
  margin-top: 10px;
  max-width: none;
  width: 100%;
  line-height: 1.75;
}

.serv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  align-items: stretch;
}

.serv-card {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.serv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-dark) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.serv-card:hover {
  border-color: rgba(255,214,1,0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.07);
}

.serv-card:hover::before {
  transform: scaleX(1);
}

.serv-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,214,1,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  transition: background 0.28s ease, transform 0.28s var(--ease);
}

.serv-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--c-accent-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.serv-card:hover .serv-icon {
  background: var(--c-accent);
  transform: scale(1.08);
}

.serv-card h3 {
  font-size: clamp(26px, 3.3vw, 35px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
  letter-spacing: -0.6px;
  line-height: 1.1;
}

.serv-subtitle {
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 600;
  color: #111111;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
}

.serv-card p {
  font-size: 13.5px;
  color: #111111;
  font-weight: 300;
  line-height: 1.8;
}

.serv-card p strong {
  font-weight: 600;
  color: #0a0a0a;
}

.progetti {
  padding: var(--section-pad) var(--page-pad);
  background: var(--c-white);
  position: relative;
}

.p-header {
  margin-bottom: 52px;
}

.p-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-black);
  letter-spacing: -1.5px;
}

.p-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.p-card {
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: default;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.p-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
  border-color: rgba(255,214,1,0.5);
}

.p-content {
  padding: 16px 19px;
  display: flex;
  flex-direction: column;
}

.p-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  color: #111111;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,214,1,0.1);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  align-self: flex-start;
}

.p-sector {
  font-size: 13.5px;
  color: #111111;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

.p-desc {
  font-size: 13.5px;
  color: #333;
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 11px;
}

.p-kpi-eyebrow {
  font-size: 9px;
  color: #9b9b9b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 9px;
}

.p-kpis {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 11px;
}

.p-kpi-val-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.p-kpi-arrow {
  display: inline-block;
  color: #16A34A;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease;
}

.p-kpi-main .p-kpi-arrow {
  font-size: 16px;
}

.p-kpi-sub .p-kpi-arrow {
  font-size: 10px;
}

.p-kpi-val {
  font-weight: 800;
  color: #16A34A;
  letter-spacing: -0.4px;
  line-height: 1.05;
  white-space: nowrap;
  transition: transform 0.2s ease;
  transform-origin: left center;
}

.p-kpi-label {
  font-size: 11.5px;
  color: #444;
  font-weight: 400;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.p-kpi-main .p-kpi-val {
  font-size: 38px;
}

.p-kpi-sub .p-kpi-val {
  font-size: 17px;
}

.p-kpi-sub {
  opacity: 0.72;
}

.p-card:hover .p-kpi-val {
  transform: scale(1.05);
}

.p-card:hover .p-kpi-arrow {
  transform: translateY(-3px);
}

.p-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #666666;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.p-view-link svg {
  flex-shrink: 0;
}

.p-view-link .p-view-arrow {
  transition: transform 0.2s ease;
}

.p-view-link:hover {
  color: var(--c-accent-dark);
  text-decoration-color: currentColor;
}

.p-view-link:hover .p-view-arrow {
  transform: translateX(3px);
}

.ss-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.ss-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.ss-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ss-modal-content {
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  max-width: 90vw;
  max-height: 85vh;
}

.ss-modal.open .ss-modal-content {
  transform: scale(1);
}

.ss-modal-content img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.ss-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ss-modal-close:hover {
  background: rgba(255,255,255,0.22);
}

.ai-solutions {
  padding: var(--section-pad) var(--page-pad);
  background: var(--c-white);
  position: relative;
}

.ai-header {
  text-align: left;
  margin-bottom: 40px;
}

.ai-header h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--c-black);
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.ai-header p {
  color: #111111;
  font-size: var(--text-base);
  font-weight: 300;
  margin-top: 10px;
  line-height: 1.75;
  max-width: none;
}

.ai-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ai-tab {
  font-family: var(--font-body);
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--c-white);
  font-weight: 700;
  font-size: 13.5px;
  color: #111111;
  cursor: pointer;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease, transform 200ms ease;
}

.ai-tab:hover {
  border-color: rgba(255,214,1,0.5);
}

.ai-tab.active {
  background: var(--c-accent);
  border-color: var(--c-accent-dark);
  color: #0a0a0a;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  transition: opacity 300ms ease;
}

.ai-grid.ai-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.ai-grid.switching {
  opacity: 0;
}

.ai-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--c-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.ai-card:hover {
  border-color: var(--c-accent);
  transform: scale(1.02);
  box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}

.ai-card[data-tab="leadgen"] {
  display: none;
}

.ai-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,214,1,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.ai-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--c-accent-dark);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-card h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  letter-spacing: -0.1px;
  line-height: 1.25;
}

.ai-block {
  margin-bottom: 9px;
}

.ai-block:last-child {
  margin-bottom: 0;
}

.ai-block-label {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9b9b9b;
  margin-bottom: 3px;
}

.ai-block-text {
  font-size: 11px;
  color: #333333;
  line-height: 1.5;
  font-weight: 300;
}

.ai-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 30px 34px;
  background: var(--c-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ai-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,214,1,0.16);
  color: var(--c-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ai-cta-left h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.ai-cta-left p {
  font-size: 12.5px;
  color: #333333;
  font-weight: 300;
  line-height: 1.6;
  max-width: 480px;
}

.numeri {
  padding: var(--section-pad) var(--page-pad);
  background: var(--c-white);
  position: relative;
}

.numeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.num-card {
  min-width: 0;
  background: var(--c-accent);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 32px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.num-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.14);
}

.num-val {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -2px;
  line-height: 1;
  white-space: nowrap;
}

.num-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.num-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.3;
}

.certs {
  padding: 70px 0;
  background: var(--c-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.certs-header {
  max-width: 780px;
  margin: 0 auto 44px;
  padding: 0 var(--page-pad);
  text-align: center;
}

.certs-header h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-black);
  letter-spacing: -1.3px;
  white-space: nowrap;
}

.certs-header p {
  color: var(--c-mid);
  font-size: 13.5px;
  font-weight: 300;
  margin-top: 12px;
  line-height: 1.7;
  white-space: nowrap;
}

.certs-carousel {
  position: relative;
  width: 100%;
  /* Correzione rispetto all'anteprima: senza il ritaglio il nastro (3656px)
     sfora la finestra e crea scorrimento orizzontale nella pagina
     Automazioni, dove la carrellata non e' dentro una sezione che ritaglia.
     La mascheratura sotto dava per scontato un ritaglio che non c'era. */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.cert-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: certScroll 44s linear infinite;
}

.certs-carousel:hover .cert-track {
  animation-play-state: paused;
}

.cert-card {
  width: 188px;
  flex-shrink: 0;
  background: var(--c-white);
  border: 1px solid #ECECEC;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
  border-color: #E2E2E2;
}

.cert-logo {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255,214,1,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.cert-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: #111111;
}

.cert-logo img {
  position: relative;
  z-index: 1;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

.cert-name {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.1px;
}

.cert-sub {
  font-size: 10.5px;
  font-weight: 400;
  color: #111111;
  margin-top: 3px;
}

.chi {
  padding: var(--section-pad) var(--page-pad);
  background: var(--c-white);
  position: relative;
}

.chi-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}

.chi-text p {
  font-size: var(--text-md);
  color: #111111;
  line-height: 1.85;
  font-weight: 300;
}

.chi-text p + p {
  margin-top: 16px;
}

.chi-text strong {
  color: var(--c-black);
  font-weight: 600;
}

.chi-photo {
  position: relative;
}

.chi-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  border-radius: var(--radius);
  transform: translate(14px, 14px);
  z-index: 0;
}

.chi-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  transition: transform 0.55s var(--ease);
}

.chi-photo:hover img {
  transform: translate(-5px, -5px);
}

.lfc-cards {
  display: flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.lfc-card {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.lfc-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #FBF6DC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background .28s var(--ease);
}

.lfc-card-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--c-accent-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.lfc-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  color: #111;
}

.lfc-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #111;
}

.lfc-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.lfc-link-card {
  display: block;
  background: #FBFAF5;
  border: 1px solid #EFEDE3;
  border-radius: 18px;
  padding: 22px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.lfc-link-card:hover {
  border-color: rgba(255, 214, 1, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.lfc-link-card h3 {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.lfc-link-card p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: #111;
}

.lfc-faq {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lfc-faq-item {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: var(--radius);
  padding: 4px 20px;
}

.lfc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lfc-faq-item summary::-webkit-details-marker {
  display: none;
}

.lfc-faq-item summary::before {
  content: '+';
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--c-accent-dark);
  flex-shrink: 0;
  line-height: 1.5;
}

.lfc-faq-item[open] summary::before {
  content: '–';
}

.lfc-faq-answer {
  padding: 0 0 18px 26px;
}

.lfc-faq-answer p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.85;
  color: #111;
  max-width: 860px;
}

.lfc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.lfc-tab {
  font-family: var(--font-body);
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--c-white);
  font-weight: 700;
  font-size: 13.5px;
  color: #111;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.lfc-tab:hover {
  border-color: rgba(255, 214, 1, 0.5);
}

.lfc-tab.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent-dark);
  color: #0a0a0a;
}

.lfc-auto-grid {
  display: flex;
  grid-template-columns: none;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.lfc-auto-card {
  background: var(--c-white);
  border: 1px solid #EAEAEA;
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  height: auto;
}

.lfc-auto-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FBF6DC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.lfc-auto-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-accent-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.lfc-auto-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 16px;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.3;
}

.lfc-auto-block + .lfc-auto-block {
  margin-top: 14px;
}

.lfc-auto-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 5px;
}

.lfc-auto-block p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: #111;
}

.lfc-auto-price {
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-black);
  background: var(--c-accent);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 0;
  align-self: flex-start;
}

.lfc-auto-note {
  margin-top: 26px;
  max-width: none !important;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--c-mid);
  width: 100%;
  text-wrap: pretty;
}

.lfc-thanks {
  text-align: center;
  padding-bottom: 80px;
}

.lfc-thanks-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.lfc-thanks-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-black);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.lfc-cards > .lfc-card {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lfc-faq-compact {
  padding-top: 44px;
  padding-bottom: 44px;
}

.lfc-faq-compact .lfc-faq-item summary {
  padding-top: 14px;
  padding-bottom: 14px;
}

.lfc-section-lead {
  max-width: none;
  margin-bottom: 26px;
  width: 100%;
  text-wrap: pretty;
}

.lfc-auto-preview .ai-header {
  margin-bottom: 26px;
}

.lfc-preview-cards > .lfc-card {
  text-align: left;
}

.lfc-preview-cta {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.lfc-tab[aria-selected="true"] {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.lfc-tabpanel:not([hidden]) {
  animation: lfcPaneIn 210ms var(--ease) both;
}

.lfc-auto-note-quiet {
  font-size: 12px;
  color: var(--c-mid);
  opacity: .85;
  max-width: none !important;
  width: 100%;
  text-wrap: pretty;
}

.lfc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 1, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.lfc-card:hover .lfc-card-icon {
  background: rgba(255, 214, 1, 0.3);
}

.lfc-auto-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 1, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.lfc-preview-inner {
  max-width: none;
  width: 100%;
  text-align: left;
}

.lfc-preview-inner h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin: 14px 0 16px;
}

.lfc-preview-inner p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.75;
  color: var(--c-mid);
  max-width: none;
}

.lfc-preview-inner .lfc-preview-cta {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}

.lfc-section-lead p {
  max-width: none;
  text-wrap: pretty;
}

.lfc-case-lead {
  margin-bottom: 30px;
}

.lfc-case-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 4px 0 14px;
  border: 1px solid #EFEFEF;
  border-radius: 10px;
  overflow: hidden;
  background: #FBFAF5;
  cursor: zoom-in;
  transition: border-color .25s ease, transform .25s var(--ease);
}

.lfc-case-thumb img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
  object-position: top left;
}

.lfc-case-thumb:hover {
  border-color: rgba(255, 214, 1, .9);
  transform: translateY(-2px);
}

.lfc-auto-line {
  margin: 18px 0 0;
  max-width: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 2;
  color: var(--c-black);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lfc-auto-line span {
  color: var(--c-accent-dark);
  font-weight: 700;
}

.lfc-cards-3-2 {
  justify-content: center;
}

.lfc-cards-5row > .lfc-card {
  flex-basis: 100%;
}

.lfc-cards-4 > .lfc-card {
  flex-basis: 100%;
}

.lfc-cards-compact > .lfc-card {
  padding: 18px 20px 20px;
}

.lfc-cards-compact .lfc-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.lfc-cards-compact .lfc-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

.lfc-case-img {
  margin: 6px 0 14px;
  border: 1px solid #EFEFEF;
  border-radius: 10px;
  overflow: hidden;
  background: #FBFAF5;
}

.lfc-case-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.lfc-cards-compact > .lfc-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.lfc-cards-compact > .lfc-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

.lfc-when-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.lfc-when-item {
  flex: 1 1 100%;
  background: #FBFAF5;
  border: 1px solid #EFEADA;
  border-radius: 12px;
  padding: 14px 18px 14px 42px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  text-align: left;
  display: flex;
  align-items: center;
  min-height: 76px;
}

.lfc-when-item::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--c-accent);
}

.lfc-auto-ideal {
  margin-top: 10px !important;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--c-mid);
}

.lfc-auto-ideal strong {
  color: var(--c-black);
}

.lfc-auto-intro {
  max-width: none;
  width: 100%;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--c-black);
  background: #FBFAF5;
  border-left: 3px solid var(--c-accent);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 24px;
}

.lfc-when .lfc-h2 {
  text-align: left;
}

.lfc-when .lfc-section-lead {
  text-align: left;
  max-width: 880px;
  margin-left: 0;
  margin-right: auto;
}

.lfc-when .lfc-section-lead p {
  text-align: left;
  margin-left: 0;
  max-width: 880px;
}

.certs-carousel .cert-logo svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-black);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.certs-carousel .cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.certs-carousel .cert-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.lfc-auto-card .lfc-auto-label {
  margin: 8px 0 2px;
  font-size: 10px;
  letter-spacing: 1.1px;
}

.lfc-auto-card p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.lfc-auto-grid > .lfc-auto-card {
  flex: 0 1 100%;
  min-width: 0;
  width: 100%;
  padding: 24px;
}

.certs-carousel .cert-card {
  justify-content: center;
}

.lfc-auto-card .lfc-auto-price {
  margin-top: auto;
  padding-top: 0;
}

.lfc-auto-card .lfc-auto-ideal {
  margin-bottom: 28px !important;
}
