/*
Theme Name: Resource
Author: Alfataks
Author URI: https://t.me/alfataks
Version: 1
Description: Required plugins: Yoast SEO, ACF
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.header-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.header-nav a:hover {
    color: #4285f4;
}

.header-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

.rating-star {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-icon {
    color: #4285f4;
    font-size: 1.3rem;
}

.rating-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.rating-info {
    font-size: 0.85rem;
    color: #666;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-btn {
    width: 45px;
    height: 45px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.work-hours {
    font-size: 0.85rem;
    color: #666;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 85px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    gap: 80px;
}

.hero-content {
    padding-right: 40px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 35px;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f7ff;
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 35px;
    border-left: 4px solid #4285f4;
}

.hero-highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.hero-highlight-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.hero-highlight-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4285f4;
    margin-top: 5px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background: #4285f4;
    color: white;
    padding: 18px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.consultation-note {
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    color: #666;
    font-style: italic;
}

/* Hero Image */
.hero-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
}

.hero-image-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}



/* Why Choose Us Section - REDESIGNED */
.why-choose-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 167, 66, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-choose-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-choose-content h2 .highlight {
    color: #f4a742;
    display: block;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.why-choose-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    position: relative;
    padding-left: 10px;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f4a742 0%, transparent 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-choose-item:hover::before {
    opacity: 1;
}

.why-choose-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-choose-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid #f4a742;
    opacity: 0;
    transition: all 0.4s ease;
    animation: pulse-ring 2s infinite;
}

.why-choose-item:hover .why-choose-icon::before {
    opacity: 1;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(244, 167, 66, 0.4);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.why-choose-text {
    flex: 1;
}

.why-choose-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.why-choose-item:hover .why-choose-text h3 {
    color: #f4a742;
}

.why-choose-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

/* Visual Card */
.why-choose-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
    transform: rotate(-2deg);
    transition: all 0.4s ease;
}

.visual-card img {
    object-fit: cover;
    width:100%;
    height: 100%;
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 40px 100px rgba(102, 126, 234, 0.4);
}


@keyframes float-bg {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(5deg);
    }
}

.visual-illustration {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    position: relative;
    z-index: 1;
}


/* Responsive */
@media (max-width: 1200px) {
    .why-choose-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-choose-visual {
        height: 500px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 20px;
    }

    .why-choose-content h2 {
        font-size: 2rem;
    }

    .why-choose-list {
        gap: 30px;
        margin-top: 40px;
    }

    .why-choose-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    .why-choose-text h3 {
        font-size: 1.3rem;
    }

    .why-choose-text p {
        font-size: 1rem;
    }

    .why-choose-visual {
        height: 400px;
        display: none;
    }

    .visual-illustration {
        font-size: 6rem;
    }
}


/* Benefits Section */
.benefits-section {
    padding: 100px 40px;
    background: white;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 70px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #4285f4;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Salary Section */
.salary-section {
    padding: 100px 40px;
    background: #f8f9fa;
}

.salary-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.salary-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 45px 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.salary-card:hover {
    border-color: #4285f4;
    box-shadow: 0 15px 40px rgba(66, 133, 244, 0.15);
    transform: translateY(-5px);
}

.salary-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4285f4;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.salary-period {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.salary-amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
    line-height: 1;
}

.salary-currency {
    font-size: 2rem;
}

.salary-note {
    font-size: 1rem;
    color: #666;
}

.salary-features {
    list-style: none;
    margin-top: 30px;
    text-align: left;
}

.salary-features li {
    padding: 12px 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}

.salary-features li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    font-size: 1.3rem;
}

/* Testimonials Section */

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.testimonials-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonials-section h2 .highlight {
    color: #4285f4;
}

.testimonials-wrapper {
    margin-top: 50px;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 0 80px; /* Место для кнопок */
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.testimonials-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 14px); /* 3 карточки */
    min-height: 320px;
}

.testimonials-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonial-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #1a202c;
    font-weight: 600;
}

.testimonial-info p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.testimonial-rating {
    color: #f4a742;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.testimonial-date {
    color: #a0aec0;
    font-size: 13px;
    font-style: italic;
    display: block;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(102, 126, 234, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e2e8f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
    color: #667eea;
}

.slider-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Индикаторы */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background: #a0aec0;
}

