:root {
    --primary-color: #c0a080;
    --secondary-color: #8c7361;
    --accent-color: #a03c28;
    --light-color: #f5f2ed;
    --dark-color: #2f2f2f;
    --mapuche-red: #ab3c3c;
    --mapuche-blue: #3c6fab;
    --mapuche-black: #232323;
    --gradient-gold: linear-gradient(135deg, #e6d0a9 0%, #c0a080 50%, #a78d5d 100%);
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--mapuche-red);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-gold);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: white;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

.ethnic-pattern {
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.73-5.139-1.691-8.233-2.928C65.888 13.278 60.562 12 50 12c-10.626 0-16.855 1.397-26.66 5.063l-1.767.662c-2.475.923-4.66 1.674-6.724 2.275h6.335zm0-20C13.258 2.892 8.077 4 0 4V2c5.744 0 9.951-.574 14.85-2h6.334zM77.38 0C85.239 2.966 90.502 4 100 4V2c-6.842 0-11.386-.542-16.396-2h-6.225zM0 14c8.44 0 13.718-1.21 22.272-4.402l1.768-.661C33.64 5.347 39.647 4 50 4c10.271 0 15.362 1.222 24.629 4.928C84.112 12.722 89.438 14 100 14v-2c-10.271 0-15.362-1.222-24.629-4.928C65.888 3.278 60.562 2 50 2 39.374 2 33.145 3.397 23.34 7.063l-1.767.662C13.223 10.84 8.163 12 0 12v2z' fill='%23c0a080' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    margin: 30px 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--light-color);
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.navbar-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-links {
    display: flex;
    gap: 30px;
}

.navbar-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(47, 47, 47, 0.7), rgba(47, 47, 47, 0.7));
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--light-color);
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    -webkit-text-fill-color: var(--light-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--light-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    display: block;
}

/* Mission Vision Section */
.mission-vision {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.mission-vision-content {
    display: flex;
    gap: 40px;
}

.mission-card, .vision-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.mission-card h3, .vision-card h3 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--light-color);
}

.mission-card h3 i, .vision-card h3 i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Estilos para Swiper Carrusel */
.gallery {
    background-color: var(--light-color);
    overflow: hidden;
    padding-bottom: 50px;
}

.gallery-swiper {
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    margin: 0 auto;
}

.swiper-slide {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

.swiper-container-fade .swiper-slide {
    transition-timing-function: ease-out;
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
}

.techniques {
    background-color: var(--light-color);
}

.techniques-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.technique-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.technique-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.technique-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--light-color);
    font-size: 2rem;
}

.unique-features {
    margin-top: 60px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.clients {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.clients-content {
    display: flex;
    gap: 40px;
}

.clients-info, .occasions-info {
    flex: 1;
}

.occasions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.occasion-item {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: var(--accent-color);
    color: var(--light-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.occasion-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background-color: var(--mapuche-red);
}

.history {
    background-color: var(--light-color);
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-gold);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -20px;
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.inspiration {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.inspiration-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.inspiration-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.inspiration-image img {
    width: 100%;
    display: block;
}

.inspiration-text {
    flex: 1;
}

.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    padding: 40px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: var(--transition);
    font-family: var(--font-secondary);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 160, 128, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 1.2rem;
    margin-right: 20px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background-color: var(--accent-color);
    color: var(--light-color);
}

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    color: var(--light-color);
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: 80px 0;
    }

    .about-content, 
    .mission-vision-content, 
    .clients-content, 
    .inspiration-content, 
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .history-timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: auto !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        right: auto;
    }
    
    .gallery-swiper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 15px;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .technique-card {
        min-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-swiper {
        height: 350px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
    
    .gallery-swiper {
        height: 300px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}