/* ==========================================================================
   SERVICE.CSS - Pagine dei singoli servizi (cartella servizi)
   Si carica DOPO main.css e style.css: sovrascrive solo ciò che serve.
   ========================================================================== */

/* Link della navbar: stessa resa dei bottoni della home */
nav .nav-links a {
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

nav .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

/* Le sezioni qui non sono a tutta altezza */
.service-page section {
    min-height: 0;
    display: block;
    padding: 0 24px;
}

.service-hero {
    padding-top: 140px !important;
    padding-bottom: 56px !important;
    background: radial-gradient(circle at 80% 0%, rgba(255, 71, 71, 0.08), transparent 45%);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: 8px;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.service-hero h1 {
    font-size: clamp(30px, 6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 800px;
}

.service-hero .lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 32px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-cta.secondary {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.btn-cta.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 71, 71, 0.4);
    box-shadow: none;
}

.service-body {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.service-body .container {
    max-width: 820px;
}

.service-body h2 {
    font-size: clamp(22px, 4vw, 28px);
    margin: 48px 0 16px;
}

.service-body h2:first-child {
    margin-top: 0;
}

.service-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #c9c9d3;
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 8px 0 16px;
}

.check-list li {
    position: relative;
    padding: 14px 16px 14px 46px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #c9c9d3;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--accent-neon);
    font-weight: 800;
}

.check-list strong {
    color: var(--text-white);
}

.faq details {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}

.faq details p {
    margin: 12px 0 0;
    font-size: 15px;
}

.cta-band {
    padding-top: 0 !important;
    padding-bottom: 64px !important;
}

.cta-box {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 71, 71, 0.25);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
}

.cta-box h2 {
    margin-bottom: 12px !important;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cta-box .cta-row {
    justify-content: center;
}

.cta-box .hours {
    margin: 20px 0 0;
    font-size: 13px;
}

.related {
    padding-top: 0 !important;
    padding-bottom: 80px !important;
}

.related h2 {
    font-size: 22px !important;
    margin-bottom: 20px !important;
}

.related-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.related-list a {
    display: block;
    height: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-list a span {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}

.related-list a:hover {
    border-color: rgba(255, 71, 71, 0.4);
    transform: translateY(-3px);
}

/* Card dei servizi in home: link "Scopri di più" */
.services-list .service-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-neon);
    text-decoration: none;
}

.services-list .service-link::after {
    content: " →";
}

/* Intera card cliccabile: il link si estende su tutto il <li> */
.services-list li {
    position: relative;
    cursor: pointer;
}

.services-list li .service-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
}

.services-list li:focus-within {
    border-color: rgba(255, 71, 71, 0.4);
}

.services-list li .service-link:focus-visible {
    outline: none;
}

.services-list li:has(.service-link:focus-visible) {
    outline: 2px solid var(--accent-neon);
    outline-offset: 2px;
}

.services-list .service-link:hover {
    color: var(--accent-hover);
}

/* Link ai servizi nel footer */
.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-white);
}

@media (max-width: 768px) {
    nav .nav-links a {
        font-size: 22px;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 16px;
        min-height: 56px;
    }

    .service-hero {
        padding-top: 110px !important;
        padding-bottom: 40px !important;
    }

    .service-hero .lead {
        font-size: 16px;
    }

    .cta-box {
        padding: 28px 20px;
    }

    .cta-row .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