.slider-dot.active {
    background: #667eea;
    width: 32px;
    border-radius: 6px;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1200px) {
    .testimonials-card {
        flex: 0 0 calc(50% - 10px); /* 2 карточки */
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        padding: 0 60px;
    }
    
    .testimonials-card {
        flex: 0 0 100%; /* 1 карточка */
        min-height: 280px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .testimonials-card {
        padding: 25px;
    }
    
    .quote-icon {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        padding: 0 50px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-card {
        padding: 20px;
        min-height: 250px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .testimonial-info h4 {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}


/* How to Order Section */
.how-to-order-section {
    padding: 100px 40px;
    background: #2c2c2c;
    color: white;
}

.how-to-order-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.how-to-order-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.how-to-order-content h2 .highlight {
    color: #f4a742;
}

.order-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.order-steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: 70px;
    width: 2px;
    background: #f4a742;
}

.order-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: #f4a742;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.step-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.order-form-wrapper {
    background: white;
    padding: 45px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.order-form-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label .required {
    color: #f44336;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
	height: 100px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #4285f4;
}

.checkbox-wrapper label {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-wrapper label a {
    color: #4285f4;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #f4a742;
    color: #2c2c2c;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 167, 66, 0.3);
}

.submit-btn:hover {
    background: #e89a35;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 167, 66, 0.4);
}

.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.success-message.show {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: 100px 40px;
    background: white;
}

.contact-info-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-content h2 .highlight {
    color: #4285f4;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 45px 40px;
    border-radius: 25px;
    margin-top: 40px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.contact-detail:first-child {
    padding-top: 0;
}

.contact-detail:last-child {
    padding-bottom: 0;
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-detail-info h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-detail-info p {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.contact-detail-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-info a:hover {
    color: #4285f4;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #4285f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.whatsapp {
    background: #25D366;
}

.contact-info-image {
    width: 100%;
    height: 550px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.contact-info-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

/* Consultation Banner */
.consultation-banner {
    padding: 60px 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    overflow: hidden;
}

.consultation-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.consultation-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.consultation-banner-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.consultation-banner-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.consultation-banner-form {
    display: flex;
    gap: 15px;
}

.consultation-banner-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.consultation-banner-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.consultation-banner-form input:focus {
    outline: none;
    border-color: #f4a742;
    background: rgba(255, 255, 255, 0.15);
}

.consultation-banner-form button {
    padding: 16px 40px;
    background: #f4a742;
    color: #2c2c2c;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.consultation-banner-form button:hover {
    background: #e89a35;
    transform: translateY(-2px);
}

.consultation-banner-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 40px 40px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #f4a742;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2c2c;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 167, 66, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #e89a35;
    transform: translateY(-5px);
}

.header-telegram, .telegram-button {
    height: 50px;
    width: 50px;
    /* background-color: #1b92d1; */
    border-radius: 50%;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('/wp-content/themes/resourse/assets/images/telegram.svg');
}

/* Responsive */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        height: 500px;
    }

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

    .why-choose-container,
    .how-to-order-container,
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-choose-image,
    .contact-info-image {
        order: 2;
        height: 450px;
    }

    .testimonials-track {
        grid-template-columns: repeat(6, calc(50% - 15px));
    }
    .contact-info-box {
    
        flex-flow: column nowrap;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 20px;
        justify-content: center;
    }

    .header-nav {
        display: none;
    }

    .header-rating {
        border: none;
        padding: 0;
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .benefits-section,
    .salary-section,
    .why-choose-section,
    .how-to-order-section,
    .contact-info-section,
    .testimonials-section {
        padding: 60px 20px;
    }

    .section-title,
    .why-choose-content h2,
    .how-to-order-content h2,
    .contact-info-content h2,
    .testimonials-header h2 {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .salary-cards {
        grid-template-columns: 1fr;
    }

    .salary-amount {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-steps::before {
        display: none;
    }

    .consultation-banner-content {
        grid-template-columns: 1fr;
    }

    .consultation-banner-form {
        flex-direction: column;
    }

    .consultation-banner-form button {
        width: 100%;
    }

    .testimonials-slider {
        padding: 0;
    }

    .testimonials-track {
        grid-template-columns: repeat(6, 100%);
    }

    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .slider-nav.prev {
        left: 5px;
    }

    .slider-nav.next {
        right: 5px;
    }
    
    .header-telegram {
        height: 30px;
        width: 30px;
    }
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    color: black;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: black;
}