/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c7a17a;
    --primary-dark: #b28b60;
    --secondary: #2d2a27;
    --dark: #1e1b1a;
    --light: #fefaf5;
    --gray: #6c6a68;
    --white: #ffffff;
    --shadow-sm: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    --shadow-md: 0 20px 25px -12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 5rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__pretitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
}

.section__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
}

.section__subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    padding: 1rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--primary);
    margin-right: 6px;
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    gap: 1.2rem;
    font-size: 1.2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?w=1600&auto=format') center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero__content {
    position: relative;
    color: var(--white);
    max-width: 650px;
    z-index: 2;
}

.hero__tag {
    display: inline-block;
    background: rgba(199, 161, 122, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero__title {
    font-size: 3.8rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero__btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==================== PRODUCTOS ==================== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-card__actions {
    opacity: 1;
}

.btn-wishlist, .btn-quickview {
    background: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.product-card__info {
    padding: 1.2rem;
    text-align: center;
}

.price {
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.btn-add-cart {
    background: var(--dark);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary);
}

/* ==================== BENEFICIOS ==================== */
.benefits {
    background: var(--light);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    transition: var(--transition);
}

.benefit-card i {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 0.5rem;
}

/* ==================== TESTIMONIOS ==================== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0ede9;
}

.testimonial__stars {
    color: #f5b342;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin: 1rem 0;
}

.testimonial__user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.testimonial__user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* ==================== GALERÍA ==================== */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==================== CTA ==================== */
.cta-section {
    background: var(--secondary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta__inner h2 span {
    color: var(--primary);
}

.cta-form {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 0.9rem 1.5rem;
    border-radius: 60px;
    border: none;
    width: 280px;
    font-size: 1rem;
}

/* ==================== CONTACTO ==================== */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--light);
    padding: 2.5rem;
    border-radius: 32px;
}

.contact__info i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 1.2rem;
}

.contact__form .form-group {
    margin-bottom: 1.2rem;
}

.contact__form input, .contact__form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid #e2dbd2;
    font-family: inherit;
    transition: 0.2s;
}

.contact__form input:focus, .contact__form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #111;
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: #2a2a2a;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer__links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__newsletter form {
    display: flex;
    margin-top: 1rem;
}

.footer__newsletter input {
    flex: 1;
    padding: 0.7rem;
    border-radius: 40px 0 0 40px;
    border: none;
}

.footer__newsletter button {
    background: var(--primary);
    border: none;
    padding: 0 1rem;
    border-radius: 0 40px 40px 0;
    color: white;
    cursor: pointer;
}

.footer__bottom {
    text-align: center;
    border-top: 1px solid #2a2a2a;
    padding-top: 2rem;
    font-size: 0.8rem;
}

/* ==================== MODAL LIGHTBOX ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* ==================== TOAST ==================== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--dark);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    animation: slideIn 0.3s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero__title {
        font-size: 2.8rem;
    }
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 2px 0 20px rgba(0,0,0,0.05);
    }
    .navbar.active {
        left: 0;
    }
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-icons {
        margin-top: 2rem;
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .section__title {
        font-size: 2rem;
    }
    .products__grid, .benefits__grid, .testimonials__grid {
        gap: 1.5rem;
    }
    .cta-form input {
        width: 100%;
    }
}