/* ============================================================
   NECTE – Foglio stile principale
   Palette: blu istituzionale #06152d · arancione #f25c05
   ============================================================ */

:root {
    --primary-blue:        #06152d;
    --primary-blue-light:  #0d2854;
    --accent-orange:       #f25c05;
    --accent-orange-hover: #d04b00;
    --text-dark:           #2d3748;
    --text-muted:          #718096;
    --bg-light:            #f8fafc;
    --white:               #ffffff;
    --border-color:        #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── HEADER ── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo img { height: 42px; width: auto; }

/* nav list */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-list > li { position: relative; }

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-blue);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-list > li > a:hover { background: var(--bg-light); color: var(--accent-orange); }

.nav-helpdesk {
    background: var(--accent-orange) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: background 0.15s !important;
}
.nav-helpdesk:hover { background: var(--accent-orange-hover) !important; }

/* submenu */
.submenu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    list-style: none;
    padding: 12px 0 8px;  /* padding-top copre il gap → nessun buco tra voce e tendina */
    z-index: 200;
    transition: opacity 0.15s, visibility 0s linear 0.15s;
}
.submenu li a {
    display: block;
    padding: 8px 18px;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: background 0.15s, color 0.15s;
}
.submenu li a:hover { background: var(--bg-light); color: var(--accent-orange); }
.has-submenu:hover .submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.15s, visibility 0s linear 0s;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SLIDER ── */
.hero-slider {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #030b18 100%);
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
}

.slides-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.slide {
    min-width: 100%;
    padding: 80px 0;
    color: var(--white);
}

.slide-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.slide-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 16px;
}
.slide h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}
.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.slide-cta:hover { background: var(--accent-orange-hover); }

.slide-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-icon-box i {
    font-size: 8rem;
    opacity: 0.12;
    color: var(--white);
}
.slide-icon-box.orange i { color: var(--accent-orange); opacity: 0.25; }

/* slider controls */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
}
.slider-dot.active { background: var(--accent-orange); transform: scale(1.2); }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
    font-size: 1rem;
}
.slider-arrow:hover { background: rgba(255,255,255,0.2); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ── INTRO SECTION ── */
.intro-section {
    padding: 90px 0;
    background: var(--white);
    text-align: center;
}
.intro-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 12px;
}
.intro-section h2 {
    font-size: 2.4rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 20px;
}
.intro-section p {
    max-width: 680px;
    margin: 0 auto 36px;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(242,92,5,0.25);
}
.btn-primary:hover { background: var(--accent-orange-hover); }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 11px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

/* ── SERVICES GRID ── */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-blue);
    transition: background 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.service-card:hover::before { background: var(--accent-orange); }

