/* 
   Colors:
   - Primary: #FF6F61 (coral-red)
   - Accent: #00C49A (jade-green)
   - Background: #FDF6EC (cream-white)
   - Text: #37474F (slate-gray)
   - Interface: #FDCFB0 (peach)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Добавляем отступ для якорей */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #37474F;
    background-color: #FDF6EC;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF6F61;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00C49A;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6F61;
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #FF6F61;
    color: #FDF6EC;
}

.btn-primary:hover {
    background-color: #e56559;
    color: #FDF6EC;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.3);
}

.btn-secondary {
    background-color: #00C49A;
    color: #FDF6EC;
}

.btn-secondary:hover {
    background-color: #00b58c;
    color: #FDF6EC;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #37474F;
    color: #FDF6EC;
    padding: 15px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cookie-banner .cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#cookie-banner p {
    margin: 0;
    flex: 1;
}

#cookie-banner a {
    color: #FDCFB0;
    text-decoration: underline;
}

/* Header */
.header {
    background-color: #FDF6EC;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    height: auto;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-flex {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #37474F;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
}

.menu-toggle:hover {
    color: #FF6F61;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Navigation Styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    width: 100%;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem 0;
}

.main-nav a {
    color: #37474F;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.main-nav .btn-nav {
    background-color: #FF6F61;
    color: #FDF6EC;
    padding: 8px 16px;
    border-radius: 50px;
}

.main-nav .btn-nav:hover {
    background-color: #e56559;
    color: #FDF6EC;
}

.main-nav .btn-nav:hover:after {
    width: 0;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.9), rgba(0, 196, 154, 0.9)), url('./img/I7uEKU.jpg');
    background-size: cover;
    background-position: center;
    color: #FDF6EC;
    text-align: center;
    padding: 8rem 0;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.banner p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.sobre-nosotros {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* Services Section */
.servicios {
    background-color: #FDF6EC;
}

.services-table {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background-color: #FF6F61;
    color: #FDF6EC;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
    background-color: #f8f8f8;
}

/* Advantages Section */
.ventajas {
    background-color: #fff;
}

.ventajas-featured {
    margin-bottom: 2rem;
    text-align: center;
}

.ventajas-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    object-fit: cover;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ventaja-item {
    background-color: #FDF6EC;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.ventaja-item:hover {
    transform: translateY(-10px);
}

.ventaja-icon {
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contacto {
    background-color: #FDF6EC;
}

.contacto-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contacto-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contacto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contacto-image:hover img {
    transform: scale(1.05);
}

.formulario {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #00C49A;
    outline: none;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox input {
    width: auto;
    margin-top: 5px;
}

.checkbox label {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonios {
    background-color: #fff;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonio-item {
    background-color: #FDF6EC;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonio-content {
    padding: 2rem;
    position: relative;
}

.testimonio-content:before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    color: #FDCFB0;
    opacity: 0.5;
    line-height: 1;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: #FDCFB0;
}

.testimonio-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonio-author h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonio-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Thank You Page */
.gracias {
    padding: 8rem 0;
    text-align: center;
}

.gracias-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.gracias-content svg {
    margin-bottom: 2rem;
}

.gracias-content h1 {
    color: #00C49A;
    margin-bottom: 1.5rem;
}

.gracias-content .btn {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: #37474F;
    color: #FDF6EC;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer h3 {
    color: #FDCFB0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(253, 207, 176, 0.3);
}

.footer a {
    color: #FDF6EC;
}

.footer a:hover {
    color: #FDCFB0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
}

.legal-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    text-align: left;
    margin-top: 2rem;
}

.legal-content h2:after {
    left: 0;
    transform: none;
}

.legal-content ul, .legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    /* Header mobile styles */
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .mobile-nav.menu-open {
        max-height: 300px; /* Adjust based on your menu size */
    }
    
    .mobile-menu-toggle {
        display: block; /* Show on mobile */
    }
    
    .mobile-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav ul {
        gap: 0.7rem;
    }
    
    .main-nav li {
        width: 100%;
        text-align: left;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
    }
    
    .main-nav .btn-nav {
        display: inline-block;
    }
    
    .banner {
        padding: 5rem 0;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .about-content, .contacto-wrapper {
        flex-direction: column;
    }
    
    .contacto-image {
        max-height: 300px;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
    
    .services-table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    #cookie-banner .cookie-content {
        justify-content: center;
        text-align: center;
    }
} 