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

:root {
    --primary-orange: #f5a623;
    --primary-red: #ff6b6b;
    --dark-bg: #1a1f2e;
    --darker-bg: #151922;
    --card-bg: #232937;
    --text-light: #ffffff;
    --text-gray: #a0a4b8;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --hero-gradient: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    margin-top: 5px;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    padding-top: 15px;
}

.logo-text {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    z-index: 2;
    position: relative;
    line-height: 1;
}

.logo-viva {
    color: #e8e8e8;
    transition: all 0.3s ease;
}

.logo-spain {
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.logo-sun {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #FFD700 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.sun-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSun 20s linear infinite;
}

.sun-rays::before,
.sun-rays::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 2px;
    background: linear-gradient(90deg, transparent 20%, #FFD700 40%, #FFD700 60%, transparent 80%);
    transform: translate(-50%, -50%);
}

.sun-rays::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.logo-horizon {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-sun {
    opacity: 1;
    top: -20px;
    transform: translateX(-50%) scale(1.1);
}

.logo:hover .sun-circle {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

.logo:hover .logo-horizon {
    opacity: 0.7;
}

.logo:hover .logo-viva {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo:hover .logo-spain {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes rotateSun {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Секция героя */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        rgba(26, 31, 46, 0.98) 0%, 
        rgba(21, 25, 34, 0.95) 50%,
        rgba(26, 31, 46, 0.98) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-light) 0%, rgba(245, 166, 35, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e6941a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.4);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
}

.hero-image {
    position: absolute;
    right: 0px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 65%;
}

.spain-decoration {
    position: relative;
}

.flag-container {
    position: relative;
    width: 400px;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(26, 31, 46, 0.9) 0%, rgba(26, 31, 46, 0.7) 100%);
}

.spain-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    filter: saturate(1.2) contrast(1.1);
}

.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 31, 46, 0.2) 0%, 
        rgba(26, 31, 46, 0.4) 50%,
        rgba(26, 31, 46, 0.6) 100%);
    pointer-events: none;
}

.decoration-text {
    position: absolute;
    bottom: 50px;
    left: -20%;
    right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.decoration-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 8px;
    color: rgba(245, 166, 35, 0.15);
    text-transform: uppercase;
}

.decoration-subtitle {
    font-size: 12px;
    color: rgba(160, 164, 184, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Секция услуг */
.services {
    padding: 80px 0;
    background: var(--darker-bg);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Секция процесса */
.process {
    padding: 80px 0;
    background: var(--dark-bg);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-track {
    position: relative;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: #3a3f4e;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 30px;
    left: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, #FFD700 100%);
    z-index: 2;
    width: 0;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.3);
}

.timeline-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 3;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid #3a3f4e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
}

.step-circle span {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.timeline-step.active .step-circle {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.6);
}

.timeline-step.active .step-circle span {
    color: white;
}

.timeline-step.completed .step-circle {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.timeline-step.completed .step-circle span {
    color: white;
}

.step-content h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.step-content p {
    color: var(--text-gray);
    font-size: 13px;
}

/* Секция преимуществ */
.advantages {
    padding: 80px 0;
    background: var(--darker-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-orange);
}

.advantage-card i {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Секция О нас */
.about {
    padding: 80px 0;
    background: var(--dark-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 3px solid var(--primary-orange);
}

.stat h3 {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.stat p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Секция контактов */
.contacts {
    padding: 80px 0;
    background: var(--darker-bg);
}

.contacts-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-top: -10px;
    margin-bottom: 40px;
    opacity: 0.8;
    font-style: italic;
    position: relative;
    animation: subtitlePulse 3s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        color: rgba(245, 166, 35, 0.7);
    }
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(245, 166, 35, 0.1) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(245, 166, 35, 0.05);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.1);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    font-size: 28px;
    color: var(--primary-orange);
    min-width: 35px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.5));
}

.contact-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
    position: relative;
    z-index: 2;
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-item:hover a {
    color: var(--primary-orange);
    font-weight: 500;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.contact-item:hover a::after {
    width: 100%;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-gray);
}

.contact-method-label {
    margin: 15px 0 10px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.contact-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-methods input {
    flex: 1;
    min-width: 150px;
}

@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-methods input {
        width: 100%;
    }
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* SEO секция */
.seo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(26, 31, 46, 0.98) 0%, 
        rgba(21, 25, 34, 0.95) 50%,
        rgba(26, 31, 46, 0.98) 100%);
    border-top: 1px solid rgba(245, 166, 35, 0.1);
    position: relative;
    overflow: hidden;
}

.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(245, 166, 35, 0.02) 0%, 
        transparent 70%);
    animation: seoGradientMove 20s ease-in-out infinite;
}

@keyframes seoGradientMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(25%); }
}

.seo-content {
    position: relative;
    z-index: 2;
}

.seo-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-light) 0%, rgba(245, 166, 35, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-intro {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.seo-intro strong {
    color: var(--primary-orange);
    font-weight: 600;
}

.seo-block {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(35, 41, 55, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 166, 35, 0.1);
    transition: all 0.3s ease;
}

.seo-block:hover {
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.seo-block h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.seo-block h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-orange);
    border-radius: 2px;
}

.seo-block p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.seo-block ul {
    list-style: none;
    padding-left: 0;
}

.seo-block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-gray);
    line-height: 1.6;
}

.seo-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 18px;
}

/* SEO карточки */
.seo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.seo-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(245, 166, 35, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.seo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.2);
}