.service-icon {
    width: 52px;
    height: 52px;
    background: #eef2f8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.service-icon i { font-size: 1.4rem; color: var(--primary-blue); }
.service-card:hover .service-icon { background: #fff3ec; }
.service-card:hover .service-icon i { color: var(--accent-orange); }

.service-card h3 { font-size: 1.1rem; color: var(--primary-blue); margin-bottom: 10px; font-weight: 700; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 10px; }

/* ── NEWS SECTION ── */
.news-section {
    padding: 90px 0;
    background: var(--white);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.news-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.07); }
.news-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d2854 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-img i { font-size: 3rem; color: rgba(255,255,255,0.2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 10px; }
.news-body h3 { font-size: 1rem; color: var(--primary-blue); font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 0.875rem; color: var(--text-muted); flex: 1; margin-bottom: 20px; }
.news-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.news-card:hover .news-more { gap: 9px; }

/* ── CONTACT SECTION ── */
.contact-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #030b18 100%);
    color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.contact-info h2 span { color: var(--accent-orange); }
.contact-info p { opacity: 0.85; font-size: 1rem; margin-bottom: 30px; font-weight: 300; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.contact-detail-item i {
    width: 42px;
    height: 42px;
    background: rgba(242,92,5,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-detail-item div strong { display: block; font-size: 0.8rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-detail-item div span { font-size: 0.95rem; }

/* form inside contact section */
.contact-form-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 36px;
}
.contact-form-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.contact-form-box .form-note { font-size: 0.85rem; opacity: 0.65; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    opacity: 0.85;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--white);
    transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { opacity: 0.45; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    opacity: 0.75;
    margin-bottom: 6px;
}
.privacy-check input { width: auto; margin-top: 3px; flex-shrink: 0; }
.privacy-check a { color: var(--accent-orange); text-decoration: underline; }

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 14px rgba(242,92,5,0.3);
}
.btn-submit:hover { background: var(--accent-orange-hover); }
.btn-submit:active { transform: scale(0.98); }
.form-confirm {
    display: none;
    text-align: center;
    padding: 20px;
    color: #68d391;
    font-weight: 600;
}

/* ── FOOTER ── */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 0;
    border-top: 4px solid var(--accent-orange);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 36px; width: auto; margin-bottom: 10px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 0.85rem; opacity: 0.6; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 6px; }
.footer-brand a { opacity: 0.9; transition: opacity 0.15s; }
.footer-brand a:hover { opacity: 1; color: var(--accent-orange); }

.footer-address-block { margin-bottom: 16px; }
.footer-address-block strong { font-size: 0.85rem; color: var(--accent-orange); display: block; margin-bottom: 3px; }
.footer-address-block p { font-size: 0.82rem; opacity: 0.7; }

.footer-links strong { display: block; font-size: 0.85rem; color: var(--accent-orange); margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.83rem; opacity: 0.75; transition: opacity 0.15s, color 0.15s; }
.footer-links a:hover { opacity: 1; color: var(--accent-orange); }

.footer-social strong { display: block; font-size: 0.85rem; color: var(--accent-orange); margin-bottom: 14px; }
.social-icons { display: flex; gap: 10px; margin-bottom: 20px; }
.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}
.social-icons a:hover { background: var(--accent-orange); color: var(--white); }
.footer-privacy { font-size: 0.8rem; opacity: 0.6; transition: opacity 0.15s; }
.footer-privacy:hover { opacity: 1; color: var(--accent-orange); }

.footer-bottom {
    padding: 18px 0;
    background: rgba(0,0,0,0.2);
}
.footer-bottom p {
    font-size: 0.78rem;
    opacity: 0.55;
    line-height: 1.6;
}
.footer-bottom a { color: var(--accent-orange); opacity: 1; }

/* ── AI CORSO PROMO ── */
.ai-promo-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #030b18 0%, var(--primary-blue) 60%, #0d2854 100%);
    position: relative;
    overflow: hidden;
}
.ai-promo-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(242,92,5,0.06);
    pointer-events: none;
}
.ai-promo-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
}
.ai-promo-icon {
    width: 80px;
    height: 80px;
    background: rgba(242,92,5,0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ai-promo-icon i { font-size: 2.4rem; color: var(--accent-orange); }

.ai-promo-tag {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.ai-promo-text h2 {
    font-size: 1.7rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
}
.ai-promo-text h2 span { color: var(--accent-orange); }
.ai-promo-text p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 16px; font-weight: 300; }

.ai-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    list-style: none;
}
.ai-promo-features li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 7px;
}
.ai-promo-features i { color: var(--accent-orange); font-size: 0.85rem; }

.ai-promo-cta {
    text-align: center;
    flex-shrink: 0;
    min-width: 180px;
}
.ai-promo-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}
.ai-price-from { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.ai-price-value { color: var(--white); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.ai-price-tax { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

.btn-ai-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(242,92,5,0.35);
    white-space: nowrap;
}
.btn-ai-promo:hover { background: var(--accent-orange-hover); transform: translateY(-1px); }

.ai-promo-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 10px; }

@media (max-width: 992px) {
    .ai-promo-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .ai-promo-icon { margin: 0 auto; }
    .ai-promo-features { justify-content: center; }
}

/* ── NOTIFICATION BANNER ── */
.top-banner {
    background: var(--accent-orange);
    color: var(--white);
    text-align: center;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
}
.top-banner a { color: var(--white); text-decoration: underline; }

/* ── UTILITY ── */
.section-padding { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .slide-inner { grid-template-columns: 1fr; }
    .slide-icon-box { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 71px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        overflow-y: auto;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li > a { padding: 14px 10px; border-bottom: 1px solid var(--border-color); border-radius: 0; }
    .has-submenu:hover .submenu { display: none; }
    .submenu { display: block !important; position: static; box-shadow: none; border: none; background: var(--bg-light); border-radius: 0; padding-left: 16px; }
    .hamburger { display: flex; }

    .hero-slider { min-height: auto; }
    .slide { padding: 50px 0; }
    .slide h2 { font-size: 1.6rem; }

    .news-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .intro-section h2 { font-size: 1.8rem; }
}

/* ════════════════════════════════════════════════
   INNER PAGES
   ════════════════════════════════════════════════ */

/* ── HERO ── */
.inner-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #030b18 100%);
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.inner-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,92,5,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.inner-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,40,84,0.5) 0%, transparent 70%);
    pointer-events: none;
}
.inner-hero-inner { position: relative; z-index: 1; }
.inner-hero-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-orange);
    background: rgba(242,92,5,0.12);
    border: 1px solid rgba(242,92,5,0.25);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.inner-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.inner-hero-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* ── CONTENT ── */
