/* Aureon Partners — widget videoconsulenza */
.ab-section { background: linear-gradient(180deg, #f3efe6 0%, #ece5d6 100%); }
.ab-card { display: grid; grid-template-columns: 0.95fr 1.25fr; background: #fff; box-shadow: 0 30px 60px rgba(14,32,54,.14); border-top: 3px solid #8D6326; }
.ab-profile { background: #0E2036; color: #fff; display: flex; flex-direction: column; }
.ab-photo { aspect-ratio: 4 / 3.2; overflow: hidden; position: relative; }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.ab-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,32,54,0) 55%, rgba(14,32,54,.85) 100%); }
.ab-profile-body { padding: 0 34px 34px; margin-top: -40px; position: relative; z-index: 1; }
.ab-eyebrow { display: inline-block; background: #8D6326; color: #fff; font: 700 10.5px/1 'Montserrat', sans-serif; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; }
.ab-title { font-family: 'Playfair Display', serif; font-size: 30px; line-height: 1.2; color: #fff; margin: 18px 0 12px; }
.ab-text { font-family: 'Montserrat', sans-serif; font-size: 13.5px; line-height: 1.8; color: rgba(255,255,255,.78); margin: 0 0 18px; }
.ab-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ab-points li { display: flex; gap: 10px; align-items: center; font-family: 'Montserrat', sans-serif; font-size: 13px; color: #fff; }
.ab-points svg, .ab-card svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ab-points svg { color: #C9A96E; }
.ab-sign { border-top: 1px solid rgba(201,169,110,.35); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.ab-sign strong { font-family: 'Playfair Display', serif; font-size: 20px; color: #ECD6A2; }
.ab-sign span { font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ab-main { padding: 34px 38px; font-family: 'Montserrat', sans-serif; color: #0E2036; min-height: 560px; }
.ab-steps { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.ab-steps span { flex: 1; min-width: 110px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; padding-bottom: 10px; border-bottom: 2px solid #ece6da; }
.ab-steps span.on { color: #0E2036; border-color: #8D6326; }
.ab-steps span.done { color: #8D6326; border-color: #C9A96E; }
.ab-cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ab-cal-h strong { font-family: 'Playfair Display', serif; font-size: 22px; text-transform: capitalize; }
.ab-nav { width: 38px; height: 38px; border: 1px solid #e3dccd; background: #fff; color: #0E2036; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ab-nav:hover:not([disabled]) { border-color: #8D6326; color: #8D6326; }
.ab-nav[disabled] { opacity: .3; cursor: default; }
.ab-wd, .ab-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ab-wd span { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9a9a9a; padding-bottom: 6px; }
.ab-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #c4c4c4; border: 1px solid transparent; background: none; font-family: inherit; }
.ab-free { color: #0E2036; font-weight: 700; background: #f6f2ea; border-color: #eadfca; cursor: pointer; position: relative; transition: background .2s, color .2s, border-color .2s; }
.ab-free::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: #8D6326; }
.ab-free:hover { border-color: #8D6326; }
.ab-sel, .ab-sel:hover { background: #0E2036; color: #ECD6A2; border-color: #0E2036; }
.ab-sel::after { background: #ECD6A2; }
.ab-loading { opacity: .4; }
.ab-slots { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ece6da; }
.ab-slots-h { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: #555; margin-bottom: 12px; }
.ab-slots-h svg { color: #8D6326; }
.ab-slots-h em { font-style: normal; font-weight: 700; color: #0E2036; display: inline-block; }
.ab-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.ab-slot { padding: 11px 0; border: 1px solid #0E2036; background: #fff; color: #0E2036; font: 700 14px 'Montserrat', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.ab-slot:hover, .ab-slot:focus-visible { background: #0E2036; color: #ECD6A2; outline: none; }
.ab-hint { margin-top: 20px; font-size: 13px; color: #777; }
.ab-tz { display: flex; gap: 8px; align-items: center; margin-top: 22px; font-size: 11.5px; color: #8a8a8a; }
.ab-summary { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #f6f2ea; border-left: 3px solid #8D6326; margin-bottom: 20px; }
.ab-summary svg { color: #8D6326; width: 24px; height: 24px; }
.ab-summary div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ab-summary strong { font-size: 14px; display: block; }
.ab-summary span { font-size: 12.5px; color: #555; }
.ab-change { background: none; border: 0; color: #8D6326; font: 700 11px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ab-form { display: grid; gap: 14px; }
.ab-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-form label { display: flex; flex-direction: column; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #555; }
.ab-form input, .ab-form select, .ab-form textarea { font: 400 14px 'Montserrat', sans-serif; color: #0E2036; padding: 11px 12px; border: 1px solid #ddd5c5; background: #fff; text-transform: none; letter-spacing: 0; border-radius: 0; }
.ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus { outline: none; border-color: #8D6326; box-shadow: 0 0 0 3px rgba(141,99,38,.12); }
.ab-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; font-size: 12px !important; line-height: 1.6; }
.ab-check input { margin-top: 3px; }
.ab-check a { color: #8D6326; }
.ab-hp { position: absolute !important; left: -9999px !important; }
.ab-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px; background: #0E2036; color: #ECD6A2; border: 0; font: 700 11.5px 'Montserrat', sans-serif; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.ab-submit:hover { background: #8D6326; color: #fff; }
.ab-submit[disabled] { opacity: .6; cursor: wait; }
.ab-note { font-size: 11.5px; color: #8a8a8a; margin: 0; }
.ab-error { padding: 12px 14px; background: #fbeeec; border-left: 3px solid #a8483a; color: #7c2d22; font-size: 13px; margin-bottom: 16px; }
.ab-done { text-align: center; padding: 30px 10px; }
.ab-done-ic { width: 72px; height: 72px; border-radius: 50%; background: #0E2036; color: #ECD6A2; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 0 8px rgba(141,99,38,.15); }
.ab-done-ic svg { width: 34px; height: 34px; }
.ab-done h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 0 0 8px; color: #0E2036; }
.ab-done-when { font-weight: 700; color: #8D6326; margin: 0 0 16px; }
.ab-done-when::first-letter, .ab-summary strong::first-letter, .ab-slots-h em::first-letter { text-transform: uppercase; }
.ab-done p { font-size: 13.5px; line-height: 1.8; color: #444; max-width: 420px; margin: 0 auto 12px; }
.ab-done-sign { font-family: 'Playfair Display', serif; font-style: italic; font-size: 17px !important; color: #0E2036 !important; }
.ab-again { margin-top: 10px; background: none; border: 1px solid #8D6326; color: #8D6326; padding: 11px 18px; font: 700 10.5px 'Montserrat', sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
@media (min-width: 901px) { .ab-day { aspect-ratio: auto; height: 48px; } }
@media (max-width: 900px) {
  .ab-card { grid-template-columns: 1fr; }
  .ab-photo { aspect-ratio: 4 / 3; }
  .ab-main { padding: 26px 20px; min-height: 0; }
  .ab-profile-body { padding: 0 22px 26px; }
  .ab-title { font-size: 25px; }
}
@media (max-width: 520px) {
  .ab-row { grid-template-columns: 1fr; }
  .ab-steps span { min-width: 0; font-size: 9.5px; letter-spacing: .06em; }
  .ab-day { font-size: 13px; }
  .ab-wd, .ab-grid { gap: 4px; }
}

/* ─── Pulsante flottante: solo icona, si apre unicamente al clic ─── */
.abf { position: fixed; right: 24px; bottom: 24px; z-index: 900; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .5s ease, transform .5s ease; }
.abf.show { opacity: 1; transform: none; }
.abf-btn { display: block; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.abf-photo { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 14px 34px rgba(8,18,30,.4); transition: transform .25s, box-shadow .25s; }
.abf-btn:hover .abf-photo, .abf-btn:focus-visible .abf-photo { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 44px rgba(8,18,30,.5); }
.abf-btn:focus-visible { outline: 2px solid #C9A96E; outline-offset: 4px; }
.abf-photo img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #C9A96E; display: block; background: #0E2036; }
.abf-photo i { position: absolute; right: -4px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: #8D6326; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.abf-photo i svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.abf-photo::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(201,169,110,.6); animation: abf-pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes abf-pulse { 0% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1.28); opacity: 0; } }
.abf-tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: #0E2036; color: #fff; border: 1px solid rgba(201,169,110,.55); padding: 9px 14px; font-family: 'Playfair Display', serif; font-size: 14px; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; box-shadow: 0 10px 24px rgba(8,18,30,.3); }
.abf-tip small { display: block; font-family: 'Montserrat', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #C9A96E; margin-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .abf:hover .abf-tip, .abf-btn:focus-visible + .abf-tip { opacity: 1; transform: translate(0, -50%); }
}
.abf-close svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.abf-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.abf-modal.open { display: flex; animation: abf-in .3s ease; }
@keyframes abf-in { from { opacity: 0; } to { opacity: 1; } }
.abf-backdrop { position: absolute; inset: 0; background: rgba(8,18,30,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.abf-dialog { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto; animation: abf-up .35s ease; }
@keyframes abf-up { from { transform: translateY(24px); } to { transform: none; } }
.abf-dialog .ab-card { box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.abf-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #0E2036; border: 1px solid rgba(201,169,110,.6); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.abf-close:hover { background: #8D6326; }
html.abf-lock, html.abf-lock body { overflow: hidden; }
@media (max-width: 900px) {
  .abf-dialog .ab-photo { aspect-ratio: 16 / 9; }
  .abf-dialog .ab-text, .abf-dialog .ab-points { display: none; }
}
@media (max-width: 600px) {
  .abf { right: 14px; bottom: 14px; }
  .abf-photo, .abf-photo img { width: 58px; height: 58px; }
  .abf-modal { padding: 0; align-items: stretch; }
  .abf-dialog { max-height: 100vh; height: 100%; }
}
@media (prefers-reduced-motion: reduce) { .abf-photo::after { animation: none; } .abf, .abf-dialog, .abf-modal.open { transition: none; animation: none; } }
.abf-dialog .ab-main { padding-top: 64px; }
