/* ===== RESET Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a6b2f;      /* Verde principal Natu Brasil */
    --primary-dark: #0f4d21;
    --primary-light: #4caf50;
    --secondary: #2e7d32;
    --accent: #81c784;
    --text-dark: #1e2a2e;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-gray: #f7fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--bg-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== HEADER / NAVBAR ===== */
header {
   
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    display: flex;
    
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo i {
    font-size: 1.8rem;
    
    background-image: url('../images/incono.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1.8rem;
    height: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-wsp-mobile {
    background: #25D366;
    color: white !important;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wsp-mobile:hover {
    background: #128C7E;
    color: white !important;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(26,107,47,0.05) 0%, transparent 70%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

.btn-secondary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

/* ===== ANIMACIÓN DE ROTACIÓN ===== */
.rotation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px 0;
    flex-direction: row;
}

.rotation-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.rotation-img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    object-fit: contain;
    transform: scale(0.8) rotateY(90deg);
}

.rotation-img.active {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    animation: slideInImage 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.about-img {
    border-radius: 0;
    opacity: 0;
    transform: translateY(20px);
}

.about-img.active {
    opacity: 1;
    transform: translateY(0);
    animation: aboutReveal 0.8s ease-out;
}

@keyframes aboutReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rotation-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.rotation-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.rotation-btn:active {
    transform: scale(0.95);
}

.hero-text-img {
    max-width: 300px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-gray);
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%, 100% 0%);
}

/* ===== FEATURES BAR (Beneficios) ===== */
.features-bar {
    background: white;
    padding: 30px 0;
    box-shadow: var(--shadow-sm);
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 30px 30px 0 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== PRODUCTOS SECTION ===== */
.products {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.75s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.12s;
}

.product-card:nth-child(2) {
    animation-delay: 0.24s;
}

.product-card:nth-child(3) {
    animation-delay: 0.36s;
}

.product-card:nth-child(4) {
    animation-delay: 0.48s;
}

.product-card:nth-child(5) {
    animation-delay: 0.60s;
}

.product-card:nth-child(6) {
    animation-delay: 0.72s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    background: #e8f5e9;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.product-image i {
    font-size: 3rem;
    color: var(--primary);
}

.product-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.featured {
    animation: bounceIn 1s ease forwards;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.product-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-badge {
    display: inline-block;
    background: #e8f5e9;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 8px auto;
}

.pharma-badge {
    background: var(--primary);
    color: white;
}

.natural-badge {
    background: #d4e6d4;
    color: #2e6b2f;
}

.product-badge-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0;
}

.product-footer {
    margin-top: 1.2rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.02);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.features-list {
    margin-top: 1.5rem;
}

.features-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.features-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.about-image {
    text-align: center;
    background: #e8f5e9;
    border-radius: 40px;
    padding: 2rem;
}

.about-image i {
    font-size: 10rem;
    color: var(--primary);
    opacity: 0.7;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--bg-gray);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.8rem;
}

.contact-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-whatsapp-large {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 2px;
}

/* ===== FOOTER ===== */
footer {
    background: #1a2e1f;
    color: #e2e8f0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand-icon {
    width: 50px;
    height: auto;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-farma {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 8px;
}

.footer-links h4, .footer-hours h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-hours p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #2d3a2a;
    font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 99;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 98;
    box-shadow: var(--shadow-md);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        background: white;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}