.inner-content-section {
    padding: 80px 0 20px;
    background: var(--white);
}
.inner-content-wrap {
    max-width: 860px;
}
/* Ogni <h3> generato dal contenuto wayback diventa una card */
.inner-content-wrap h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 36px 0 0;
    padding: 18px 20px 18px 24px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent-orange);
    border-radius: 0 8px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.inner-content-wrap h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    flex-shrink: 0;
}
/* Il <p> subito dopo un h3 diventa il body della card */
.inner-content-wrap h3 + p {
    background: var(--bg-light);
    border-left: 4px solid rgba(242,92,5,0.12);
    border-radius: 0 0 8px 0;
    padding: 14px 20px 20px 24px;
    margin-bottom: 4px;
    margin-top: 0;
    color: var(--text-muted);
    line-height: 1.8;
}
/* P standalone (non subito dopo h3) */
.inner-content-wrap p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.97rem;
    margin-bottom: 18px;
    margin-top: 24px;
}
.inner-content-wrap ul {
    margin: 16px 0 20px 0;
    padding-left: 0;
    list-style: none;
}
.inner-content-wrap ul li {
    position: relative;
    padding: 10px 16px 10px 44px;
    margin-bottom: 8px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.inner-content-wrap ul li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
}

/* ── INNER CONTACT FORM SECTION ── */
.inner-contact-section {
    padding: 80px 0 90px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #030b18 100%);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}
.inner-contact-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242,92,5,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.inner-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.inner-contact-text { color: var(--white); }
.inner-contact-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 16px;
}
.inner-contact-text h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}
.inner-contact-text h2 span { color: var(--accent-orange); }
.inner-contact-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 28px;
    font-weight: 300;
}
.inner-contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.inner-contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.8);
}
.inner-contact-details i {
    width: 36px;
    height: 36px;
    background: rgba(242,92,5,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.inner-contact-details a { color: inherit; transition: color 0.15s; }
.inner-contact-details a:hover { color: var(--accent-orange); }

/* Inner form box */
.inner-contact-form-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 36px;
    position: relative;
    z-index: 1;
}
.inner-form-group { margin-bottom: 16px; }
.inner-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 6px;
}
.inner-form-group input,
.inner-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--white);
    transition: border-color 0.2s, background 0.2s;
}
.inner-form-group input::placeholder,
.inner-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.inner-form-group input:focus,
.inner-form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255,255,255,0.1);
}
.inner-form-group textarea { resize: vertical; min-height: 110px; }
.inner-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inner-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    cursor: pointer;
}
.inner-privacy-check input[type=checkbox] { width: auto; margin-top: 3px; flex-shrink: 0; accent-color: var(--accent-orange); }
.inner-privacy-check a { color: var(--accent-orange); text-decoration: underline; }
.inner-btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 16px rgba(242,92,5,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.inner-btn-submit:hover { background: var(--accent-orange-hover); }
.inner-btn-submit:active { transform: scale(0.98); }
.inner-btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.inner-form-confirm {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 50px 20px;
    text-align: center;
    color: #68d391;
}
.inner-form-confirm i { font-size: 3rem; }
.inner-form-confirm p { font-size: 1.05rem; font-weight: 600; line-height: 1.6; color: rgba(255,255,255,0.85); }

/* ── INNER PAGE RESPONSIVE ── */
@media (max-width: 900px) {
    .inner-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .inner-hero { padding: 60px 0 48px; }
    .inner-hero h1 { font-size: 1.8rem; }
    .inner-form-row { grid-template-columns: 1fr; }
    .inner-contact-form-box { padding: 24px 18px; }
    .inner-content-wrap h3 { font-size: 1rem; }
}

/* ── APPLIANCE AI LOCALE LANDING ── */
.appliance-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #030b18 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.appliance-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242,92,5,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.appliance-hero-inner {
    position: relative;
    z-index: 1;
}
.appliance-badge {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.appliance-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.appliance-hero h1 span {
    color: var(--accent-orange);
}
.appliance-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}
.appliance-why-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .appliance-why-grid { grid-template-columns: 1fr; gap: 28px; }
}
.appliance-why-text h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 700;
}
.appliance-why-text p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.appliance-why-list {
    list-style: none;
    padding: 0;
}
.appliance-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-dark);
}
.appliance-why-list li i {
    color: #22c55e;
    margin-top: 3px;
}
.appliance-aside-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.appliance-aside-icon {
    color: var(--accent-orange);
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}
.appliance-aside-box h3 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
}
.appliance-aside-box p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}
.appliance-grid-target {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.appliance-target-card {
    background: white;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.appliance-target-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.appliance-target-card h3 {
    margin-top: 0;
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 700;
}
.appliance-target-card p {
    color: var(--text-muted);
    line-height: 1.7;
}
.appliance-offer-box {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.appliance-offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .appliance-offer-grid { grid-template-columns: 1fr; gap: 40px; }
}
.appliance-offer-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}
.appliance-offer-list li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}
.appliance-offer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 800;
    font-size: 1.2rem;
}
.appliance-form-wrapper {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.appliance-form-wrapper h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--primary-blue);
    font-weight: 700;
}
.appliance-form-group {
    margin-bottom: 16px;
}
.appliance-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.appliance-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.appliance-form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(242,92,5,0.1);
}
.appliance-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 20px 0;
    cursor: pointer;
}
.appliance-privacy-check input {
    margin-top: 2px;
    cursor: pointer;
}
.appliance-privacy-check a {
    color: var(--accent-orange);
    text-decoration: none;
}
.appliance-privacy-check a:hover {
    text-decoration: underline;
}
.appliance-btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.appliance-btn-submit:hover {
    background: #d04b00;
    transform: translateY(-1px);
}
.appliance-btn-submit:active {
    transform: translateY(0);
}
.appliance-form-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 50px 20px;
    text-align: center;
    color: #22c55e;
}
.appliance-form-confirm i { font-size: 3rem; }
.appliance-form-confirm p { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); }

