/* ==========================================
   VARIABLES Y RESET
========================================== */
:root {
    --primary-color: #c9a86c;
    --primary-dark: #b08d4f;
    --secondary-color: #6b6b6b;
    --dark-color: #2c2c2c;
    --light-color: #f8f5f0;
    --white: #ffffff;
    --green-color: #2d5a27;
    --green-light: #4a7c42;
    --green-pale: #e8f5e9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

/* ==========================================
   ANNOUNCEMENT BANNER
========================================== */
.announcement-banner {
    background: linear-gradient(135deg, var(--green-color) 0%, var(--green-light) 100%);
    color: var(--white);
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

.announcement-icon {
    color: #ffd700;
    font-size: 1.2rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
}

.announcement-text strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.announcement-divider {
    color: #ffd700;
    font-size: 1.2rem;
}

.announcement-celiac {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.announcement-celiac i {
    color: #90EE90;
}

.announcement-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    right: 0;
}

.announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Banner visibility classes */
body.banner-visible .header {
    top: 52px;
}

body.banner-visible .hero {
    margin-top: 132px;
}

body.banner-visible .mobile-menu {
    top: 132px;
}

.announcement-banner.hidden {
    display: none;
}

/* ==========================================
   HEADER
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    color: var(--dark-color);
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-list a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 50%, var(--light-color) 100%);
    margin-top: 80px;
    padding: 60px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23c9a86c" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-badge i {
    color: #90EE90;
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-size: 1rem;
}

.hero-location i {
    color: var(--primary-color);
}

/* ==========================================
   BUTTONS
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 108, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
    background: var(--dark-color);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

/* ==========================================
   SECTION STYLES
========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* ==========================================
   FEATURED SECTION
========================================== */
.featured-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 50%, var(--light-color) 100%);
}

.featured-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--green-color), var(--primary-color));
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
    padding: 8px 40px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.featured-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.featured-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 20px auto;
}

.featured-subtitle {
    font-size: 1.3rem;
    color: var(--green-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.featured-subtitle i {
    color: var(--green-light);
}

.featured-text {
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.featured-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-green {
    background: var(--green-pale);
    color: var(--green-color);
    border: 1px solid #a5d6a7;
}

.badge-green i {
    color: var(--green-light);
}

/* ==========================================
   PRODUCTS SECTION
========================================== */
.products-section {
    padding: 80px 20px;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.product-card.product-featured {
    border: 3px solid var(--green-color);
    background: linear-gradient(135deg, var(--white) 0%, var(--green-pale) 100%);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 1px;
}

.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-description {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.product-price {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.product-price-celiac {
    color: var(--green-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-price-celiac i {
    color: var(--green-light);
}

.products-cta {
    text-align: center;
    padding: 30px;
    background: var(--light-color);
    border-radius: 20px;
}

.products-cta p {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-section {
    padding: 80px 20px;
    background: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-content strong {
    color: var(--dark-color);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--green-color), var(--green-light));
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 500;
}

.about-badge i {
    font-size: 1.3rem;
    color: #90EE90;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   LOCATION SECTION
========================================== */
.location-section {
    padding: 80px 20px;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.location-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.info-content h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.info-content a {
    color: var(--primary-color);
    font-weight: 500;
}

.info-content a:hover {
    color: var(--primary-dark);
}

.link-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-color);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 8px;
    font-size: 0.85rem;
}

.link-maps:hover {
    background: var(--primary-color);
    color: var(--white);
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-content .btn {
    margin-top: 20px;
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-celiac {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 124, 66, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--white);
}

.footer-celiac i {
    color: #90EE90;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social i {
    font-size: 1.1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================
   WHATSAPP FLOAT
========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .featured-card {
        padding: 40px 25px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-subtitle {
        font-size: 1.1rem;
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .announcement-text {
        flex-direction: column;
        gap: 8px;
    }
    
    .announcement-divider {
        display: none;
    }
    
    body.banner-visible .header {
        top: 85px;
    }
    
    body.banner-visible .hero {
        margin-top: 165px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .featured-icon {
        width: 80px;
        height: 80px;
    }
    
    .featured-icon i {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}