/*
  QuickConto - allineamento visivo a QuickMastro
  Da caricare DOPO css/home-2026.css
  Mantiene la palette Melograno di QuickConto, ma usa tipografia,
  pesi, raggi e densita visiva piu vicini a QuickMastro.
*/

/* ===== Tipografia generale ===== */
body{
  font-family:'Archivo',Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums;
}

/* ===== Header / brand ===== */
/* =========================================================
   HEADER UNICO QUICKCONTO
   stesso stile della homepage
   ========================================================= */

.qc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    padding: 0;
}

.qc-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.qc-header .qc-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    text-decoration: none;
}

.qc-header .qc-brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: none;
}

.qc-header .qc-brand-name {
    display: flex;
    flex-direction: column;
    font-size: 21px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.035em;
}

    .qc-header .qc-brand-name small {
        margin-top: 2px;
        font-size: 11.5px;
        line-height: 1.15;
        font-weight: 500;
        letter-spacing: .01em;
        color: var(--muted);
    }

.qc-header .qc-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 5px;
}

    .qc-header .qc-nav > a,
    .qc-header .qc-nav-group-toggle {
        display: flex;
        align-items: center;
        min-height: 40px;
        padding: 10px 9px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        color: var(--ink-2);
        font-family: 'Archivo', Arial, sans-serif;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
    }

        .qc-header .qc-nav > a:hover,
        .qc-header .qc-nav-group-toggle:hover,
        .qc-header .qc-nav > a.is-current {
            background: var(--accent-soft);
            color: var(--accent-strong);
        }

.qc-header .qc-nav-submenu {
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(38,51,59,.06);
}

    .qc-header .qc-nav-submenu a {
        font-family: 'Archivo', Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        border-radius: 3px;
    }

.qc-brand-logo{
  width:38px;
  height:38px;
  border-radius:4px;
  box-shadow:none;
}

.qc-brand-name{
  font-size:21px;
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.035em;
}

.qc-brand-name small{
  margin-top:2px;
  font-size:11.5px;
  font-weight:500;
  line-height:1.15;
  letter-spacing:.01em;
}

.qc-nav{
  gap:5px;
}

.qc-nav>a,
.qc-nav-group-toggle{
  padding:10px 9px;
  border-radius:4px;
  font-size:13px;
  font-weight:500;
}

.qc-nav>a:hover,
.qc-nav-group-toggle:hover,
.qc-nav>a.is-current,
.qc-nav-group-toggle.is-current{
  background:var(--accent-soft);
  color:var(--accent-strong);
}

.qc-nav-submenu{
  border-radius:4px;
  box-shadow:0 8px 22px rgba(38,51,59,.05);
}

.qc-nav-submenu a{
  border-radius:3px;
  font-size:14px;
}

/* ===== Bottoni ===== */
.qc-btn{
  min-height:48px;
  padding:12px 21px;
  border-radius:4px;
  font-size:14px;
  line-height:1.45;
  font-weight:600;
}

.qc-btn-primary{
  box-shadow:none;
}

.qc-btn-primary:hover{
  box-shadow:none;
}

/* ===== Hero ===== */
.qc-hero{
  padding:56px 0 0;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}

.qc-hero-grid{
  gap:48px;
}

.qc-eyebrow,
.qc-section-no,
.qc-panel-kicker,
.qc-price-kicker{
  font-size:11px;
  line-height:1.5;
  letter-spacing:.14em;
  font-weight:700;
}

.qc-hero-copy h1{
  max-width:16ch;
  margin:10px 0 18px;
  font-size:clamp(34px,4vw,49px);
  line-height:1.16;
  letter-spacing:-.035em;
  font-weight:800;
}

.qc-hero-intro{
  max-width:52ch;
  margin-bottom:22px;
  font-size:17px;
  line-height:1.65;
}

.qc-hero-points{
  gap:7px;
}

.qc-hero-points span{
  padding:5px 11px;
  border-radius:3px;
  font-size:12px;
  font-weight:600;
}

.qc-product-frame{
  border-radius:6px;
  box-shadow:none;
}

.qc-visual-note{
  border-radius:4px;
  box-shadow:none;
  font-size:12px;
}

.qc-visual-note strong{
  font-size:12px;
  font-weight:600;
}

