/* 
* Основные стили для сайта бухгалтера в Испании
* Используемые цвета:
* - Основной: мандариново-оранжевый #FF6B35
* - Акцентный: бирюзово-голубой #4ECDC4
* - Фон: темно-синий #1A1A2E
* - Текст: слоновая кость #F8F1E5
* - Элементы: насыщенный лайм #B8DE6F
*/

/* === Сброс стилей === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Базовые стили === */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #F8F1E5;
    background-color: #1A1A2E;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #4ECDC4;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF6B35;
}

ul, ol {
    list-style: none;
    padding-left: 1.5em;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #FF6B35;
}

h3 {
    font-size: 1.5rem;
    color: #4ECDC4;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Header === */
.header {
    background-color: rgba(26, 26, 46, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    padding: 0;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: #F8F1E5;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    color: #FF6B35;
    font-weight: 700;
}

/* === Main === */
.main {
    padding-top: 80px;
}

/* === Hero секция === */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.8)), 
                url('../img/jkigdp.jpg') no-repeat center center;
    background-size: cover;
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: #FF6B35;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1.5s ease-out;
}

/* === Кнопки === */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #FF6B35;
    color: #F8F1E5;
}

.btn-primary:hover {
    background-color: #e55a26;
    color: #F8F1E5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: #4ECDC4;
    color: #1A1A2E;
}

.btn-secondary:hover {
    background-color: #3dbeb5;
    color: #1A1A2E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

/* === Секции === */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: #20203a;
}

/* === Секция услуг === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #272750;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF6B35;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Почему выбрать нас === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: #272750;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-number {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 107, 53, 0.2);
}

/* === Тарифы === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: #272750;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid #FF6B35;
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.pricing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pricing-card:hover .pricing-image img {
    transform: scale(1.1);
}

.pricing-header {
    padding: 1.5rem;
    background-color: #1d1d35;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF6B35;
}

.pricing-features {
    padding: 1.5rem;
    list-style-type: none;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    color: #B8DE6F;
    position: absolute;
    left: 0;
}

.pricing-card .btn {
    display: block;
    margin: 0 1.5rem 1.5rem;
}

/* === Отзывы === */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background-color: #272750;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(78, 205, 196, 0.1);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1rem;
}

.testimonial-author {
    border-top: 1px solid rgba(248, 241, 229, 0.1);
    padding-top: 1rem;
}

.name {
    font-weight: 700;
    color: #4ECDC4;
    margin-bottom: 0.2rem;
}

.position {
    font-size: 0.9rem;
    color: rgba(248, 241, 229, 0.7);
}

/* === FAQ === */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid rgba(248, 241, 229, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin: 0;
}

.faq-answer {
    padding: 0.5rem 1rem 1rem;
}

/* === Контактная форма === */
.contact {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(26, 26, 46, 0.8)), 
                url('../img/amC0pi.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 6rem 0;
    text-align: center;
}

.contact-form-container {
    max-width: 600px;
    margin: 2rem auto 0;
    background-color: rgba(39, 39, 80, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(248, 241, 229, 0.2);
    background-color: rgba(26, 26, 46, 0.5);
    color: #F8F1E5;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6B35;
}

.form-checks {
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.7rem;
}

.form-check input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form-check label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* === Страница благодарности === */
.thanks {
    padding: 8rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.thanks-buttons {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* === Политики === */
.policy {
    padding: 8rem 0 5rem;
}

.policy h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #272750;
    padding: 2rem;
    border-radius: 10px;
}

.policy-content h2 {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(248, 241, 229, 0.1);
}

.policy-content h3 {
    margin-top: 1.5rem;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* === Footer === */
.footer {
    background-color: #0f0f1a;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(248, 241, 229, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-col h3 {
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #FF6B35;
}

.footer-links li {
    margin-bottom: 0.7rem;
    padding-left: 0;
}

.footer-links a {
    color: rgba(248, 241, 229, 0.7);
}

.footer-links a:hover {
    color: #4ECDC4;
}

.footer-contact p {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    color: rgba(248, 241, 229, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 241, 229, 0.1);
    color: rgba(248, 241, 229, 0.5);
    font-size: 0.9rem;
}

/* === Cookie уведомление === */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(39, 39, 80, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-link {
    color: #4ECDC4;
    text-decoration: underline;
}

.cookie-button {
    background-color: #FF6B35;
    color: #F8F1E5;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #e55a26;
}

/* === Адаптивность === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .pricing-grid, .services-grid, .benefits-grid, .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 1.2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        margin-top: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* === Анимации === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 