/* fixhgsm.com - personalizzazioni sopra il template Sofbox (Bootstrap 4) */
:root {
  /* Palette del template Sofbox (stessa grafica di sofbox-v4/index.html) */
  --fg-navy: #1e1e1e;
  --fg-blue: #6e73ef;
  --fg-blue-dark: #a378fc;
  --fg-soft: #f1f0ff;
  --fg-border: #eff1fe;
  --fg-success: #16a34a;
  --fg-warning: #d97706;
  --fg-danger: #dc2626;
}

body { background: #ffffff; }

/* ---------- header (template) ---------- */
header .navbar .navbar-brand img.logo, header .navbar .navbar-brand img.sticky-logo { height: 44px; width: auto; }
header.menu-sticky .navbar .navbar-brand .sticky-logo { height: 44px; }
.fg-inner header.main-header { background: #ffffff; box-shadow: 0 0 30px 0 rgba(0, 0, 0, .1); }
header .sub-main .shop_list { display: flex; align-items: center; margin: 0; padding: 0; }
header .sub-main .shop_list li { margin-left: 12px; }
header .sub-main .button a { white-space: nowrap; }
#loading img.fg-loader-logo { width: 240px; max-width: 70vw; }
.fg-header-actions { display: flex; align-items: center; gap: 10px; margin-left: 24px; }
.fg-lang .dropdown-toggle { background: transparent; border: 1px solid var(--fg-border); border-radius: 30px; padding: 6px 12px; color: var(--fg-navy); font-size: 14px; }
.fg-lang .dropdown-menu { min-width: 150px; border-radius: 10px; border: 1px solid var(--fg-border); box-shadow: 0 10px 30px rgba(15, 27, 61, .1); }
.fg-lang .dropdown-item.active { background: var(--fg-soft); color: var(--fg-blue); }
.fg-btn { display: inline-block; border-radius: 30px; padding: 10px 22px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 2px solid transparent; transition: all .25s ease; text-decoration: none !important; cursor: pointer; }
.fg-btn-primary { background: linear-gradient(90deg, var(--fg-blue) 0%, var(--fg-blue-dark) 100%); color: #fff !important; box-shadow: var(--primary-box-shadow); }
.fg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(26, 115, 232, .35); }
.fg-btn-outline { border-color: var(--fg-blue); color: var(--fg-blue) !important; background: #fff; }
.fg-btn-outline:hover { background: var(--fg-soft); }
.fg-btn-light { background: #fff; color: var(--fg-blue) !important; }
.fg-btn-sm { padding: 6px 14px; font-size: 13px; }
.fg-btn-block { display: block; width: 100%; text-align: center; }
.fg-btn[disabled] { opacity: .6; pointer-events: none; }
.fg-page-offset { padding-top: 78px; }

/* ---------- hero ---------- */
.fg-hero { position: relative; padding: 150px 0 90px; background: radial-gradient(1200px 500px at 85% 10%, rgba(26, 115, 232, .14), transparent 60%), linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); overflow: hidden; }
.fg-hero h1 { font-size: 46px; line-height: 1.15; font-weight: 700; margin-bottom: 20px; }
.fg-hero h1 span { background: linear-gradient(90deg, var(--fg-blue), var(--fg-blue-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fg-hero .lead { font-size: 18px; margin-bottom: 30px; }
.fg-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fg-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--fg-border); border-radius: 30px; padding: 6px 14px; font-size: 13px; color: var(--fg-navy); }
.fg-pill i { color: var(--fg-blue); }
.fg-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 700; color: var(--fg-blue); background: var(--fg-soft); padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }

/* mockup applicazione (HTML puro, nessuna immagine) */
.fg-mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 70px rgba(15, 27, 61, .18); overflow: hidden; border: 1px solid var(--fg-border); font-size: 13px; }
.fg-mock-bar { background: var(--fg-navy); padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.fg-mock-bar span.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; display: inline-block; }
.fg-mock-bar span.dot:nth-child(2) { background: #febc2e; }
.fg-mock-bar span.dot:nth-child(3) { background: #28c840; }
.fg-mock-bar .url { margin-left: 12px; background: rgba(255, 255, 255, .12); color: #cfd8ea; border-radius: 6px; padding: 2px 10px; font-size: 12px; flex: 1; }
.fg-mock-body { display: flex; min-height: 300px; }
.fg-mock-side { width: 150px; background: #f6f8fc; border-right: 1px solid var(--fg-border); padding: 14px 10px; }
.fg-mock-side div { padding: 7px 10px; border-radius: 8px; color: var(--text-color); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-mock-side div i { width: 18px; color: #8a97ad; }
.fg-mock-side div.on { background: var(--fg-blue); color: #fff; }
.fg-mock-side div.on i { color: #fff; }
.fg-mock-main { flex: 1; padding: 16px; min-width: 0; }
.fg-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.fg-mock-kpi { border: 1px solid var(--fg-border); border-radius: 10px; padding: 10px; }
.fg-mock-kpi b { display: block; font-size: 18px; color: var(--fg-navy); }
.fg-mock-kpi small { color: #8a97ad; }
.fg-mock-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--fg-border); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.fg-mock-row .dev { font-weight: 600; color: var(--fg-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-mock-row .tag { font-size: 11px; border-radius: 20px; padding: 2px 9px; white-space: nowrap; }
.tag-blue { background: #e7f0fd; color: var(--fg-blue); }
.tag-green { background: #e7f7ed; color: var(--fg-success); }
.tag-amber { background: #fff4e0; color: var(--fg-warning); }

/* ---------- sezioni ---------- */
.fg-section { padding: 90px 0; }
.fg-section-soft { background: #f6f9ff; }
.fg-section-title { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.fg-section-title h2 { font-size: 36px; font-weight: 700; margin-bottom: 14px; }
.fg-card { background: #fff; border: 1px solid var(--fg-border); border-radius: 16px; padding: 28px; height: 100%; transition: all .25s ease; }
.fg-card:hover { box-shadow: 0 18px 40px rgba(15, 27, 61, .08); transform: translateY(-3px); }
.fg-icon { width: 54px; height: 54px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--fg-blue), var(--fg-blue-dark)); margin-bottom: 18px; }
.fg-card h4 { font-size: 20px; margin-bottom: 10px; }
.fg-card p { margin-bottom: 0; }
.fg-check-list { list-style: none; padding: 0; margin: 0; }
.fg-check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.fg-check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--fg-blue); }
.fg-steps { counter-reset: step; }
.fg-step { position: relative; padding-left: 64px; margin-bottom: 30px; }
.fg-step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--fg-soft); color: var(--fg-blue); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.fg-cta { background: linear-gradient(120deg, var(--fg-blue) 0%, var(--fg-blue-dark) 100%); border-radius: 24px; padding: 56px 40px; color: #e8f0ff; }
.fg-cta h2 { color: #fff; }
.fg-feature-group { margin-bottom: 60px; }
.fg-feature-group h3 { font-size: 26px; margin-bottom: 12px; }

/* ---------- page header ---------- */
.fg-page-head { padding: 140px 0 50px; background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%); text-align: center; }
.fg-page-head h1 { font-size: 38px; font-weight: 700; margin-bottom: 10px; }
.fg-page-head .breadcrumb { background: transparent; justify-content: center; padding: 0; margin: 0; font-size: 14px; }

/* ---------- pricing ---------- */
.fg-price { border: 1px solid var(--fg-border); border-radius: 20px; padding: 34px 30px; background: #fff; height: 100%; display: flex; flex-direction: column; position: relative; }
.fg-price.highlight { border: 2px solid var(--fg-blue); box-shadow: 0 24px 50px rgba(26, 115, 232, .15); }
.fg-price .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--fg-blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.fg-extra { border: 1px solid var(--fg-border); border-radius: 16px; padding: 20px 22px; background: #fff; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fg-extra h4 { font-size: 17px; margin-bottom: 4px; }
.fg-extra-info p { font-size: 14px; }
.fg-extra-buy { text-align: right; flex-shrink: 0; }
.fg-extra-price { font-size: 22px; font-weight: 700; line-height: 1.2; }
.fg-extra-price del { font-size: 14px; font-weight: 400; opacity: .6; margin-right: 4px; }
@media (max-width: 575px) { .fg-extra { flex-direction: column; align-items: stretch; } .fg-extra-buy { text-align: left; } }
.fg-price h3 { font-size: 22px; margin-bottom: 8px; }
.fg-price .amount { font-size: 42px; font-weight: 700; color: var(--fg-navy); line-height: 1.1; }
.fg-price .amount del { font-size: 20px; color: #9aa5b8; font-weight: 400; margin-right: 6px; }
.fg-price .amount-note { font-size: 13px; color: #8a97ad; margin-bottom: 20px; }
.fg-price ul { flex: 1; margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.fg-faq .card { border: 1px solid var(--fg-border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.fg-faq .card-header { background: #fff; border: 0; padding: 0; }
.fg-faq .card-header button { width: 100%; text-align: left; padding: 18px 22px; font-weight: 600; color: var(--fg-navy); background: transparent; border: 0; display: flex; justify-content: space-between; gap: 12px; }
.fg-faq .card-header button:focus { outline: none; }
.fg-faq .card-header button i { transition: transform .2s; color: var(--fg-blue); margin-top: 4px; }
.fg-faq .card-header button[aria-expanded="true"] i { transform: rotate(180deg); }
.fg-faq .card-body { padding: 0 22px 20px; }

/* ---------- form ---------- */
.fg-form-card { background: #fff; border: 1px solid var(--fg-border); border-radius: 18px; padding: 32px; box-shadow: 0 16px 40px rgba(15, 27, 61, .06); }
.fg-form-card h2, .fg-form-card h3 { font-size: 24px; margin-bottom: 18px; }
.form-control, .custom-select { border-radius: 10px; border-color: #d7e0ee; min-height: 44px; }
textarea.form-control { min-height: 120px; }
.form-control:focus, .custom-select:focus { border-color: var(--fg-blue); box-shadow: 0 0 0 3px rgba(26, 115, 232, .15); }
label { font-weight: 500; color: var(--fg-navy); font-size: 14px; }
.fg-muted { color: #8a97ad; font-size: 13px; }
.fg-summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--fg-border); }
.fg-summary-row.total { border-bottom: 0; font-size: 20px; font-weight: 700; color: var(--fg-navy); }
.fg-pay-option { border: 2px solid var(--fg-border); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-bottom: 10px; }
.fg-pay-option input { margin-top: 5px; }
.fg-pay-option.active { border-color: var(--fg-blue); background: var(--fg-soft); }
.fg-key { font-family: Consolas, Menlo, monospace; font-size: 18px; letter-spacing: 1px; background: var(--fg-soft); border: 1px dashed var(--fg-blue); border-radius: 10px; padding: 12px 16px; color: var(--fg-navy); word-break: break-all; }
.fg-bank { background: #f6f9ff; border-radius: 12px; padding: 18px 20px; }
.fg-bank dt { font-weight: 600; color: var(--fg-navy); }
.fg-bank dd { font-family: Consolas, Menlo, monospace; margin-bottom: 10px; word-break: break-all; }

/* ---------- area clienti ---------- */
.fg-account { padding: 120px 0 80px; background: #f6f9ff; min-height: 80vh; }
.fg-account-nav { background: #fff; border: 1px solid var(--fg-border); border-radius: 16px; padding: 12px; }
.fg-account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: var(--fg-navy); font-weight: 500; }
.fg-account-nav a i { width: 18px; color: #8a97ad; }
.fg-account-nav a.active, .fg-account-nav a:hover { background: var(--fg-soft); color: var(--fg-blue); text-decoration: none; }
.fg-account-nav a.active i { color: var(--fg-blue); }
.fg-account-nav form button { display: flex; align-items: center; gap: 10px; padding: 10px 14px; width: 100%; border: 0; background: none; color: var(--fg-danger); font-weight: 500; border-radius: 10px; }
.fg-account-nav form button:hover { background: #fdecec; }
.fg-panel { background: #fff; border: 1px solid var(--fg-border); border-radius: 16px; padding: 26px; margin-bottom: 24px; }
.fg-panel h2 { font-size: 22px; margin-bottom: 18px; }
.fg-panel h3 { font-size: 18px; margin-bottom: 12px; }
.fg-stat { background: #fff; border: 1px solid var(--fg-border); border-radius: 16px; padding: 20px; height: 100%; }
.fg-stat b { font-size: 28px; color: var(--fg-navy); display: block; }
.table td, .table th { vertical-align: middle; }
.table thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #8a97ad; font-weight: 600; }
.badge { font-weight: 600; padding: .45em .7em; border-radius: 20px; }
.fg-thread { list-style: none; padding: 0; }
.fg-msg { border: 1px solid var(--fg-border); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.fg-msg.admin { background: var(--fg-soft); border-color: #cfe0fb; }
.fg-msg-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #8a97ad; margin-bottom: 8px; }
.fg-msg-head b { color: var(--fg-navy); }
.fg-msg-body { white-space: normal; color: #33415c; overflow-wrap: anywhere; }
.fg-attach { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: #fff; border: 1px solid var(--fg-border); border-radius: 8px; padding: 4px 10px; margin: 8px 6px 0 0; }

/* ---------- alert / flash ---------- */
.fg-flash { position: relative; z-index: 5; }
.alert { border-radius: 12px; }

/* ---------- footer ---------- */
.fg-footer { background: var(--fg-navy); color: #b9c4da; padding: 70px 0 30px; }
.fg-footer h5 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.fg-footer a { color: #b9c4da; }
.fg-footer a:hover { color: #fff; }
.fg-footer ul { list-style: none; padding: 0; margin: 0; }
.fg-footer ul li { margin-bottom: 8px; }
.fg-footer .fg-footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.fg-footer .fg-footer-logo img { height: 40px; }
.fg-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: 13px; }

#back-to-top .top { background: var(--fg-blue); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .fg-hero { padding: 120px 0 60px; }
  .fg-hero h1 { font-size: 34px; }
  .fg-header-actions { margin: 14px 0; flex-wrap: wrap; }
  header .navbar .navbar-nav > li { margin: 0; }
  header .navbar-collapse { background: #fff; padding: 10px 0 4px; }
  .fg-section { padding: 60px 0; }
  .fg-section-title h2 { font-size: 28px; }
  .fg-account-nav { position: static; margin-bottom: 20px; }
}
@media (max-width: 575px) {
  .fg-hero h1 { font-size: 28px; }
  .fg-mock-side { display: none; }
  .fg-mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .fg-form-card, .fg-panel { padding: 20px; }
  .fg-cta { padding: 36px 20px; }
  .fg-page-head h1 { font-size: 28px; }
}

/* Con messaggi flash in cima, la prima sezione non deve ripetere lo spazio dell'header fisso */
.fg-after-flash .fg-page-head, .fg-after-flash .fg-hero, .fg-after-flash .fg-account { padding-top: 30px; }

/* Freccia del selettore lingua: il template usa un glifo Ionicons non caricato */
.fg-lang .dropdown-toggle::after { content: ""; font-family: inherit; display: inline-block; margin-left: .35em; vertical-align: .2em; border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; border-bottom: 0; }

/* ---------- home: elementi del template con contenuti Fixh GSM ---------- */
.fg-home .rs-p-wp-fix { margin: 0; }
.fg-feature-mock { max-width: 584px; }
.fg-feature-mock .fg-mock { transform: perspective(1200px) rotateY(6deg); }
.fg-device { display: inline-flex !important; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #ffffff; box-shadow: 0 10px 25px rgba(110, 115, 239, .25); }
.fg-device img { width: 30px; height: 30px; }
.fg-circle-logo { background: #ffffff !important; display: flex; align-items: center; justify-content: center; }
.fg-circle-logo img { width: 80%; height: auto; }
.fg-blog-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--fg-blue) 0%, var(--fg-blue-dark) 100%); color: #ffffff !important; font-size: 64px; }
.fg-blog-visual:hover { color: #ffffff; opacity: .92; }
.fg-contact-logo { max-width: 260px; }
.fg-contact-visual { padding: 20px 0; }
#iq-contact iframe { width: 100%; max-width: 100%; }
#iq-contact .form-control { margin-bottom: 20px; }
.advance-feature .service-price input[type=checkbox]:disabled + label { opacity: 1; cursor: default; }
.advance-feature .notes span { text-transform: none; }
.advance-feature .user-count input, .advance-feature .month-count input, .advance-feature .total-count input { font-weight: 600; color: #1e1e1e; }

/* footer del template */
.iq-footer .fg-footer-logo { display: inline-block; background: #ffffff; border-radius: 10px; padding: 10px 14px; margin-bottom: 1rem; }
.iq-footer .fg-footer-logo img { height: 40px; width: auto; }
.iq-footer .fg-footer-legal { font-size: 13px; opacity: .85; }
.iq-footer .fg-footer-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #ffffff; font-size: 20px; margin-right: 15px; float: left; }
.iq-footer .sofbox-subscribe .sign-btn { cursor: pointer; }

/* correzioni home */
header .navbar .navbar-nav > li { margin: 0 24px 0 0; }
header .navbar .navbar-nav > li:last-child { margin-right: 0; }
header .sub-main .fg-lang .dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; background: rgba(255, 255, 255, .85); border: 1px solid #e6e6f5; border-radius: 30px; padding: 6px 12px; font-size: 14px; color: #1e1e1e; }
header .sub-main .fg-lang .dropdown-menu { min-width: 150px; }
/* Il template mostra i dropdown dell header solo con .menu-show (hover); Bootstrap usa .show. */
header .sub-main .fg-lang .dropdown-menu.show { display: block; }
header .sub-main .fg-lang .dropdown-menu { padding: 6px 0; margin-top: 6px; }
header .sub-main .fg-lang .dropdown-item { display: block; line-height: 1.4; padding: 8px 16px; font-size: 14px; }
@media (max-width: 991px) { header .sub-main .fg-lang .dropdown-menu { right: auto; left: 0; } }
.testimonial-circle .testimonial-img ul li img.fg-device { background: #ffffff; padding: 18px; object-fit: contain; box-shadow: 0 10px 25px rgba(110, 115, 239, .25); }
.fg-feature-mock { width: 100%; max-width: 620px; }
.fg-feature-mock .fg-mock { font-size: 14px; }
.fg-feature-mock .fg-mock-body { min-height: 380px; }
@media (max-width: 1199px) { header .navbar .navbar-nav > li { margin-right: 16px; } }

/* header largo: il menu resta su una riga */
header .fg-header-wide { max-width: 1600px; padding: 0 40px; }
header .navbar .navbar-nav > li > a.nav-link { white-space: nowrap; }
header .navbar .navbar-collapse { flex-grow: 1; }
@media (max-width: 1399px) { header .fg-header-wide { padding: 0 20px; } header .navbar .navbar-nav > li { margin-right: 18px; } }
@media (max-width: 1199px) { header .navbar .navbar-brand img.logo, header .navbar .navbar-brand img.sticky-logo { height: 36px; } header .navbar .navbar-nav > li { margin-right: 12px; } header .navbar .navbar-nav > li > a.nav-link { font-size: 15px; } }
header .sub-main .shop_list li.list-inline-item { margin: 0 0 0 12px !important; }
header .sub-main { margin-left: 20px; }
/* le voci tradotte restano come scritte (niente maiuscole forzate su ogni parola) */
header .navbar .navbar-nav > li > a.nav-link, header .sub-main .button a, .button, .button-gradient, .advance-feature .pricing-table .nav-link { text-transform: none; }

/* Moduli delle pagine interne: annulla gli stili globali del template sugli input
   (float:left, testo bianco, bordo 2px, margin-bottom 30px) che rompono le griglie Bootstrap. */
main.main-content .form-control,
main.main-content .custom-select,
main.main-content input[type=text], main.main-content input[type=email], main.main-content input[type=password],
main.main-content input[type=tel], main.main-content input[type=number], main.main-content input[type=date],
main.main-content textarea {
  float: none; width: 100%; height: 48px; line-height: 1.5; margin-bottom: 0;
  padding: 10px 15px; color: #1e1e1e; background: #ffffff;
  border: 1px solid #e3e3f3; border-radius: 6px; box-shadow: none;
}
main.main-content textarea, main.main-content textarea.form-control { height: auto; min-height: 120px; }
main.main-content .form-control:hover, main.main-content .form-control:focus,
main.main-content textarea:hover, main.main-content textarea:focus,
main.main-content .custom-select:focus {
  border: 1px solid var(--fg-blue); background: #ffffff; color: #1e1e1e; box-shadow: 0 0 0 3px rgba(110, 115, 239, .15);
}
main.main-content .form-control::placeholder { color: #9aa0b4; }
main.main-content .form-control[disabled], main.main-content .form-control[readonly] { background: #f6f6fb; color: #6b7280; }
main.main-content .form-control-file { float: none; height: auto; border: 0; padding: 0; line-height: normal; background: transparent; }
main.main-content .form-group > label { display: block; margin-bottom: 6px; }
main.main-content .custom-control-input { float: none; width: 1rem; height: 1.25rem; margin: 0; }
main.main-content .input-group > .form-control { width: 1%; }
main.main-content .form-inline .form-control { width: auto; }

/* il box "Pronto a iniziare?" del footer sporge verso l'alto: spazio libero sotto il contenuto delle pagine interne */
main.main-content { padding-bottom: 160px; }
.fg-account { padding-bottom: 180px; }

/* pagine legali e FAQ: testo lungo leggibile */
.fg-rich-title { font-size: 20px; margin: 28px 0 10px; }
.fg-form-card > .fg-rich-title:first-child { margin-top: 0; }
.fg-form-card p, .fg-faq .card-body p { font-size: 15px; line-height: 1.75; }
.fg-form-card .fg-check-list li { font-size: 15px; line-height: 1.7; }
header .sub-main .fg-demo-btn .fg-btn { white-space: nowrap; padding: 9px 16px; }
@media (max-width: 1199px) { header .sub-main .fg-demo-btn { display: none !important; } }
header .sub-main .fg-demo-btn a.fg-btn { line-height: 1.2 !important; height: auto; text-transform: none !important; border-radius: 4px; padding: 11px 18px; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.fg-server-info { display: flex; flex-wrap: wrap; gap: 8px 24px; background: var(--fg-soft); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
/* circle.png del template non esiste: al suo posto un pallino che ruota con l'anello. */
.testimonial-circle .effect-circle { position: relative; }
.testimonial-circle .effect-circle:before { background: #ff6a5c; width: 12px; height: 12px; border-radius: 50%; position: absolute; top: -6px; left: 50%; margin-left: -6px; }

/* ---------- guide /faq ---------- */
.fg-guide-search { position: relative; max-width: 640px; margin: 0 auto 24px; }
.fg-guide-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--fg-blue); z-index: 2; pointer-events: none; }
.fg-guide-search input { height: 54px; border-radius: 30px; padding-left: 50px !important; border: 1px solid var(--fg-border); box-shadow: 0 10px 30px rgba(15, 27, 61, .06); }
.fg-guide-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 50px; }
.fg-guide-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 30px; background: var(--fg-soft); color: var(--fg-navy); font-size: 14px; text-decoration: none; }
.fg-guide-cats a i { color: var(--fg-blue); }
.fg-guide-cats a:hover { background: var(--fg-blue); color: #fff; }
.fg-guide-cats a:hover i { color: #fff; }
.fg-guide-cat { margin-bottom: 50px; scroll-margin-top: 100px; }
.fg-guide-cat-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.fg-guide-cat-head .fg-icon { flex: 0 0 54px; margin: 0; }
.fg-guide-cat-head h2 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.fg-guide-cat-head p { margin: 0; }
.fg-guide-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--fg-border); border-radius: 16px; padding: 22px; transition: all .25s ease; text-decoration: none !important; }
.fg-guide-card:hover { box-shadow: 0 18px 40px rgba(15, 27, 61, .08); transform: translateY(-3px); border-color: var(--fg-blue); }
.fg-guide-card h3 { font-size: 18px; font-weight: 700; color: var(--fg-navy); margin-bottom: 8px; line-height: 1.35; }
.fg-guide-card p { font-size: 14px; line-height: 1.6; color: var(--text-color); flex: 1; margin-bottom: 12px; }
.fg-guide-more { font-size: 14px; font-weight: 600; color: var(--fg-blue); }
.fg-guide-empty { padding: 30px 0; font-size: 17px; }
.fg-guide-head { text-align: left; padding-bottom: 30px; }
.fg-guide-head .breadcrumb { justify-content: flex-start; margin-bottom: 14px; flex-wrap: wrap; }
.fg-guide-head h1 { font-size: 36px; line-height: 1.2; }
.fg-guide-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin: 0; }
.fg-guide-meta i { color: var(--fg-blue); margin-right: 4px; }
.fg-guide-body { font-size: 16px; line-height: 1.8; }
.fg-guide-body section { scroll-margin-top: 100px; padding: 0; position: static; overflow: visible; }
.fg-guide-body h2 { font-size: 26px; font-weight: 700; margin: 38px 0 14px; }
.fg-guide-body p { margin-bottom: 16px; }
.fg-guide-body a { color: var(--fg-blue); text-decoration: underline; }
.fg-guide-body .fg-faq a, .fg-guide-pager a { text-decoration: none; }
.fg-guide-body .fg-check-list { margin-bottom: 18px; }
.fg-guide-answer { background: var(--fg-soft); border-left: 4px solid var(--fg-blue); border-radius: 12px; padding: 20px 24px; margin-bottom: 10px; }
.fg-guide-answer strong { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--fg-blue); margin-bottom: 6px; }
.fg-guide-answer p { margin: 0; font-size: 17px; color: var(--fg-navy); }
.fg-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 18px; }
.fg-steps li { counter-increment: step; position: relative; padding: 0 0 14px 48px; }
.fg-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--fg-blue), var(--fg-blue-dark)); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.fg-guide-body .fg-faq h3 { font-size: 16px; }
.fg-guide-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; border-top: 1px solid var(--fg-border); padding-top: 24px; }
.fg-guide-pager a { display: flex; flex-direction: column; max-width: 48%; font-weight: 600; color: var(--fg-navy); }
.fg-guide-pager a small { color: var(--fg-blue); font-weight: 600; margin-bottom: 4px; }
.fg-guide-pager a.next { text-align: right; margin-left: auto; }
.fg-guide-side { position: static; }
.fg-toc { padding-left: 18px; margin: 0; font-size: 14px; line-height: 1.5; }
.fg-toc li { margin-bottom: 8px; }
.fg-toc a, .fg-guide-related a { color: var(--fg-navy); }
.fg-toc a:hover, .fg-guide-related a:hover { color: var(--fg-blue); }
.fg-guide-related { list-style: none; padding: 0; margin: 0 0 12px; font-size: 15px; }
.fg-guide-related li { padding: 8px 0; border-bottom: 1px solid var(--fg-border); }
.fg-guide-all { font-size: 14px; font-weight: 600; color: var(--fg-blue); }
.fg-guide-cta { background: linear-gradient(160deg, #fff 0%, var(--fg-soft) 100%); }
@media (max-width: 991px) {
  .fg-guide-side { position: static; margin-top: 30px; }
  .fg-guide-head h1 { font-size: 28px; }
}
