/* Product page: inherits Conteggio's typography, palette and navigation. */
.gestionale-page { overflow-x: clip; }
.gestionale-page .main-nav { gap: 25px; }
.g-hero { padding: 26px 0 70px; overflow: hidden; }
.g-subnav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 34px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.g-subnav > span { font-weight: 700; }
.g-subnav > div { display: flex; gap: 25px; }
.g-subnav a { text-decoration: none; }
.g-subnav a:hover, .g-text-link:hover { color: var(--brand-dark); }
.g-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 44px; padding-top: 56px; }
.g-hero h1 { font-size: clamp(2.8rem, 4.5vw, 4.65rem); line-height: 1.07; letter-spacing: -.065em; margin-bottom: 26px; }
.g-hero .lead { font-size: 1.08rem; max-width: 490px; }
.g-hero .lead strong { color: var(--ink); font-weight: 600; }
.g-hero .hero-actions { align-items: center; gap: 20px; }
.g-hero .button { padding-inline: 19px; font-size: .88rem; }
.g-text-link { font-size: .86rem; font-weight: 700; text-decoration: none; }
.g-hero-points { display: flex; flex-wrap: wrap; gap: 10px 17px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: .72rem; }
.g-hero-points li::before { content: '✓'; color: var(--green); padding-right: 5px; font-weight: 800; }
.g-hero-visual { position: relative; min-width: 0; padding: 35px 0; }
.g-hero-visual::before { content: ''; position: absolute; inset: 0 -80px 36px -15px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #dbe7dc 0, #e7e9dd55 56%, transparent 72%); }
.g-visual-label { margin: 0 0 16px 15px; font-size: .8rem; font-weight: 600; color: var(--green); }
.g-status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); }
.g-screen { display: block; overflow: hidden; border: 1px solid #d6d9d2; border-radius: 12px; background: #f7f5ef; box-shadow: 0 12px 30px #18201d0c; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.g-screen:hover { box-shadow: 0 18px 40px #18201d1c; transform: translateY(-3px); }
.g-screen-hero { width: 116%; box-shadow: 0 24px 50px #18201d22; }
.g-screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 13px; border-bottom: 1px solid #e1e2da; color: #65716a; background: #f0f1ec; font-size: .58rem; }
.g-screen-bar > span:first-child { display: flex; gap: 4px; }
.g-screen-bar i { display: block; width: 6px; height: 6px; border: 1px solid #b7beb6; border-radius: 50%; }
.g-screen-bar b { font-weight: 500; }
.g-screen img { display: block; width: 100%; height: auto; }
.g-visual-note { width: max-content; max-width: 100%; margin: 19px 0 0 40px; padding: 9px 16px; border-radius: 7px; color: #514318; background: #f1da91; font-size: .8rem; font-weight: 600; transform: rotate(-2deg); }
.g-visual-note span { margin-right: 8px; }
.g-image-note { margin: 22px 0 0; color: var(--muted); font-size: .72rem; }
.g-manifesto { padding: 34px 0; color: #eef6eb; background: #214d3d; }
.g-manifesto .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.g-manifesto p { margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.4; font-weight: 500; letter-spacing: -.04em; }
.g-manifesto strong { color: #c9dcb7; font-weight: 600; }
.g-manifesto .container > span { color: #c1d5c8; font-size: .83rem; }
.g-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 50px; margin-bottom: 42px; }
.g-section-heading h2 { margin-bottom: 0; }
.g-section-heading > p { margin-bottom: 4px; color: var(--muted); font-size: .95rem; }
.g-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.g-feature-grid article { padding: 30px 0; border-top: 1px solid var(--line); }
.g-feature-number { font-size: .7rem; color: var(--green); font-weight: 700; }
.g-feature-grid h3 { font-size: 1.13rem; margin: 15px 0 12px; letter-spacing: -.04em; }
.g-feature-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.g-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.g-gallery figure { margin: 0; min-width: 0; }
.g-gallery figcaption { margin-top: 20px; color: var(--muted); font-size: .86rem; }
.g-gallery figcaption strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 1rem; }
.g-tailor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.g-tailor-grid .lead { font-size: 1.04rem; }
.g-tailor-list article { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.g-tailor-list article:last-child { margin-bottom: 0; padding-bottom: 0; border: 0; }
.g-tailor-list article > span { color: var(--brand-dark); font-family: 'Manrope', sans-serif; font-size: .8rem; }
.g-tailor-list h3 { margin-bottom: 8px; font-size: 1.1rem; }
.g-tailor-list p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.g-ai-section { padding: 85px 0; color: #f4f4ea; background: #182b24; }
.g-ai-section .eyebrow { color: #e7bc82; }
.g-ai-section .eyebrow::before { background: #e7bc82; }
.g-ai-section .g-section-heading > p { color: #bac9c0; }
.g-ai-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.g-ai-examples article { border-top: 1px solid #ffffff30; padding: 27px 0; }
.g-ai-examples article > span { color: #d4e6b6; font-size: 1.6rem; }
.g-ai-examples h3 { margin: 18px 0 12px; font-size: 1.1rem; }
.g-ai-examples p { color: #bac9c0; font-size: .9rem; }
.g-ai-flow { margin-top: 22px; padding: 26px 30px; border: 1px solid #ffffff30; border-radius: 15px; background: #ffffff05; }
.g-flow-label { margin-bottom: 24px; color: #d6e5bf; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.g-ai-flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.g-ai-flow li { position: relative; display: flex; flex-direction: column; gap: 10px; font-size: .87rem; }
.g-ai-flow li:not(:last-child)::after { content: '→'; position: absolute; right: 0; top: 0; color: #d6e5bf; }
.g-ai-flow li > span { color: #a9baaf; font-size: .68rem; }
.g-ai-note { max-width: 900px; color: #a9baaf; font-size: .78rem; margin: 22px 0 0; }
.g-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.g-process li { padding-top: 22px; border-top: 1px solid var(--line); }
.g-process li > span { font-family: 'Manrope', sans-serif; color: var(--brand-dark); font-size: 1.7rem; letter-spacing: -.07em; }
.g-process h3 { margin: 20px 0 12px; font-size: 1.1rem; }
.g-process p { margin-bottom: 0; color: var(--muted); font-size: .87rem; }
.g-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 80px; }
.g-contact-copy { padding-top: 20px; }
.g-contact-copy h2 { font-size: clamp(2.2rem, 3.5vw, 3.3rem); }
.g-contact-copy .lead { font-size: 1.05rem; }
.g-contact-note { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 30px; }
.g-contact-note > span { font-size: 1.5rem; color: var(--green); }
.g-contact-note p { font-size: .9rem; color: var(--muted); }
.g-contact-direct { color: var(--muted); font-size: .83rem; }
.g-contact-direct a { color: var(--ink); }
.g-contact-card { min-width: 0; padding: 34px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); background: var(--surface); }
.g-form-intro { font-weight: 700; font-size: 1.1rem; margin-bottom: 24px; }
.g-form-intro span { font-size: .75rem; color: var(--muted); font-weight: 400; }
.g-contact-card .form-group label > span { color: var(--muted); font-size: .72rem; font-weight: 400; }
.g-contact-card textarea { min-height: 140px; height: auto; resize: vertical; line-height: 1.6; }
.g-contact-card .field { font-size: .9rem; }
.g-form-privacy { margin: 22px 0; color: var(--muted); font-size: .74rem; }
.g-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.g-form-error, .g-form-success { padding: 18px; margin-bottom: 24px; border: 1px solid #a63e27; border-radius: 12px; background: #fff2ed; color: #842e1b; font-size: .9rem; }
.g-form-success { background: #eef7e9; color: #21543b; border-color: #8dbb89; }
.g-form-error p, .g-form-success p { margin: 8px 0 0; }
.g-field-error { color: #a33820; font-size: .76rem; }
.g-contact-card [aria-invalid='true'] { border-color: #a33820; }
@media (min-width: 1440px) { .g-screen-hero { width: 123%; } }
@media (max-width: 1050px) { .g-hero-grid { gap: 24px; } .g-tailor-grid, .g-contact-grid { gap: 40px; } .g-hero-points { flex-direction: column; } .g-contact-card { padding: 26px; } }
@media (max-width: 800px) {
  .g-subnav { padding-bottom: 22px; align-items: flex-start; } .g-subnav > div { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .g-hero-grid { grid-template-columns: 1fr; padding-top: 38px; gap: 32px; } .g-hero h1 { font-size: clamp(3rem, 8vw, 4.6rem); }
  .g-hero-copy .lead { max-width: 610px; } .g-hero-visual { padding-top: 0; } .g-screen-hero { width: 100%; } .g-hero-points { flex-direction: row; }
  .g-hero { padding-bottom: 35px; } .g-manifesto .container > span { display: none; }
  .g-section-heading, .g-tailor-grid, .g-contact-grid { grid-template-columns: 1fr; gap: 24px; } .g-section-heading { margin-bottom: 30px; }
  .g-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-gallery { gap: 20px; }
  .g-ai-examples { gap: 22px; } .g-ai-flow { padding: 24px; } .g-process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .g-contact-note { max-width: 530px; } .g-contact-direct { margin-bottom: 0; }
}
@media (max-width: 540px) {
  .g-subnav { display: block; font-size: .7rem; } .g-subnav > div { justify-content: flex-start; margin-top: 12px; gap: 18px; }
  .g-hero h1 { font-size: clamp(2.7rem, 10.5vw, 3.6rem); } .g-hero .lead { font-size: 1rem; } .g-hero .hero-actions { gap: 17px; }
  .g-hero-points { flex-direction: column; gap: 7px; } .g-visual-label { margin-left: 0; font-size: .73rem; } .g-visual-note { margin-left: 0; font-size: .72rem; }
  .g-feature-grid, .g-gallery, .g-ai-examples { grid-template-columns: 1fr; } .g-feature-grid { gap: 0; } .g-feature-grid article { padding: 24px 0; }
  .g-gallery { gap: 34px; } .g-gallery .g-screen-bar { height: 27px; } .g-ai-section { padding: 60px 0; } .g-ai-examples { gap: 0; } .g-ai-examples article { padding: 22px 0 14px; }
  .g-ai-flow ol { grid-template-columns: 1fr; gap: 20px; } .g-ai-flow li { flex-direction: row; gap: 12px; } .g-ai-flow li:not(:last-child)::after { content: '↓'; right: auto; left: 0; top: 21px; font-size: .7rem; }
  .g-process { gap: 25px 20px; } .g-contact-card { padding: 22px; } .g-contact-card .form-grid { grid-template-columns: 1fr; } .g-contact-card .button { width: 100%; font-size: .82rem; }
}
