/* WOKA S.r.l. V2 - Swiss Minimal CSS Design System */

:root {
    --bg-light: #fafafa;
    --bg-dark: #0f172a;
    --border-gray: #e2e8f0;
    --text-dark: #020617;
    --text-body: #334155;
    --text-muted: #64748b;
    
    /* Swiss Cobalt Palette */
    --accent-cobalt: #2563eb;
    --accent-cobalt-hover: #1d4ed8;
    
    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition-swiss: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* General Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
}

body {
    background-color: var(--bg-light);
    color: var(--text-body);
    font-family: var(--font-display);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 0;
}

/* Language selector Visibility */
body.lang-active-it .lang-en { display: none !important; }
body.lang-active-en .lang-it { display: none !important; }

/* Scrollbar customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cobalt);
}

/* Navbar V2 (Swiss Minimal Banner) */
.navbar-v2 {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gray);
}

.nav-container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-v2 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.brand-desc-v2 {
    color: var(--text-muted);
    font-weight: 400;
}

.nav-menu-v2 {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link-v2 {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-swiss);
}

.nav-link-v2:hover {
    color: var(--text-dark);
}

/* Language selector inside menu */
.nav-menu-v2 .lang-selector {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    border: 1px solid var(--border-gray);
    padding: 0.1rem 0.3rem;
}

.nav-menu-v2 .lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.3rem;
}

.nav-menu-v2 .lang-btn.active {
    color: var(--bg-light);
    background-color: var(--text-dark);
}

.nav-menu-v2 .lang-divider {
    color: var(--border-gray);
    font-size: 0.65rem;
}

.btn-contact-v2 {
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 0.5rem 1rem;
    transition: var(--transition-swiss);
}

.btn-contact-v2:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
}

/* Mobile Toggle */
.nav-toggle-v2 {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle-v2 .bar {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-dark);
}

/* Grid System (Main container) */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-left: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
}

/* Grid helper classes */
.cell-span-12 { grid-column: span 12; }
.cell-span-7 { grid-column: span 7; }
.cell-span-6 { grid-column: span 6; }
.cell-span-5 { grid-column: span 5; }
.cell-span-4 { grid-column: span 4; }
.cell-span-3 { grid-column: span 3; }

/* Grid border helpers */
.border-right { border-right: 1px solid var(--border-gray); }
.border-left { border-left: 1px solid var(--border-gray); }
.border-top { border-top: 1px solid var(--border-gray); }
.border-bottom { border-bottom: 1px solid var(--border-gray); }

/* Hero cell styles */
.hero-v2 {
    padding: 7rem 4rem;
    border-bottom: 1px solid var(--border-gray);
    background-color: var(--bg-light);
}

.hero-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title-v2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    max-width: 900px;
    margin-bottom: 2rem;
}

.text-cobalt {
    color: var(--accent-cobalt);
}

.hero-lead-v2 {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.hero-actions-v2 {
    display: flex;
    gap: 1rem;
}

/* Swiss Styled Buttons */
.btn-swiss {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-swiss);
    cursor: pointer;
}

.btn-primary-swiss {
    background-color: var(--accent-cobalt);
    color: var(--bg-light);
    border: 1px solid var(--accent-cobalt);
}

.btn-primary-swiss:hover {
    background-color: var(--accent-cobalt-hover);
    border-color: var(--accent-cobalt-hover);
}

.btn-secondary-swiss {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary-swiss:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
}

/* General section cells */
.section-v2 {
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent-cobalt);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: block;
}

.section-title-v2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.body-text-v2 {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* Focus grid */
.focus-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: auto;
}

.focus-item {
    border-left: 2px solid var(--accent-cobalt);
    padding-left: 1.5rem;
}

.focus-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.focus-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Header Row */
.section-header-v2 {
    padding: 5rem 4rem 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

/* Services Cells */
.service-box-v2 {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.box-num-v2 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: block;
}

.box-title-v2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.box-text-v2 {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Swiss List style */
.swiss-list {
    list-style: none;
}

.swiss-list li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
}

.swiss-list li::after {
    content: '→';
    color: var(--accent-cobalt);
    font-family: var(--font-mono);
}

/* Contact information styles */
.office-details-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: auto;
}

.office-label-v2 {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.office-text-v2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Swiss Form Design */
.swiss-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.swiss-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.swiss-group label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
}

.swiss-group input,
.swiss-group textarea {
    border: 1px solid var(--border-gray);
    background-color: #ffffff;
    padding: 0.8rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-dark);
    border-radius: 0;
    transition: var(--transition-swiss);
}

.swiss-group input:focus,
.swiss-group textarea:focus {
    outline: none;
    border-color: var(--accent-cobalt);
}

/* Swiss Success Notification */
.swiss-toast {
    margin-top: 1rem;
    border: 1px solid var(--accent-cobalt);
    background-color: rgba(37, 99, 235, 0.03);
    color: var(--accent-cobalt);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: var(--transition-swiss);
}

.swiss-toast.active {
    opacity: 1;
    height: auto;
    margin-top: 1.5rem;
}

/* Footer V2 */
.footer-v2 {
    grid-column: span 12;
    border-top: 1px solid var(--border-gray);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-title-v2 {
        font-size: 2.8rem;
    }
    .service-box-v2 {
        grid-column: span 6;
    }
    .service-box-v2:nth-child(even) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .nav-menu-v2 {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        border-bottom: 1px solid var(--border-gray);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu-v2.active {
        display: flex;
    }
    
    .nav-toggle-v2 {
        display: flex;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        border-left: none;
        border-right: none;
    }
    
    .cell-span-12, .cell-span-7, .cell-span-6, .cell-span-5, .cell-span-4, .cell-span-3 {
        grid-column: span 12;
    }
    
    .border-right {
        border-right: none;
    }
    
    .section-v2 {
        padding: 3.5rem 1.5rem;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .service-box-v2 {
        grid-column: span 12;
        border-right: none !important;
        border-bottom: 1px solid var(--border-gray);
        padding: 3rem 1.5rem;
    }
    
    .hero-v2 {
        padding: 4rem 1.5rem;
    }
    
    .hero-title-v2 {
        font-size: 2.2rem;
    }
    
    .hero-lead-v2 {
        font-size: 1.1rem;
    }
    
    .office-details-v2 {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }
    
    .footer-v2 {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
