/* CaldaieMurali — personalizzazioni sopra il tema base. Solo tema chiaro. */
:root {
  color-scheme: only light;
  --cm-blue: #0f62c9;
  --cm-blue-dark: #0c4fa3;
  --cm-orange: #ff7033;
  --cm-ink: #171724;
  --cm-muted: #5d5d66;
  --cm-line: #e2e8f2;
  --cm-ice: #ecf4ff;
  --cm-radius: 14px;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 10px 16px; background: var(--cm-ink); color: #fff; }
.skip-link:focus { left: 8px; top: 8px; }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.rounded-img, .prose img { border-radius: var(--cm-radius); }
img { max-width: 100%; height: auto; }

/* Navbar */
.navbar-logo img { width: 200px; height: auto; }
.navbar-logo-link { margin: 0; }
.navbar-info-group { display: contents; }
.navbar-info-faq { display: none; }
.navbar-cta__arrow { display: inline-block; margin-left: 6px; transition: transform .2s; }
.navbar-cta:hover .navbar-cta__arrow { transform: translateX(3px); }
@media (min-width: 1200px) {
  .rd-navbar-fullwidth.navbar-event .navbar-section.navbar-top { height: 44px; background: #0e1a33; border: 0; }
  .rd-navbar-fullwidth.navbar-event .navbar-container { padding: 0 20px; }
  .rd-navbar-fullwidth.navbar-event .navbar-info { align-items: center; justify-content: space-between; height: 100%; }
  .rd-navbar-fullwidth .navbar-info-group { display: flex; align-items: center; gap: 28px; }
  .rd-navbar-fullwidth .navbar-info > * + * { margin-left: 0; }
  .rd-navbar-fullwidth.navbar-event .navbar-info-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1; color: rgba(255, 255, 255, .78); }
  .rd-navbar-fullwidth.navbar-event a.navbar-info-link { color: #fff; }
  .rd-navbar-fullwidth.navbar-event a.navbar-info-link:hover { color: #ffb08f; }
  .rd-navbar-fullwidth.navbar-event .navbar-info-icon { color: var(--cm-orange); font-size: 15px; }
  .rd-navbar-fullwidth .navbar-info-note { opacity: 1; }
  .rd-navbar-fullwidth .navbar-info-faq { display: inline-flex; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); height: 16px; }
  .rd-navbar-fullwidth .navbar-info-phone { font-weight: 500 !important; }

  .rd-navbar-fullwidth.navbar-event .navbar-section.navbar-main { height: 84px; border-top: 0; background: #fff; box-shadow: 0 1px 0 var(--cm-line); }
  .rd-navbar-fullwidth.navbar-event.rd-navbar--is-stuck .navbar-section.navbar-main { height: 68px; box-shadow: 0 10px 30px -12px rgba(14, 26, 51, .22); }
  .rd-navbar-fullwidth.navbar-event.rd-navbar--is-stuck { box-shadow: none; }
  .rd-navbar-fullwidth .navbar-main .navbar-cell { display: flex; align-items: center; }
  .rd-navbar-fullwidth .navbar-navigation { display: flex; align-items: center; gap: 2px; margin: 0 14px 0 0; padding: 0; }
  .rd-navbar-fullwidth .navbar-navigation-root-item { margin: 0 !important; padding: 0 !important; position: relative; }
  .rd-navbar-fullwidth .navbar-navigation-root-link { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 999px; font-family: "Lexend Deca", sans-serif; font-size: 15px; font-weight: 400; letter-spacing: -.005em; color: #25314a; transition: background .2s, color .2s; }
  .rd-navbar-fullwidth .navbar-navigation-root-link::before { display: none; }
  .rd-navbar-fullwidth .navbar-navigation-root-link:hover,
  .rd-navbar-fullwidth .navbar-navigation-root-item.focus > .navbar-navigation-root-link { background: #f2f6fc; color: var(--cm-blue); }
  .rd-navbar-fullwidth .navbar-navigation-root-item.active > .navbar-navigation-root-link { background: var(--cm-ice); color: var(--cm-blue); font-weight: 500; }
  .rd-navbar-fullwidth .navbar-has-sub > .navbar-navigation-root-link::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s, margin .2s; }
  .rd-navbar-fullwidth .navbar-has-sub.focus > .navbar-navigation-root-link::after { transform: rotate(225deg); margin-top: 3px; }
  .rd-navbar-fullwidth .rd-navbar-submenu > .rd-navbar-submenu-toggle { display: none; }
  .rd-navbar-fullwidth .navbar-navigation-dropdown { border-radius: 14px; border: 1px solid var(--cm-line); box-shadow: 0 22px 50px -18px rgba(14, 26, 51, .3); padding: 8px; min-width: 250px; margin-top: 6px; }
  .rd-navbar-fullwidth .navbar-navigation-dropdown-item { margin: 0 !important; padding: 0 !important; }
  .rd-navbar-fullwidth .navbar-navigation-dropdown-link { display: block; padding: 10px 14px; border-radius: 9px; font-size: 14.5px; color: #25314a; }
  .rd-navbar-fullwidth .navbar-navigation-dropdown-link::before { display: none !important; }
  .rd-navbar-fullwidth .navbar-navigation-dropdown-link:hover { background: var(--cm-ice); color: var(--cm-blue); }
  .rd-navbar .button-navbar-fullwidth .btn.navbar-cta { height: 46px; padding: 0 22px; display: inline-flex; align-items: center; border-radius: 999px; font-family: "Lexend Deca", sans-serif; font-size: 14.5px; font-weight: 500; box-shadow: none !important; }
}
@media (max-width: 1199.98px) {
  .rd-navbar-fixed .navbar-logo img { width: 160px; }
}

/* Hero */
.hero__slide { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background-position: center right; }
.hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,0) 68%); }
.hero__slide > .container { position: relative; }
.hero h1, .hero .h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; color: var(--cm-ink); margin: 0; }
.hero__text { font-size: 1.125rem; max-width: 520px; color: #33333f; }
.hero .section-title-custom { z-index: 2; pointer-events: none; opacity: .5; }
@media (max-width: 767px) {
  .hero__slide { min-height: 0; padding: 70px 0 90px; background-position: 78% center; }
  .hero__slide::before { background: rgba(255,255,255,.86); }
  .hero .section-title-custom { display: none; }
}

/* Barra vantaggi */
.usp-bar { padding: 28px 0; border-bottom: 1px solid var(--cm-line); }
.usp-bar__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-bar__list li { display: flex; gap: 14px; align-items: center; }
.usp-bar__list span[class*="linearicons"] { font-size: 30px; color: var(--cm-blue); flex: none; }
.usp-bar__list strong { display: block; color: var(--cm-ink); font-family: "Lexend Deca", sans-serif; font-weight: 500; font-size: 15px; }
.usp-bar__list small { color: var(--cm-muted); }
@media (max-width: 991px) { .usp-bar__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .usp-bar__list { grid-template-columns: 1fr; gap: 16px; } }

/* Intestazioni di sezione e pagina */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.page-head { padding-bottom: 30px; }
.page-head__lead { max-width: 760px; margin-top: 14px; }
.breadcrumb-link { color: var(--cm-muted); }
.breadcrumb-link:hover { color: var(--cm-blue); }

/* Liste con spunta */
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; color: #33333f; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Modulo */
.form-card { background: #fff; border-radius: var(--cm-radius); padding: clamp(22px, 4vw, 40px); box-shadow: 0 24px 60px -30px rgba(15, 50, 110, .35); border-top: 4px solid var(--cm-orange); }
.form-card > h3 { margin-bottom: 22px; }
.lead-form .form-group { margin: 0; }
.lead-form label { font-size: 14px; font-weight: 500; color: var(--cm-ink); margin-bottom: 6px; display: block; }
.lead-form .form-control { border-radius: 8px; border: 1px solid #cfd8e6; background: #fbfcfe; min-height: 48px; padding: 10px 14px; width: 100%; }
.lead-form textarea.form-control { min-height: 110px; resize: vertical; }
.lead-form .form-control:focus { border-color: var(--cm-blue); box-shadow: 0 0 0 3px rgba(15, 98, 201, .15); background: #fff; outline: 0; }
.lead-form .form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23171724' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.lead-form .is-invalid { border-color: #d92d4a !important; }
.lead-form__error { color: #c21f3a; font-size: 13px; margin-top: 4px; }
.lead-form__check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13.5px !important; color: var(--cm-muted) !important; margin-bottom: 10px !important; cursor: pointer; }
.lead-form__check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--cm-blue); }
.lead-form__check a { text-decoration: underline; }
.lead-form__submit { width: 100%; }
.lead-form__note { margin: 12px 0 0; text-align: center; color: var(--cm-muted); }
.lead-form__product { background: var(--cm-ice); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.lead-form__output { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.lead-form__output.is-ok { background: #e7f6ec; color: #14622f; border: 1px solid #b7e2c5; }
.lead-form__output.is-err { background: #fdecef; color: #9c1c31; border: 1px solid #f5c2cb; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-section__contact { margin-top: 34px; padding-top: 24px; border-top: 1px solid #d5ddea; }

/* Blurb in linea */
.blurb-inline-text { display: flex; gap: 16px; align-items: flex-start; }
.blurb-inline-text .blurb-icon { font-size: 32px; }
.blurb-inline-text .blurb-title { margin-bottom: 4px; }

/* Prodotti */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 1199px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: 0 22px 50px -28px rgba(15, 50, 110, .45); transform: translateY(-3px); }
.product-card[hidden] { display: none; }
.product-card__media { position: relative; display: block; background: var(--cm-ice); aspect-ratio: 1 / 1; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge { position: absolute; left: 14px; top: 14px; background: var(--cm-orange); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 99px; }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__line { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--cm-muted); margin: 0 0 6px; }
.product-card__title { margin: 0 0 8px; }
.product-card__title a { color: var(--cm-ink); }
.product-card__title a:hover { color: var(--cm-blue); }
.product-card__text { font-size: 14.5px; color: var(--cm-muted); margin: 0 0 14px; }
.product-card__specs { list-style: none; padding: 0; margin: 0 0 18px; font-size: 13.5px; }
.product-card__specs li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--cm-line); }
.product-card__specs span { color: var(--cm-muted); }
.product-card__specs strong { color: var(--cm-ink); font-weight: 500; text-align: right; }
.product-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.product-card__price small { display: block; font-size: 12px; color: var(--cm-muted); line-height: 1.3; }
.product-card__price strong { font-family: "Lexend Deca", sans-serif; font-size: 24px; color: var(--cm-ink); font-weight: 500; line-height: 1.15; }

.energy { position: absolute; right: 14px; top: 14px; color: #fff; font-weight: 700; font-size: 13px; padding: 3px 16px 3px 9px; background: #2e9e48; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); }
.energy--appp, .energy--app { background: #1f9a48; }
.energy--ap { background: #55b13f; }
.energy--a { background: #8cc63f; }
.energy--b { background: #c9d52f; color: #2b2b12; }
.energy--static { position: static; display: inline-block; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters__btn { border: 1px solid #cfd8e6; background: #fff; border-radius: 99px; padding: 8px 18px; font-size: 14px; color: var(--cm-ink); cursor: pointer; transition: .2s; }
.filters__btn:hover { border-color: var(--cm-blue); color: var(--cm-blue); }
.filters__btn.is-active { background: var(--cm-blue); border-color: var(--cm-blue); color: #fff; }
.filters__empty { padding: 30px; text-align: center; background: var(--cm-ice); border-radius: var(--cm-radius); }

/* Scheda prodotto */
.product-hero__media { background: var(--cm-ice); border-radius: var(--cm-radius); overflow: hidden; position: relative; }
.product-hero__media img { width: 100%; display: block; }
.product-hero__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 20px 0 6px; }
.product-hero__price strong { font-family: "Lexend Deca", sans-serif; font-size: 40px; font-weight: 500; color: var(--cm-ink); line-height: 1; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--cm-line); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; font-weight: 400; color: var(--cm-muted); }
.spec-table td { color: var(--cm-ink); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: #f7f9fc; }
.table-wrap { overflow-x: auto; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.data-table th { background: var(--cm-ice); color: var(--cm-ink); font-weight: 500; text-align: left; padding: 12px 16px; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--cm-line); }
.info-box { background: var(--cm-ice); border-left: 4px solid var(--cm-blue); border-radius: 0 var(--cm-radius) var(--cm-radius) 0; padding: 20px 24px; }
.info-box--warm { background: #fff3ec; border-color: var(--cm-orange); }
.info-box p:last-child { margin-bottom: 0; }

/* Passaggi */
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.steps__item { background: #fff; border-radius: var(--cm-radius); padding: 30px 24px; position: relative; box-shadow: 0 18px 40px -30px rgba(15, 50, 110, .4); }
.steps__num { width: 44px; height: 44px; border-radius: 50%; background: var(--cm-blue); color: #fff; display: grid; place-items: center; font-family: "Lexend Deca", sans-serif; font-size: 18px; margin-bottom: 18px; }
.steps__item:nth-child(even) .steps__num { background: var(--cm-orange); }
.steps__item p { font-size: 14.5px; margin: 8px 0 0; }
@media (max-width: 991px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .steps { grid-template-columns: 1fr; } }

/* Guide */
.guide-card__media { display: block; border-radius: var(--cm-radius); overflow: hidden; margin-bottom: 16px; }
.guide-card__media img { width: 100%; display: block; transition: transform .4s; }
.guide-card:hover .guide-card__media img { transform: scale(1.04); }
.guide-card__meta { font-size: 13px; color: var(--cm-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.guide-card h3 a { color: var(--cm-ink); }
.guide-card h3 a:hover { color: var(--cm-blue); }

/* Testi lunghi (guide, pagine legali) */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 48px; }
.prose h3 { font-size: 1.2rem; margin-top: 32px; }
.prose p, .prose li { color: #3a3a46; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; }
.prose .table-wrap { margin: 24px 0; }
.legal-meta { color: var(--cm-muted); font-size: 14px; }
.legal-todo { background: #fff6d9; border: 1px dashed #d9a400; border-radius: 8px; padding: 2px 8px; font-size: .92em; }
.toc { background: #f7f9fc; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); padding: 22px 26px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin-bottom: 4px; font-size: 14.5px; }
.recesso-form { border: 1px solid var(--cm-ink); padding: 24px; border-radius: 8px; background: #fff; font-size: 15px; }

/* Accordion: domande più leggibili */
.accordion-boxed .accordion-header { font-size: 17px; }
.accordion-body p { margin: 0; }

/* Fascia CTA e footer */
.cta-band h3 { margin-bottom: 8px; }
.footer-contacts .list-item { display: flex; gap: 10px; align-items: baseline; }
.footer-contacts span[class^="int-"] { color: var(--cm-orange); font-size: 14px; }
.footer-legal { margin: 8px 0 0; opacity: .72; line-height: 1.6; }
.footer-legal a { text-decoration: underline; color: inherit; }
.footer .link-button { color: inherit; }
/* Nessuna animazione di caricamento: la pagina è visibile da subito */
.page { opacity: 1 !important; transition: none !important; }
.page-loader { display: none !important; }

/* CTA fisso su mobile */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; text-align: center; background: var(--cm-orange); color: #fff !important; padding: 14px; border-radius: 99px; font-weight: 500; box-shadow: 0 12px 30px -10px rgba(255, 112, 51, .7); transform: translateY(140%); transition: transform .3s; }
  .sticky-cta.is-visible { transform: none; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 90px; }
}

/* Cookie banner */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 1200; width: min(430px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; color: var(--cm-ink); border-radius: 20px; border: 1px solid var(--cm-line); box-shadow: 0 24px 60px -18px rgba(14, 26, 51, .35), 0 2px 6px rgba(14, 26, 51, .06); padding: 24px; animation: cm-cookie-in .3s ease-out; }
.cookie[hidden] { display: none; }
@keyframes cm-cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie__close { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f2f5fa; color: var(--cm-muted); cursor: pointer; padding: 0; transition: background .2s, color .2s; }
.cookie__close:hover { background: var(--cm-ice); color: var(--cm-blue); }
.cookie__head { display: flex; align-items: center; gap: 12px; padding-right: 40px; margin-bottom: 12px; }
.cookie__icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cm-ice); color: var(--cm-blue); }
.cookie__title { font-family: "Lexend Deca", sans-serif; font-size: 17px; font-weight: 500; line-height: 1.25; margin: 0; color: var(--cm-ink); }
.cookie__text { font-size: 13.5px; line-height: 1.55; margin: 0; color: var(--cm-muted); }
.cookie__text a { color: var(--cm-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie__prefs { margin-top: 16px; display: grid; gap: 8px; }
.cookie__row { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin: 0; background: #f7f9fc; border: 1px solid var(--cm-line); padding: 12px 14px; border-radius: 12px; cursor: pointer; }
.cookie__row-text { display: grid; gap: 2px; }
.cookie__row-text strong { font-size: 14px; font-weight: 500; color: var(--cm-ink); }
.cookie__row-text small { font-size: 12.5px; line-height: 1.4; color: var(--cm-muted); }
.cookie__switch { position: relative; flex: 0 0 42px; width: 42px; height: 24px; }
.cookie__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cookie__switch input:disabled { cursor: not-allowed; }
.cookie__slider { position: absolute; inset: 0; border-radius: 24px; background: #c9d2e0; transition: background .2s; }
.cookie__slider::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(14, 26, 51, .3); transition: transform .2s; }
.cookie__switch input:checked + .cookie__slider { background: var(--cm-blue); }
.cookie__switch input:checked + .cookie__slider::after { transform: translateX(18px); }
.cookie__switch input:disabled + .cookie__slider { opacity: .55; }
.cookie__switch input:focus-visible + .cookie__slider { outline: 2px solid var(--cm-blue); outline-offset: 2px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cookie__btn { height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid transparent; font-family: "Lexend Deca", sans-serif; font-size: 14.5px; font-weight: 500; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cookie__btn--primary { background: var(--cm-blue); color: #fff; }
.cookie__btn--primary:hover { background: var(--cm-blue-dark); }
.cookie__btn--ghost { background: #fff; color: var(--cm-ink); border-color: #cfd8e6; }
.cookie__btn--ghost:hover { border-color: var(--cm-ink); background: #f7f9fc; }
.cookie__more { margin-top: 12px; text-align: center; }
.cookie__link { border: 0; background: none; padding: 4px 6px; font-size: 13.5px; color: var(--cm-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie__link:hover, .cookie__link--strong { color: var(--cm-blue); }
.cookie__link--strong { font-weight: 500; }
.cookie__link[hidden] { display: none; }
@media (max-width: 575px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }

/* Contatti */
.contact-card { background: #fff; border: 1px solid var(--cm-line); border-radius: var(--cm-radius); padding: 26px; height: 100%; }
.contact-card span[class*="linearicons"] { font-size: 30px; color: var(--cm-blue); }
.contact-card h3 { margin: 12px 0 6px; }

/* Varie */
.bg-200 { background-color: #f4f7fb !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.block-lg { max-width: 700px; }
.tag-pill { display: inline-block; background: var(--cm-ice); color: var(--cm-blue-dark); font-size: 13px; padding: 4px 12px; border-radius: 99px; margin: 0 6px 6px 0; }
.thumbnail-scaleup-img img { width: 100%; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 26px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--cm-orange); }

/* Contatori: suffisso testuale più piccolo del numero */
.counter-postfix { font-size: .45em; font-weight: 400; letter-spacing: 0; }
.counter-boxed .counter-postfix { font-size: .6em; }
/* Checkbox del modulo: dimensione esplicita (il tema le azzera) */
.lead-form__check input[type="checkbox"] { width: 18px !important; height: 18px !important; min-height: 0; appearance: auto; -webkit-appearance: checkbox; position: static; opacity: 1; }

/* Modulo di recesso: righe da compilare senza stringhe non spezzabili */
.recesso-form { overflow-wrap: anywhere; }
.recesso-line { border-bottom: 1px solid var(--cm-ink); height: 28px; margin-bottom: 14px; }
.recesso-blank { display: inline-block; width: min(240px, 100%); border-bottom: 1px solid var(--cm-ink); height: 1em; vertical-align: baseline; }
@media print { .rd-navbar-wrap, .footer, .cookie, .sticky-cta, .page-loader, .breadcrumb { display: none !important; } }

/* Accordion: il tema "ingreen" non include il gestore slide di [data-multi-switch-target-slide]
   (esiste solo nel tema master, con un'altra libreria). La libreria però applica .active al
   pannello aperto: chiudiamo quindi via CSS i pannelli non attivi. */
.accordion-body[data-multi-switch-target-slide]:not(.active) { display: none; }
.accordion-body[data-multi-switch-target-slide].active { animation: cm-acc-in .28s ease-out; }
@keyframes cm-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .accordion-body[data-multi-switch-target-slide].active { animation: none; } }

/* Mobile: il pulsante "torna su" del tema non deve sovrapporsi al CTA fisso */
@media (max-width: 767px) { .to-top { bottom: 84px !important; } }
