/* style.css - Полный профессиональный набор стилей для сайта 1 TECHNOLOGIES LTD */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #1e40af;       /* тёмно-синий */
    --accent: #3b82f6;        /* яркий синий для кнопок */
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --success: #16a34a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1e2937;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===================== HEADER ===================== */
header {
    background: white;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    font-size: 1.9rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===================== HERO ===================== */
.hero {
    min-height: 80vh;
    height: 85vh;
    background: linear-gradient(rgba(30, 64, 175, 0.78), rgba(15, 23, 42, 0.88)),
                url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.12;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero p {
    font-size: 1.38rem;
    margin-bottom: 2.4rem;
    opacity: 0.94;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--accent);
}

/* Кнопка "View All" крупнее */
.btn-large {
    padding: 18px 50px;
    font-size: 1.25rem;
    min-width: 340px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.28);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(59, 130, 246, 0.38);
}

/* ===================== SECTIONS ===================== */
.section {
    padding: 90px 0;
}

.section h2 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 3.2rem;
    color: var(--dark);
    font-weight: 600;
}

/* ===================== JOBS GRID ===================== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.job-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.09);
    transition: all 0.35s ease;
}

.job-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.16);
}

.job-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.job-card-content {
    padding: 24px;
}

.job-card h3 {
    font-size: 1.38rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 10px 0 14px;
    font-size: 0.96rem;
    color: var(--gray);
}

.salary {
    font-weight: 600;
    color: var(--success);
}

.apply-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: var(--accent);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: #2563eb;
}

/* ===================== VIEW ALL BLOCK ===================== */
.view-all-jobs {
    text-align: center;
    margin-top: 70px;
    padding: 30px 0;
}

/* ===================== TEAM & TESTIMONIALS ===================== */
.team-card,
.testimonial-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 4px solid #eff6ff;
}

/* ===================== FAQ ===================== */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
}

.faq-item.active {
    background: #eff6ff;
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===================== FORM ===================== */
.application-form {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: center;
}

/* ===================== FOOTER ===================== */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 2.1;
}

footer a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    opacity: 0.75;
    border-top: 1px solid #334155;
    padding-top: 30px;
    font-size: 0.95rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .section { padding: 70px 0; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .btn-large {
        min-width: 100%;
        padding: 16px 32px;
        font-size: 1.15rem;
    }

    .view-all-jobs {
        margin-top: 50px;
    }

    .job-card img {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section h2 {
        font-size: 2.1rem;
    }
}