.seo-card h3 {
    font-size: 18px;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.seo-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* FAQ стили */
.seo-faq {
    margin-top: 50px;
    padding: 40px;
    background: rgba(35, 41, 55, 0.3);
    border-radius: 20px;
}

.seo-faq h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
}

.seo-faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(26, 31, 46, 0.6);
    border-radius: 12px;
    border-left: 3px solid var(--primary-orange);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(26, 31, 46, 0.8);
    transform: translateX(5px);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* SEO CTA блок */
.seo-cta {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(245, 166, 35, 0.15) 0%, 
        rgba(255, 107, 107, 0.15) 100%);
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(245, 166, 35, 0.3);
}

.seo-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.seo-cta p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.seo-cta .btn {
    font-size: 18px;
    padding: 15px 40px;
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.3);
}

.cta-contacts {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-gray);
}

.cta-contacts strong {
    color: var(--primary-orange) !important;
    font-size: 18px;
    text-decoration: none !important;
}

/* Убираем синий цвет телефонных номеров на iOS */
a[href^="tel"],
.cta-contacts a,
.cta-contacts strong {
    color: var(--primary-orange) !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

/* Специальные стили для Safari на iOS */
@supports (-webkit-touch-callout: none) {
    .cta-contacts,
    .cta-contacts strong {
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        color: var(--primary-orange) !important;
    }
}

/* Адаптивность SEO секции */
@media (max-width: 768px) {
    .seo-title {
        font-size: 24px;
    }
    
    .seo-block {
        padding: 20px;
    }
    
    .seo-block h2 {
        font-size: 20px;
    }
    
    .seo-cards {
        grid-template-columns: 1fr;
    }
    
    .seo-faq {
        padding: 20px;
    }
    
    .seo-cta {
        padding: 25px;
    }
    
    .seo-cta h2 {
        font-size: 24px;
    }
}

/* Футер */
.footer {
    padding: 30px 0;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-gray);
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-orange);
}

/* Индикатор прокрутки */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    animation: fadeInScroll 2s ease 3s forwards;
    transition: all 0.3s ease;
}

.scroll-text {
    font-size: 11px;
    color: rgba(160, 164, 184, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.scroll-arrow {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 166, 35, 0.6);
    animation: bounceArrow 2s ease-in-out infinite;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
}

.scroll-arrow svg {
    animation: moveArrow 2s ease-in-out infinite;
}

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

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

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

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.3);
}

/* Скрываем индикатор при прокрутке */
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Адаптивность */
/* Дополнительные стили для больших лучей солнца */
.logo-sun::before,
.logo-sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.logo-sun::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.logo-sun::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.logo:hover .logo-sun::before,
.logo:hover .logo-sun::after {
    opacity: 0.8;
    width: 55px;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo-text {
        font-size: 36px;
    }
    
    .logo-sun {
        width: 30px;
        height: 30px;
    }
    
    .hero-image {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        max-width: 45%;
        z-index: 1;
    }
    
    .flag-container {
        width: 320px;
        height: 200px;
    }
    
    .decoration-text {
        bottom: 30px;
    }
    
    .decoration-title {
        font-size: 22px;
        letter-spacing: 5px;
    }
    
    .decoration-subtitle {
        font-size: 11px;
    }
}

/* Адаптация для маленьких экранов */
@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    
    .logo-sun {
        width: 20px;
        height: 20px;
        top: -3px;
    }
    
    .logo:hover .logo-sun {
        top: -8px;
    }
    
    .logo-container {
        padding-top: 8px;
    }
    
    .logo {
        padding: 5px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .spain-decoration {
        max-width: 280px;
    }
    
    .flag-container {
        width: 100%;
        max-width: 280px;
        height: 170px;
        margin: 0 auto;
    }
    
    .decoration-text {
        bottom: 15px;
    }
    
    .decoration-title {
        font-size: 17px;
        letter-spacing: 2px;
    }
    
    .decoration-subtitle {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .logo-container {
        padding-top: 10px;
    }
    
    .logo-sun {
        width: 25px;
        height: 25px;
        top: -5px;
    }
    
    .logo:hover .logo-sun {
        top: -12px;
        transform: translateX(-50%) scale(1.05);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-image {
        position: relative;
        margin: 125px auto 0;
        transform: none;
        max-width: 100%;
        right: -170px;
        top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .spain-decoration {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .flag-container {
        width: 100%;
        max-width: 350px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .decoration-text {
        position: absolute;
        bottom: 20px;
        left: 0%;
        transform: translateX(-50%);
        right: auto;
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .decoration-title {
        font-size: 20px;
        letter-spacing: 4px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .decoration-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        padding: 20px 0;
    }
    
    .timeline-track {
        padding: 0 20px;
    }
    
    .timeline-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        position: relative;
    }
    
    .timeline-steps::before {
        display: none;
    }
    
    .timeline-progress {
        display: none;
    }
    
    .timeline-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
    }
    
    .step-circle {
        margin: 0 auto 10px;
        width: 50px;
        height: 50px;
    }
    
    .step-circle span {
        font-size: 18px;
    }
    
    .step-content h3 {
        font-size: 14px;
    }
    
    .step-content p {
        font-size: 12px;
    }
    
    .scroll-indicator {
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
    }
    
    .scroll-text {
        font-size: 10px;
    }
    
    /* Мобильный дизайн timeline обрабатывается в timeline-styles.css */
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}