/* =====================================================
   LANDING PAGES CSS - Larosset Bucaramanga
   Template compartido para las 7 landings
   ===================================================== */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #BF9460;
    --primary-dark: #a67d4f;
    --secondary: #F2CEA2;
    --accent: #8C5F37;
    --accent-dark: #F2C9C9;
    --dark: #0D0D0D;
    --light: #ffffff;
    --gray: #666;
    --gray-light: #F2F2F2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 32px rgba(191,148,96,0.2);
    --radius: 16px;
    --radius-full: 50px;
    --transition: all 0.3s ease;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background: var(--light);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: var(--font-body); }

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

/* === TOP BAR === */
.top-bar {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar span { color: var(--accent); font-weight: 700; }

/* === HEADER / NAVBAR === */
.landing-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-area img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.btn-whatsapp-header {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-whatsapp-header:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
}

/* === HERO SECTION === */
.landing-hero {
    background:
        linear-gradient(135deg, rgba(140, 95, 55, 0.78) 0%, rgba(191, 148, 96, 0.62) 50%, rgba(140, 95, 55, 0.78) 100%),
        url('https://images.unsplash.com/photo-1487530811176-3780de880c2d?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.landing-hero h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.landing-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

.hero-trust {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* === BENEFITS STRIP === */
.benefits-strip {
    background: var(--dark);
    color: white;
    padding: 1.5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.benefit-icon {
    font-size: 1.6rem;
}

.benefit-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

/* === CTA CONSULTA (para categorías sin productos) === */
.cta-consulta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 3rem 0;
    text-align: center;
}

.cta-consulta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta-consulta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-consulta p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.btn-cta-big {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(191,148,96,0.35);
}

.btn-cta-big:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(191,148,96,0.45);
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* === CATALOG SECTION === */
.catalog-landing {
    padding: 4rem 0;
    background: var(--gray-light);
}

.catalog-filters-landing {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn-landing {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.filter-btn-landing:hover,
.filter-btn-landing.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(191,148,96,0.3);
}

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

.product-card-landing {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-code-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--accent);
    color: var(--dark);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(192, 57, 43, 0.35);
}

.price-old-landing {
    display: block;
    font-size: 0.85rem;
    color: #b85a5a;
    text-decoration: line-through;
    margin-bottom: 2px;
    opacity: 0.85;
}

.product-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-body .desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-footer-landing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid #f0f0f0;
}

.price-block .label {
    font-size: 0.7rem;
    color: var(--gray);
    display: block;
}

.price-block .price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-order-landing {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--dark);
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-order-landing:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-2px);
}

.results-count {
    text-align: center;
    padding: 0.75rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.results-count strong { color: var(--primary); }

/* === WHY US SECTION === */
.why-us {
    padding: 5rem 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--gray-light);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.why-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 5rem 0;
    background: var(--gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-stars {
    color: #FFB800;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* === CTA FINAL === */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-final h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.landing-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* === WHATSAPP FLOATING === */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    transition: var(--transition);
    animation: waPulse 2s infinite;
}

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

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: white;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.8); }
}

/* === LIGHTBOX === */
.lightbox-landing {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-landing.active { display: flex; }

.lightbox-landing-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: lbZoom 0.3s ease;
}

@keyframes lbZoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-landing-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-landing-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: var(--primary);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-landing-close:hover {
    background: var(--secondary);
    transform: rotate(90deg);
}

.lightbox-landing-info {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 0.75rem;
    text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .why-grid,
    .testimonials-grid,
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .landing-hero { padding: 3.5rem 0 3rem; }
    .landing-hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; align-items: center; gap: 0.75rem; }
    .why-grid,
    .testimonials-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .products-grid-landing { grid-template-columns: 1fr; }
    .header-phone { display: none; }
    .section-title h2 { font-size: 2rem; }
    .cta-final h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .landing-hero h1 { font-size: 1.75rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .catalog-filters-landing { gap: 0.5rem; }
    .filter-btn-landing { padding: 0.5rem 1rem; font-size: 0.8rem; }
}