/* ── ANTI-SPAM HONEYPOT — campo invisibile a utenti reali e screen reader ── */
.hp-trap {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* ── BUSINESS PROCESS HUB (homepage secondaria) ── */
.hub-intro-section {
    padding: 56px 0 8px;
    background: var(--white);
}
.hub-intro-section .container { max-width: 860px; }
.hub-intro-section p {
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 0.97rem;
    margin-bottom: 18px;
}
.hub-category-section {
    padding: 48px 0;
}
.hub-category-section:nth-child(even) { background: var(--bg-light); }
.hub-category-section .section-header { text-align: left; margin-bottom: 36px; max-width: 720px; }
.hub-category-section .section-header h2 { font-size: 1.6rem; }
.hub-category-section .section-header p { margin: 0; max-width: none; }

.services-grid--roomy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.services-grid--roomy .service-card { padding: 36px 30px; }
.services-grid--roomy .service-card h3 { font-size: 1.15rem; }
.services-grid--roomy .service-card p { font-size: 0.92rem; }

@media (max-width: 1100px) {
    .services-grid--roomy { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-grid--roomy { grid-template-columns: 1fr; }
}

/* ── PAGE TABLE (es. tabella sgravi INAIL) ── */
.page-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}
.page-table th,
.page-table td {
    padding: 12px 16px;
    border: 1px solid #e2e2e2;
    text-align: left;
}
.page-table thead th {
    background: #f5f7fa;
    font-weight: 700;
}
.page-table tbody tr:nth-child(even) {
    background: #fafbfc;
}
