/* ═══════════════════════════════════════════════════════════════
   LAYOUT — Nav · Hero · Sections · Grids
   banszky.men
═══════════════════════════════════════════════════════════════ */

/* ── Animated Mesh Background ── */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 20% 20%, rgba(79, 142, 247, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 80% 80%, rgba(162, 89, 255, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 212, 170, 0.07) 0%, transparent 55%);
    animation: meshPulse 10s ease-in-out infinite alternate;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
    background: rgba(8, 11, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

nav.scrolled {
    background: rgba(8, 11, 20, 0.9);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
}

.nav-logo img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--accent1);
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--surface-hov);
}

.lang-selector {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: var(--accent1);
    color: #fff;
    box-shadow: 0 2px 10px rgba(79, 142, 247, 0.3);
}

/* ── HERO ── */
#hero {
    padding: calc(6rem + 80px) 0 6rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    margin: 0 auto;
}

.hero-sub {
    margin: 0 auto;
}

.hero-ctas {
    justify-content: center;
}

.hero-stats {
    justify-content: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent1);
    background: rgba(79, 142, 247, 0.08);
    border: 1px solid rgba(79, 142, 247, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    width: fit-content;
}

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #e8eaf0 0%, var(--accent1) 40%, var(--accent2) 70%, var(--accent3) 100%);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 6s ease-in-out infinite alternate;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.stat-pill {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    backdrop-filter: blur(8px);
}

.stat-pill strong {
    color: var(--text);
    font-weight: 600;
}

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ── EXPERTISE GRID ── */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ── BADGES ── */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1100px;
}

/* ── EXPERIENCE ── */
.exp-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    /* give more space relative to the image size */
    gap: 6rem;
    /* increased from 4rem for more separation */
    align-items: center;
    margin-top: 3rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent1), var(--accent2), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.6rem;
    top: 1.85rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent1);
    box-shadow: 0 0 12px var(--accent1);
}

.timeline-item .company {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent1);
    margin-bottom: 0.3rem;
}

.timeline-item h3 {
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.timeline-item p {
    font-size: 0.92rem;
}

/* ── CONTACT ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
}

.contact-alt {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-alt h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.contact-alt p {
    font-size: 0.95rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent1);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s, letter-spacing 0.2s;
}

.email-link:hover {
    letter-spacing: 0.03em;
}

/* ── FOOTER ── */
footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .about-grid,
    .expertise-grid,
    .exp-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        gap: 1rem;
    }

    .about-visual {
        display: none;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .exp-carousel-wrap {
        position: static;
    }

    nav .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .badges-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }
}