:root {
    --bg-dark: #000000;
    --bg-panel: #111111;
    --accent: #8cc63f;
    --text-main: #ffffff;
    --text-muted: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-dark);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: #000000;
    padding: 15px 0;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover { color: var(--accent); }

.btn-nav {
    background: var(--accent);
    color: #000 !important;
    padding: 10px 25px;
    font-weight: 800 !important;
    border-radius: 0;
}

.btn-nav:hover { background: #fff; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #333;
    padding: 6px 10px;
    background: #0b0b0b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-switch span { color: #666; }

.lang-switch a {
    color: #bdbdbd;
    font-weight: 700;
}

.lang-switch a.active,
.lang-switch a:hover {
    color: var(--accent);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('sfondo.jpg');
    background-size: cover;
    background-position: center;
    padding: 140px 0 120px 0;
    text-align: center;
    border-bottom: 1px solid #333;
    position: relative;
}

.sigma-logo {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 100px;
    filter: drop-shadow(0 0 10px rgba(140, 198, 63, 0.2));
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 920px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 32px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid var(--accent);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #000000;
}

.btn-primary:hover {
    background: #000;
    color: var(--accent);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #000;
}

.stats-bar {
    background: #000;
    padding: 40px 0;
    border-bottom: 1px solid #222;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-item .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

.section-padding {
    padding: 80px 0;
    background-color: #000;
}

.bg-secondary {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.section-header h2 span { color: var(--accent); }

.section-header p { color: var(--text-muted); }

.divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 25px auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #111;
    padding: 40px 30px;
    border: 1px solid #333;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.card p {
    color: #bbb;
    font-size: 0.95rem;
}

.split-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.image-block { flex: 1; position: relative; }

.text-block { flex: 1; }

.profile-img {
    width: 100%;
    border: 4px solid #222;
    filter: brightness(0.9);
}

.cert-img-box {
    margin-top: 20px;
    border: 1px solid var(--accent);
    padding: 5px;
    background: #000;
    width: 100%;
    max-width: 300px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: white;
    font-style: italic;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
}

.text-block p {
    margin-bottom: 20px;
    color: #ccc;
}

.checklist li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: white;
}

.checklist span {
    display: block;
    margin-top: 5px;
    line-height: 1.4;
}

.checklist i {
    color: var(--accent);
    margin-right: 15px;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

footer {
    background: #000;
    border-top: 2px solid var(--accent);
    padding: 50px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contacts p {
    margin-bottom: 15px;
    color: #aaa;
    font-size: 1rem;
}

.footer-contacts i {
    color: var(--accent);
    width: 30px;
    text-align: center;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.book-cover {
    border: 2px solid var(--accent);
    background: #000;
    padding: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.book-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #333;
    background: #0b0b0b;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pill i { color: var(--accent); }

.btn-outline-accent {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #000 !important;
}

.cta-strip {
    background: #000;
    border: 1px solid #222;
    border-left: 5px solid var(--accent);
    padding: 25px;
}

.cta-strip h3 { margin-bottom: 10px; }

.fineprint {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 15px;
}

.note-box {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #2a2a2a;
    background: #0d0d0d;
    color: #bdbdbd;
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .nav-container {
        align-items: flex-start;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-links { display: none; }

    .hero h1 { font-size: 2.2rem; }

    .split-layout { flex-direction: column; }

    .image-block {
        width: 100%;
        margin-bottom: 40px;
    }

    .sigma-logo {
        position: static;
        margin: 0 auto 20px auto;
        display: block;
    }

    .hero { padding-top: 100px; }

    .btn {
        width: 100%;
        text-align: center;
    }
}
