
/* Block 1 */
.hero-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 73, 94, 0.75) 100%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem 0;
    margin-top: -70vh;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 60vh;
    }
    
    .hero-image {
        height: 60vh;
    }
    
    .hero-content {
        margin-top: -60vh;
        height: 60vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Block 2 */
.migration-success-stories {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.migration-success-stories::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.success-story-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-story-card:hover .story-image {
    transform: scale(1.05);
}

.story-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.story-content {
    padding: 25px;
}

.story-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.3;
}

.story-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-metrics {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-item i {
    color: #667eea;
    font-size: 0.8rem;
}

.success-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 8px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .success-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .migration-success-stories {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .success-stats {
        gap: 30px;
    }
    
    .stat-item {
        flex: 1;
        min-width: calc(50% - 15px);
    }
    
    .story-metrics {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .story-content {
        padding: 20px;
    }
    
    .success-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Block 3 */
.legal-expertise-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    position: relative;
    overflow: hidden;
}

.legal-expertise-showcase::before {
    content: '';
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -150px;
    z-index: 1;
}

.legal-expertise-showcase .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.expertise-content {
    padding: 2rem;
}

.expertise-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.expertise-badge-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.expertise-badge-tertiary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.expertise-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.expertise-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.expertise-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.expertise-features .fas {
    color: #28a745;
    font-size: 0.85rem;
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.expertise-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

.expertise-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.expertise-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expertise-visual:hover .expertise-image {
    transform: scale(1.05);
}

.visual-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 80px;
}

.stat-bubble-1 {
    animation: float 3s ease-in-out infinite;
}

.stat-bubble-2 {
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.stat-value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c3e50;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
}

.protection-indicators {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.indicator-item .fas {
    color: #f5576c;
}

.work-categories {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: rgba(79, 172, 254, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    .legal-expertise-showcase {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .expertise-content {
        padding: 1rem;
    }
    
    .expertise-visual {
        margin-bottom: 2rem;
    }
    
    .expertise-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .expertise-title {
        font-size: 1.5rem;
    }
    
    .visual-stats {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
    }
    
    .protection-indicators,
    .work-categories {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }
    
    .work-categories {
        justify-content: center;
    }
}

/* Block 4 */
.contact-order-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-order-form::before {
    content: '';
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: -150px;
    right: -150px;
    z-index: 1;
}

.contact-order-form::after {
    content: '';
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(40,167,69,0.08) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.consultation-form-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,123,255,0.1);
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.form-row {
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-label i {
    color: #007bff;
    margin-right: 8px;
    width: 16px;
}

.form-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

.form-input:focus {
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.1);
    outline: none;
}

.input-border-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #007bff, #28a745);
    transition: width 0.4s ease;
    border-radius: 1px;
}

.form-input:focus + .input-border-effect {
    width: 100%;
}

.form-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #007bff;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.benefit-item i {
    color: #28a745;
    font-size: 1.1rem;
}

.form-actions {
    text-align: center;
    margin: 40px 0 30px;
}

.btn-submit {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,123,255,0.4);
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.privacy-note i {
    color: #28a745;
}

.privacy-note a {
    color: #007bff;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

.contact-alternatives {
    display: flex;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.alternative-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,123,255,0.1);
    transition: transform 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.alternative-item:hover {
    transform: translateY(-5px);
}

.alternative-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alternative-icon i {
    color: white;
    font-size: 1.5rem;
}

.alternative-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
}

.alternative-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.alternative-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.alternative-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-title {
        font-size: 2rem;
    }
    
    .consultation-form-card {
        padding: 30px 25px;
        margin: 0 15px 30px;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-alternatives {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .alternative-item {
        margin: 0 auto;
    }
    
    .btn-submit {
        width: 100%;
        padding: 16px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-order-form {
        padding: 60px 0;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .alternative-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .alternative-content {
        text-align: center;
    }
}