/* ===== Flusso Tavolo / Comanda / Cucina / Conto ===== */
.qc-flow{
  padding:32px 0 28px;
}

.qc-flow-title{
  font-size:14px;
  font-weight:600;
}

.qc-flow-grid{
  gap:1px;
  padding:1px;
  background:var(--line);
}

.qc-flow-grid li{
  padding:20px;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.qc-flow-grid span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}

.qc-flow-grid strong{
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}

.qc-flow-grid small{
  font-size:13px;
  line-height:1.55;
}

/* ===== Sezioni ===== */
.qc-section{
  padding:64px 0;
}

.qc-section-heading{
  align-items:flex-end;
  gap:32px;
  margin-bottom:32px;
  width:100%;
  min-width:0;
}

.qc-section-heading h2,
.qc-closing h2{
  margin:7px 0 10px;
  font-size:clamp(26px,3vw,34px);
  line-height:1.2;
  letter-spacing:-.025em;
  font-weight:700;
}

.qc-section-heading p,
.qc-lead{
  font-size:15px;
  line-height:1.65;
}

.qc-text-link{
  font-size:14px;
  font-weight:600;
}

/* ===== Schede pubblico ===== */
.qc-audience-grid{
  gap:1px;
  padding:1px;
  background:var(--line);
}

.qc-audience-card{
  padding:23px 20px;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.qc-audience-icon{
  width:38px;
  height:38px;
  border-radius:4px;
  font-size:12px;
  font-weight:700;
}

.qc-audience-card h3,
.qc-price-card h3,
.qc-compat-grid h3,
.qc-tab-panel h3,
.qc-web-cards strong{
  font-size:15px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:-.01em;
}

.qc-audience-card p{
  font-size:13px;
  line-height:1.55;
}

/* ===== Funzioni / tabs ===== */
.qc-feature-tabs{
  grid-template-columns:230px 1fr;
  gap:0;
  border:1px solid var(--line);
  background:#fff;
}

.qc-tab-list{
  gap:0;
  border-right:1px solid var(--line);
}

.qc-tab-list button{
  min-height:56px;
  padding:16px 18px;
  border:0;
  border-bottom:1px solid var(--line);
  border-left:3px solid transparent;
  border-radius:0;
  background:#fff;
  color:var(--ink-2);
  font-size:14px;
  font-weight:600;
}

.qc-tab-list button[aria-selected="true"]{
  background:var(--accent-soft);
  border-color:var(--line);
  border-left-color:var(--accent);
  color:var(--accent);
  box-shadow:none;
}

.qc-tab-panel{
  min-height:0;
  padding:30px 32px;
  border:0;
  border-radius:0;
  box-shadow:none;
}

.qc-tab-panel p,
.qc-tab-panel li{
  font-size:14px;
  line-height:1.6;
}

/* ===== Altre card ===== */
.qc-price-card,
.qc-compat-grid article,
.qc-split-card,
.qc-web-cards article,
.qc-qr-card,
.qc-order-card{
  border-radius:4px;
  box-shadow:none;
}

.qc-web-cards span,
.qc-compat-grid span{
  border-radius:4px;
}

.qc-checks span,
.qc-process-mini div{
  border-radius:4px;
  box-shadow:none;
  font-size:14px;
}

/* ===== Footer ===== */
.qc-footer h2{
  font-size:11px;
  font-weight:700;
}

.qc-footer a{
  font-size:13px;
}

.qc-footer p,
.qc-footer small{
  font-size:12px;
}

.qc-footer-bottom p{
  font-size:11px;
}

/* ===== Responsive ===== */
@media(max-width:960px){
  .qc-section{padding:52px 0}
  .qc-feature-tabs{grid-template-columns:1fr}
  .qc-tab-list{border-right:0;border-bottom:1px solid var(--line)}
}

@media(max-width:720px){
  .qc-wrap{width:min(100% - 40px,1120px)}
  .qc-hero{padding-top:40px}
  .qc-hero-copy h1{font-size:clamp(34px,7vw,44px)}
  .qc-section{padding:46px 0}
  .qc-section-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:27px}
  .qc-flow-grid{gap:1px}
}

@media(max-width:430px){
  .qc-hero-copy h1{font-size:36px}
  .qc-brand-name{font-size:18px}
  .qc-brand-name small{font-size:10.5px}
}

