/* ========== RESET & DEFAULTS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 14px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
}

.nav a[aria-current] {
    color: #1e3a8a;
    font-weight: 600;
}

.phone {
    color: #1e3a8a;
    font-weight: 600;
}

/* ========== SECTIONS ========== */
.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* ========== CARDS GRID (3 COLUMNS) ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: #f5f5f5;
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

.icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ========== VALUES GRID (2 COLUMNS) ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: white;
    border-left: 4px solid #1e3a8a;
    padding: 25px;
    border-radius: 4px;
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 15px;
    line-height: 1.5;
    color: #666666;
}

/* ========== PROCESS STEPS (4 COLUMNS) ========== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step {
    background: #e8eaed;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
}

.step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666666;
}

/* ========== TEAM BLOCK ========== */
.team-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #f5f5f5;
    padding: 50px;
    border-radius: 8px;
    margin: 60px 0;
}

.team-image {
    background: #d4d4d4;
    height: 300px;
    border-radius: 8px;
}

.team-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 15px;
}

/* ========== FOOTER CTA SECTION ========== */
.section-footer {
    background: #e8eaed;
    text-align: center;
    padding: 60px 40px;
    border-radius: 8px;
    margin: 60px 40px;
}

.section-footer h2 {
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: 700;
}

.section-footer p {
    font-size: 18px;
    color: #666666;
    margin-bottom: 25px;
}

/* ========== BUTTON ========== */
.btn {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-top: 30px;
    transition: background 0.3s;
}

.btn:hover {
    background: #152e5f;
}

/* ========== PAGE TITLE & SUBTITLE ========== */
.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #666666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* ========== ADVANTAGES PAGE ========== */

.advantage-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.advantage-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.advantage-block-reverse {
    direction: rtl;
}

.advantage-block-reverse > * {
    direction: ltr;
}

.advantage-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e0e0e0 0%, #d4d4d4 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advantage-1 { background: linear-gradient(135deg, #b8c5d6 0%, #a8b5c6 100%); }
.advantage-2 { background: linear-gradient(135deg, #c8d4e0 0%, #b8c4d0 100%); }
.advantage-3 { background: linear-gradient(135deg, #d0d8e8 0%, #c0c8d8 100%); }
.advantage-4 { background: linear-gradient(135deg, #d8dce8 0%, #c8ccd8 100%); }

.advantage-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
}

.advantage-intro {
    font-size: 18px;
    color: #666666;
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.6;
}

.advantage-list {
    list-style: none;
    margin-bottom: 30px;
}

.advantage-list li {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.advantage-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 18px;
}

.advantage-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.8;
    padding-top: 20px;
    border-top: 2px solid #e8eaed;
    margin-top: 20px;
    font-style: italic;
}

/* BONUS SECTION */
.bonus-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    font-weight: 700;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.bonus-card {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
}

.bonus-card:hover {
    border-color: #1e3a8a;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    transform: translateY(-5px);
}

.bonus-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: inline-block;
}

.bonus-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.bonus-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* ========== PORTFOLIO PAGE ========== */

.portfolio-filters {
    text-align: center;
    padding: 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
}

.filter-btn {
    display: inline-block;
    background: white;
    border: 2px solid #c0c0c0;
    color: #1a1a1a;
    padding: 12px 25px;
    margin: 8px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.filter-btn.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

/* GALLERY GRID */
.portfolio-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 58, 138, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.gallery-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* HIDE/SHOW GALLERY ITEMS */
.gallery-item {
    animation: fadeIn 0.4s ease;
}

.gallery-item.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== RESPONSIVE (TABLET) ========== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .advantage-block,
    .advantage-block-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .advantage-image {
        height: 300px;
    }
}
/* ========== LIGHTBOX (MODAL) ========== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
}

.lightbox-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.lightbox-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.lightbox-info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* CLOSE BUTTON */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* NAVIGATION BUTTONS */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 58, 138, 0.8);
    color: white;
    border: none;
    font-size: 28px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    z-index: 1001;
}

.lightbox-nav:hover {
    background: rgba(30, 58, 138, 1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* RESPONSIVE LIGHTBOX */
@media (max-width: 768px) {
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .lightbox-nav {
        font-size: 20px;
        padding: 10px 15px;
    }

    .lightbox-info h3 {
        font-size: 20px;
    }

    .lightbox-info p {
        font-size: 14px;
    }
}
