/*
 * Stili per www.successionitreviso.com
 * Modulo: website_successionitreviso_com
 * Design: Moderno/Corporate - DIVERSO da .it
 * NOTA: Questi stili sono COMPLETAMENTE ISOLATI
 */

/* === VARIABILI - PALETTE DIVERSA DA .IT === */
:root {
    --stv-com-primary: #0d9488;
    --stv-com-primary-dark: #0f766e;
    --stv-com-secondary: #1e293b;
    --stv-com-accent: #f59e0b;
    --stv-com-light: #f1f5f9;
    --stv-com-dark: #0f172a;
    --stv-com-success: #10b981;
    --stv-com-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

/* === WRAPPER === */
.stv-com-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === HERO - DESIGN COMPLETAMENTE DIVERSO === */
.stv-com-hero {
    background: var(--stv-com-gradient);
    padding: 80px 0;
    color: white;
}

.stv-com-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.stv-com-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.stv-com-title .text-accent {
    color: var(--stv-com-accent);
}

.stv-com-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.stv-com-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.stv-com-btn-primary {
    background: var(--stv-com-accent);
    color: var(--stv-com-dark);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stv-com-btn-primary:hover {
    background: #d97706;
    color: white;
    transform: translateY(-2px);
}

.stv-com-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stv-com-btn-outline:hover {
    background: white;
    color: var(--stv-com-primary);
    border-color: white;
}

/* === HERO FEATURES === */
.stv-com-hero-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stv-com-hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stv-com-hero-feature:last-child {
    border-bottom: none;
}

.stv-com-hero-feature i {
    color: var(--stv-com-accent);
    font-size: 20px;
}

.stv-com-hero-feature span {
    font-size: 15px;
}

/* === STEP CARDS (Come Funziona) === */
.stv-com-how-it-works {
    background: white;
}

.stv-com-step-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stv-com-step-card:hover {
    border-color: var(--stv-com-primary);
    transform: translateY(-3px);
}

.stv-com-step-number {
    width: 50px;
    height: 50px;
    background: var(--stv-com-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.stv-com-step-card h4 {
    color: var(--stv-com-secondary);
    margin-bottom: 10px;
}

.stv-com-step-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* === PAGE HEADER === */
.stv-com-page-header {
    background: var(--stv-com-gradient);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.stv-com-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stv-com-page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
}

/* === SECTION TITLES === */
.stv-com-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--stv-com-secondary);
}

.stv-com-section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

/* === SERVICE CARDS === */
.stv-com-service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.stv-com-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stv-com-service-icon {
    width: 60px;
    height: 60px;
    background: var(--stv-com-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stv-com-service-icon i {
    font-size: 24px;
    color: white;
}

.stv-com-service-card h4 {
    color: var(--stv-com-secondary);
    margin-bottom: 10px;
}

.stv-com-service-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.stv-com-service-link {
    color: var(--stv-com-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.stv-com-service-link:hover {
    color: var(--stv-com-primary-dark);
    gap: 10px;
}

.stv-com-service-link i {
    font-size: 12px;
}

/* === FEATURES === */
.stv-com-features {
    background: var(--stv-com-light);
}

.stv-com-feature {
    text-align: center;
    padding: 30px;
}

.stv-com-feature i {
    font-size: 40px;
    color: var(--stv-com-primary);
    margin-bottom: 15px;
}

.stv-com-feature h5 {
    color: var(--stv-com-secondary);
    margin-bottom: 10px;
}

.stv-com-feature p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* === CTA SECTION === */
.stv-com-cta {
    background: var(--stv-com-secondary);
    color: white;
}

.stv-com-cta h2 {
    font-weight: 700;
}

.stv-com-cta p {
    opacity: 0.9;
}

/* === FORMS === */
.stv-com-form-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stv-com-form-section h4 {
    color: var(--stv-com-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--stv-com-light);
}

.stv-com-form label {
    font-weight: 500;
    color: var(--stv-com-secondary);
    margin-bottom: 5px;
}

.stv-com-form .form-control:focus,
.stv-com-form .form-select:focus {
    border-color: var(--stv-com-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* === SIDEBAR === */
.stv-com-sidebar-card {
    background: var(--stv-com-light);
    padding: 25px;
    border-radius: 12px;
    position: sticky;
    top: 20px;
}

.stv-com-sidebar-card h5 {
    color: var(--stv-com-secondary);
    margin-bottom: 15px;
}

.stv-com-sidebar-card ol {
    padding-left: 20px;
    color: #64748b;
}

.stv-com-sidebar-card li {
    margin-bottom: 10px;
}

/* === CONTACT CARDS === */
.stv-com-contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stv-com-contact-card i {
    font-size: 40px;
    color: var(--stv-com-primary);
    margin-bottom: 15px;
}

.stv-com-contact-card h5 {
    color: var(--stv-com-secondary);
}

.stv-com-contact-card a {
    color: var(--stv-com-primary);
    text-decoration: none;
}

.stv-com-contact-card a:hover {
    text-decoration: underline;
}

/* === FORM CARD === */
.stv-com-form-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stv-com-form-card h4 {
    color: var(--stv-com-secondary);
    margin-bottom: 25px;
}

/* === VALUES === */
.stv-com-value {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stv-com-value i {
    font-size: 24px;
    flex-shrink: 0;
}

.stv-com-value h5 {
    color: var(--stv-com-secondary);
    margin-bottom: 5px;
}

.stv-com-value p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

/* === SERVICE DETAIL CARD === */
.stv-com-service-detail-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.stv-com-service-code {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--stv-com-gradient);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.stv-com-service-detail-card h3 {
    color: var(--stv-com-secondary);
    margin-bottom: 10px;
}

.stv-com-service-detail-card p {
    color: #64748b;
}

.stv-com-price-range {
    color: var(--stv-com-success);
    font-weight: 600;
    margin-bottom: 15px;
}

/* === CONFIRMATION BOX === */
.stv-com-confirmation-box {
    background: var(--stv-com-light);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.stv-com-confirmation-box h3 {
    color: var(--stv-com-primary);
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .stv-com-title {
        font-size: 2rem;
    }

    .stv-com-hero-visual {
        display: none;
    }

    .stv-com-hero {
        text-align: center;
    }

    .stv-com-cta-group {
        justify-content: center;
    }
}

/* === FAQ SECTION === */
.stv-com-faq-category {
    margin-bottom: 40px;
}

.stv-com-faq-category-title {
    color: var(--stv-com-secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--stv-com-primary);
}

.stv-com-faq-category-title i {
    color: var(--stv-com-primary);
}

.stv-com-faq-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stv-com-faq-item h5 {
    color: var(--stv-com-secondary);
    margin-bottom: 10px;
    font-size: 16px;
}

.stv-com-faq-item p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.stv-com-faq-item ul,
.stv-com-faq-item ol {
    color: #64748b;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

.stv-com-faq-item li {
    margin-bottom: 5px;
}

.stv-com-faq-sidebar {
    position: sticky;
    top: 20px;
}

.stv-com-faq-cta-box {
    background: var(--stv-com-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.stv-com-faq-cta-box h4 {
    margin-bottom: 10px;
}

.stv-com-faq-cta-box p {
    opacity: 0.9;
    font-size: 14px;
    margin-bottom: 20px;
}

.stv-com-faq-links {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stv-com-faq-links h5 {
    color: var(--stv-com-secondary);
    margin-bottom: 15px;
}

.stv-com-faq-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stv-com-faq-links li {
    margin-bottom: 10px;
}

.stv-com-faq-links a {
    color: var(--stv-com-primary);
    text-decoration: none;
    font-size: 14px;
}

.stv-com-faq-links a:hover {
    text-decoration: underline;
}

.stv-com-faq-cta {
    background: var(--stv-com-gradient);
    color: white;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
}

.stv-com-faq-cta h3 {
    margin-bottom: 15px;
}

.stv-com-faq-cta p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* === BUTTON OUTLINE DARK === */
.stv-com-btn-outline-dark {
    background: transparent;
    color: var(--stv-com-secondary);
    border: 2px solid var(--stv-com-secondary);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stv-com-btn-outline-dark:hover {
    background: var(--stv-com-secondary);
    color: white;
}

/* === UTILITIES === */
.min-vh-60 {
    min-height: 60vh;
}