/* =========================================================
   PAGINE INTERNE - allineamento allo stile QuickMastro
   Caricare questo file DOPO home-2026.css e pages-2026.css.
   ========================================================= */

body.qc-page{
  font-family:'Archivo',Arial,sans-serif!important;
  font-size:16px;
  line-height:1.65;
  background:var(--surface)!important;
  color:var(--ink-2)!important;
}

body.qc-page h1,
body.qc-page h2,
body.qc-page h3,
body.qc-page h4{
  color:var(--ink)!important;
  letter-spacing:-.025em;
}

/* Titoli pagina e sezioni: meno grandi e meno pesanti */
body.qc-page .hero h1{
  font-size:clamp(30px,3.5vw,42px)!important;
  line-height:1.18!important;
  font-weight:700!important;
}
body.qc-page .hero .subtitle,
body.qc-page .hero p{
  font-size:16px!important;
  line-height:1.65!important;
}
body.qc-page .section-title,
body.qc-page .map-title{
  font-size:clamp(24px,2.6vw,32px)!important;
  line-height:1.2!important;
  font-weight:700!important;
}
body.qc-page .section-subtitle,
body.qc-page .map-subtitle{
  font-size:15px!important;
  line-height:1.65!important;
}

/* Card: stile piu tecnico e meno "app" */
body.qc-page .pricing-card,
body.qc-page .requirement-card,
body.qc-page .info-card,
body.qc-page .contact-card,
body.qc-page .form-card,
body.qc-page .value-card,
body.qc-page .stat-card,
body.qc-page .installer-card,
body.qc-page .feature-card,
body.qc-page .contract-header,
body.qc-page .cookie-header,
body.qc-page .cookie-section,
body.qc-page .intro,
body.qc-page .info-box,
body.qc-page .highlight-box,
body.qc-page .qc-plan-card,
body.qc-page .qc-mail-panel{
  border-radius:4px!important;
  border:1px solid var(--line)!important;
  box-shadow:none!important;
}
body.qc-page .pricing-card:hover,
body.qc-page .requirement-card:hover,
body.qc-page .info-card:hover,
body.qc-page .contact-card:hover,
body.qc-page .installer-card:hover,
body.qc-page .feature-card:hover{
  transform:none!important;
  box-shadow:none!important;
}

/* Input e controlli */
body.qc-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.qc-page textarea,
body.qc-page select{
  min-height:46px;
  padding:11px 13px!important;
  border:1px solid var(--line-strong)!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--ink)!important;
  font-family:'Archivo',Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.45;
  box-shadow:none!important;
}
body.qc-page input:focus,
body.qc-page textarea:focus,
body.qc-page select:focus{
  outline:none!important;
  border-color:var(--accent)!important;
  box-shadow:0 0 0 2px var(--accent-soft)!important;
}

