/* ============================================
   ESTILOS GLOBALES - SKINCARE COLOMBIA
   ============================================ */

:root {
    --lrp-blue: #00AEEF;
    --lrp-navy: #003DA5;
    --lrp-orange: #FF6B35;
    --lrp-pearl: #F5F7FA;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-light: #E5E7EB;
    --lrp-green: #10B981;
}

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

html, body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 3rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,174,239,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-text h1 span {
    color: var(--lrp-blue);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: var(--lrp-navy);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--lrp-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--lrp-blue);
    color: var(--lrp-blue);
}

.hero-trust {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--lrp-blue);
    font-size: 1.25rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,174,239,0.15);
}

/* ============================================
   CATEGORÍAS SECTION
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.category-card {
    padding: 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   PRODUCTOS GRID
   ============================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 8px 16px rgba(0,174,239,0.2);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--lrp-orange);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-info {
    padding: 1rem;
}

.product-line {
    color: var(--lrp-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-price {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lrp-blue);
}

.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btn-add-cart, .btn-buy-now {
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart {
    background: var(--lrp-blue);
    color: white;
}

.btn-add-cart:hover {
    background: var(--lrp-navy);
}

.btn-buy-now {
    background: var(--bg-secondary);
    color: var(--lrp-blue);
}

.btn-buy-now:hover {
    background: var(--lrp-pearl);
}

/* ============================================
   LÍNEAS SECTION
   ============================================ */

.lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.line-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    transition: all 0.3s;
}

.line-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.line-card:hover img {
    transform: scale(1.05);
}

.line-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 1;
}

.line-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.line-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.line-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter {
    background: linear-gradient(135deg, var(--lrp-navy) 0%, var(--lrp-blue) 100%);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.newsletter h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--lrp-navy);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--lrp-pearl);
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lines-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}
