/* 
* Paleta de colores:
* - Indigo: #4B0082
* - Coral: #FF6F61
* - Azul celeste: #87CEEB
* - Crema: #FFF5E1
* - Grafito: #2E2E2E
*/

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FFF5E1;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #4B0082;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #4B0082;
    color: #FFF5E1;
}

.btn-primary:hover {
    background-color: #3a0064;
    color: #FFF5E1;
}

.btn-secondary {
    background-color: #FF6F61;
    color: #FFF5E1;
}

.btn-secondary:hover {
    background-color: #e5645a;
    color: #FFF5E1;
}

/* Header */
.site-header {
    background-color: #FFF5E1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .btn {
    margin-left: 10px;
}

/* Main content */
main {
    margin-top: 90px;
    min-height: calc(100vh - 90px - 200px); /* header height + footer height */
}

/* Welcome section */
.welcome {
    padding: 60px 0;
    background-color: #FFF5E1;
}

.welcome .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.welcome-content {
    flex: 1;
    padding-right: 40px;
    min-width: 300px;
}

.welcome-image {
    flex: 1;
    min-width: 300px;
}

.welcome h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4B0082;
}

.welcome p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Why us section */
.why-us {
    padding: 60px 0;
    background-color: #4B0082;
    color: #FFF5E1;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #FF6F61;
}

.benefit h3 {
    margin-bottom: 15px;
    color: #FF6F61;
}

/* Services section */
.services {
    padding: 60px 0;
    background-color: #FFF5E1;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #4B0082;
}

.services-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.service {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service:hover .service-image img {
    transform: scale(1.05);
}

.service h3, .service p, .service-price {
    padding: 0 20px;
}

.service h3 {
    margin: 20px 0 10px;
    color: #4B0082;
}

.service p {
    margin-bottom: 15px;
}

.service-price {
    font-weight: bold;
    color: #FF6F61;
    margin-bottom: 15px;
}

.service .btn {
    margin: 0 20px 20px;
    display: block;
}

/* Testimonials section */
.testimonials {
    padding: 60px 0;
    background-color: #87CEEB;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #4B0082;
}

.testimonials-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #FF6F61;
    font-family: Georgia, serif;
}

.testimonial-author {
    text-align: right;
    color: #4B0082;
}

/* Contact form section */
.contact {
    padding: 60px 0;
    background-color: #FFF5E1;
}

.contact h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #4B0082;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.unique-form {
    background: linear-gradient(135deg, #4B0082, #87CEEB);
    padding: 40px;
    border-radius: 10px;
    color: #FFF5E1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.unique-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0) 10px,
        rgba(255, 255, 255, 0) 20px
    );
    border-radius: 10px;
    pointer-events: none;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.input-with-icon,
.select-with-icon {
    position: relative;
}

.input-with-icon svg,
.select-with-icon svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4B0082;
    z-index: 1;
    pointer-events: none;
}

.input-with-icon input,
.select-with-icon select {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 16px;
    height: 48px;
}

.input-with-icon input:focus,
.select-with-icon select:focus {
    outline: none;
    box-shadow: 0 0 0 2px #FF6F61;
}

.input-with-icon input::placeholder,
.select-with-icon select::placeholder {
    color: #999;
}

.form-checks {
    margin-bottom: 25px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.form-check input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form-check label {
    font-size: 0.9rem;
    flex: 1;
}

.form-check a {
    color: #FF6F61;
    text-decoration: underline;
}

.form-check a:hover {
    color: #FFF5E1;
}

.form-submit {
    text-align: center;
}

.form-submit .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #4B0082;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    min-width: 200px;
}

.form-submit .btn:hover {
    background-color: #380061;
}

/* FAQ section */
.faq {
    padding: 60px 0;
    background-color: #FFF5E1;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #4B0082;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.faq-item h3 {
    color: #4B0082;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: #FF6F61;
}

.faq-answer {
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background-color: #4B0082;
    color: #FFF5E1;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-info h3,
.footer-contact h3,
.footer-links h3 {
    color: #FF6F61;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FFF5E1;
}

.footer-links a:hover {
    color: #FF6F61;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact a {
    color: #FFF5E1;
}

.footer-contact a:hover {
    color: #FF6F61;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    padding: 15px 0;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #FFF5E1;
}

.cookie-content p {
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: #FF6F61;
    text-decoration: underline;
}

/* Thank you page */
.thanks {
    padding: 100px 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks h1 {
    color: #4B0082;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.thanks p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Policy pages */
.policy {
    padding: 60px 0;
    background-color: #fff;
}

.policy h1 {
    color: #4B0082;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 15px;
}

.policy h1::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #FF6F61;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    color: #4B0082;
    margin: 30px 0 15px;
    font-size: 1.8rem;
    border-left: 4px solid #FF6F61;
    padding-left: 15px;
}

.policy-content h3 {
    color: #FF6F61;
    margin: 20px 0 10px;
    font-size: 1.4rem;
}

.policy-content p, 
.policy-content ul, 
.policy-content ol {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ul, 
.policy-content ol {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
}

.policy-content a {
    color: #FF6F61;
    text-decoration: underline;
    font-weight: bold;
}

.policy-content a:hover {
    color: #4B0082;
}

.policy-content address {
    margin-top: 20px;
    font-style: normal;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #87CEEB;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.cookies-table th, 
.cookies-table td {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: left;
}

.cookies-table th {
    background-color: #4B0082;
    color: #FFF5E1;
    font-weight: bold;
}

.cookies-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cookies-table tr:hover {
    background-color: #f1f1f1;
}

/* Responsive styles */
@media (max-width: 992px) {
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .welcome-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    main {
        margin-top: 130px;
    }
    
    .welcome h1 {
        font-size: 2rem;
    }
    
    .benefit, 
    .service, 
    .testimonial {
        min-width: 100%;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content form {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    /* Уменьшаем шапку в мобильной версии */
    .site-header {
        padding: 10px 0;
    }
    
    .site-header .logo svg {
        width: 150px;
        height: 40px;
    }
    
    .main-nav {
        margin-top: 5px;
    }
    
    .main-nav ul {
        padding: 0;
        margin: 0;
    }
    
    .main-nav li {
        margin: 2px 5px;
    }
    
    .main-nav a {
        font-size: 0.9rem;
        padding: 3px 0;
    }
    
    main {
        margin-top: 100px;
    }
    
    .welcome, 
    .why-us, 
    .services, 
    .testimonials, 
    .contact, 
    .faq {
        padding: 40px 0;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    .unique-form {
        padding: 25px;
    }
    
    /* Улучшения для страниц политики в мобильной версии */
    .policy h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
    }
    
    .policy-content {
        padding: 20px 15px;
    }
} 