/* Bottoni delle pagine storiche */
body.qc-page .btn-pricing,
body.qc-page .btn-download,
body.qc-page .btn-submit,
body.qc-page .btn-verify,
body.qc-page .btn-primary,
body.qc-page button[type="submit"]{
  min-height:44px;
  padding:10px 16px!important;
  border-radius:4px!important;
  font-family:'Archivo',Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:600!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Listino */
body.qc-page .qc-plan-heading h2{
  font-size:clamp(26px,3vw,34px)!important;
  line-height:1.2!important;
  font-weight:700!important;
}
body.qc-page .qc-plan-top h3{
  font-size:19px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.qc-page .qc-plan-current strong{
  font-size:36px!important;
  font-weight:700!important;
}
body.qc-page .qc-plan-badge,
body.qc-page .qc-plan-list-price b,
body.qc-page .qc-plan-saving{
  border-radius:3px!important;
}
body.qc-page .comparison-table{
  border-radius:4px!important;
  box-shadow:none!important;
}

/* Footer coerente con QuickMastro */
body.qc-page .qc-footer h2{
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.07em!important;
}
body.qc-page .qc-footer a{
  font-size:13px!important;
}
body.qc-page .qc-footer p,
body.qc-page .qc-footer small{
  font-size:12px!important;
}

/* =========================================================
   MODULO ORDINE - ordine_prezzi.html
   Aggiungere al body: class="qc-page qc-order-page"
   ========================================================= */

body.qc-order-page .main-container{
  max-width:900px!important;
  margin:0 auto!important;
  padding:38px 26px 64px!important;
}

body.qc-order-page .page-header{
  margin:0 0 26px!important;
  text-align:left!important;
}
body.qc-order-page .page-header h1{
  margin:0 0 8px!important;
  font-size:clamp(28px,3.4vw,38px)!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.03em!important;
  color:var(--ink)!important;
}
body.qc-order-page .page-header p{
  margin:0!important;
  font-size:16px!important;
  line-height:1.65!important;
  color:var(--muted)!important;
}

body.qc-order-page .form-card{
  padding:26px!important;
  margin-bottom:22px!important;
  border-radius:4px!important;
  border:1px solid var(--line)!important;
  background:#fff!important;
  box-shadow:none!important;
}

body.qc-order-page .form-section{
  margin:0!important;
  padding:25px 0!important;
  border-bottom:1px solid var(--line)!important;
  background:transparent!important;
}
body.qc-order-page .form-section:first-child{
  padding-top:0!important;
}
body.qc-order-page .form-section:last-of-type{
  border-bottom:0!important;
}

body.qc-order-page .section-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  color:var(--ink)!important;
}
body.qc-order-page .section-title i{
  width:18px;
  color:var(--accent)!important;
  font-size:15px!important;
  text-align:center;
}

body.qc-order-page .plan-grid{
  gap:12px!important;
  margin:0!important;
}
body.qc-order-page .plan-card{
  padding:18px 14px!important;
  border:1px solid var(--line-strong)!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:border-color .15s,background .15s!important;
}
body.qc-order-page .plan-card:hover{
  border-color:var(--accent)!important;
}
body.qc-order-page .plan-option input[type="radio"]:checked + .plan-card,
body.qc-order-page .plan-option:has(input:checked) .plan-card{
  border-color:var(--accent)!important;
  background:var(--accent-faint)!important;
  box-shadow:inset 0 3px 0 var(--accent)!important;
}
body.qc-order-page .plan-name{
  margin-bottom:4px!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:.04em!important;
}
body.qc-order-page .plan-price{
  margin:0 0 4px!important;
  font-size:28px!important;
  line-height:1.2!important;
  font-weight:700!important;
  letter-spacing:-.035em!important;
  color:var(--accent)!important;
}
body.qc-order-page .plan-price small{
  font-size:12px!important;
  font-weight:500!important;
  color:var(--muted)!important;
}
body.qc-order-page .plan-limit{
  font-size:12px!important;
  line-height:1.45!important;
  color:var(--muted)!important;
}

body.qc-order-page .form-row{
  gap:18px!important;
  margin-bottom:17px!important;
}
body.qc-order-page .form-row:last-child{
  margin-bottom:0!important;
}
body.qc-order-page .form-group label{
  margin-bottom:6px!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:600!important;
  color:var(--ink)!important;
}
body.qc-order-page .form-group label[style]{
  font-size:11.5px!important;
  line-height:1.45!important;
  font-weight:400!important;
  color:var(--muted)!important;
}
body.qc-order-page .error-message,
body.qc-order-page .coupon-status,
body.qc-order-page .rivenditore-status{
  font-size:12px!important;
  line-height:1.5!important;
}

body.qc-order-page .coupon-container,
body.qc-order-page .rivenditore-container{
  gap:10px!important;
}
body.qc-order-page .btn-verify{
  min-width:100px;
}

body.qc-order-page .checkbox-group{
  gap:10px!important;
  margin-bottom:12px!important;
}
body.qc-order-page .checkbox-group input[type="checkbox"]{
  width:17px!important;
  height:17px!important;
  margin-top:4px!important;
  accent-color:var(--accent)!important;
}
body.qc-order-page .checkbox-group label{
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:500!important;
  color:var(--ink-2)!important;
}

body.qc-order-page .order-summary{
  margin-top:25px!important;
  padding:18px 20px!important;
  border:1px solid var(--line)!important;
  border-radius:4px!important;
  background:var(--bg-soft)!important;
}
body.qc-order-page .summary-row{
  padding:8px 0!important;
  border-bottom:1px solid var(--line)!important;
  font-size:13px!important;
  line-height:1.5!important;
}
body.qc-order-page .summary-label{
  font-weight:500!important;
  color:var(--ink-2)!important;
}
body.qc-order-page .summary-value{
  font-weight:600!important;
  color:var(--ink)!important;
}
body.qc-order-page .summary-row:last-child{
  margin-top:5px!important;
  padding-top:13px!important;
  border-top:1px solid var(--line-strong)!important;
  border-bottom:0!important;
  font-size:17px!important;
  font-weight:700!important;
  color:var(--accent)!important;
}
body.qc-order-page .summary-row:last-child .summary-value{
  color:var(--accent)!important;
  font-size:19px!important;
}

body.qc-order-page .submit-section{
  margin-top:25px!important;
  text-align:center;
}
body.qc-order-page .btn-submit{
  width:auto!important;
  min-width:190px!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:11px 20px!important;
}
body.qc-order-page .submit-section p{
  margin-top:12px!important;
  font-size:12px!important;
  line-height:1.55!important;
  color:var(--muted)!important;
}

body.qc-order-page .success-message{
  padding:34px 26px!important;
}
body.qc-order-page .success-icon{
  width:54px!important;
  height:54px!important;
  margin-bottom:16px!important;
  font-size:22px!important;
}
body.qc-order-page .success-message h2{
  font-size:24px!important;
  font-weight:700!important;
}
body.qc-order-page .success-message p{
  font-size:14px!important;
}
body.qc-order-page .order-number{
  font-size:18px!important;
  font-weight:700!important;
  color:var(--accent)!important;
}

@media(max-width:768px){
  body.qc-order-page .main-container{
    padding:28px 20px 48px!important;
  }
  body.qc-order-page .form-card{
    padding:20px!important;
  }
  body.qc-order-page .plan-grid,
  body.qc-order-page .form-row{
    grid-template-columns:1fr!important;
  }
  body.qc-order-page .coupon-container,
  body.qc-order-page .rivenditore-container{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  body.qc-order-page .btn-verify{
    width:100%!important;
  }

    /* =========================================================
   Raffinamento tipografia pagine interne
   ========================================================= */

    body.qc-page {
        font-family: 'Archivo', Arial, sans-serif;
        font-size: 16px;
        line-height: 1.65;
    }

        /* Piccole intestazioni sopra i titoli */
        body.qc-page .qc-eyebrow,
        body.qc-page .qc-section-no,
        body.qc-page .qc-panel-kicker,
        body.qc-page .qc-price-kicker {
            font-family: 'Archivo', Arial, sans-serif;
            font-size: 11px;
            line-height: 1.4;
            font-weight: 600;
            letter-spacing: .07em;
        }

        /* Listino: meno "urlato" */
        body.qc-page .qc-plan-heading .qc-section-no {
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .04em;
            text-transform: none;
        }

        /* H1 pagine interne */
        body.qc-page .hero h1,
        body.qc-page .page-header h1 {
            font-size: clamp(30px, 3.5vw, 42px);
            line-height: 1.18;
            font-weight: 700;
            letter-spacing: -.025em;
        }

        /* H2 */
        body.qc-page .section-title,
        body.qc-page .qc-plan-heading h2,
        body.qc-page .page-header + section h2 {
            font-weight: 700;
            line-height: 1.2;
        }

        /* H3 */
        body.qc-page h3 {
            font-weight: 700;
        }

        /* Testi normali: evitare troppo bold */
        body.qc-page p,
        body.qc-page li {
            font-weight: 400;
        }

        /* Pulsanti */
        body.qc-page .qc-btn,
        body.qc-page .btn-pricing,
        body.qc-page .btn-download,
        body.qc-page .btn-submit {
            font-weight: 600;
        }
}

/* =========================================================
   FIX MENU MOBILE - menu chiuso al caricamento
   Il file e' caricato dopo home-2026.css, quindi l'override
   deve avere almeno la stessa specificita di .qc-header .qc-nav.
   ========================================================= */
@media (max-width:1050px){
  .qc-header .qc-menu-toggle{
    display:flex;
  }

  .qc-header .qc-nav{
    display:none;
    width:100%;
    margin:0;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    padding-top:10px;
  }

  .qc-header .qc-nav.is-open{
    display:flex;
  }
}
