:root {
    --color-primary: #e67e22;
    --color-secondary: #2c3e50;
    --color-accent: #fdebd0;
    --color-bg: #fffaf3;
    --color-bg-alt: #f5f0e8;
    --color-text: #333;
    --color-text-light: #777;
    --color-white: #fff;
    --font-heading: 'Poppins', serif;
    --font-body: 'Nunito', sans-serif;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.15);
    --radius: 12px;
    --transition: all .3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--color-secondary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--color-text);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 8px 20px;
    border-radius: 25px;
}

.btn-nav:hover {
    background: var(--color-secondary) !important;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background: var(--color-secondary);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 80px 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 20px 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: .9;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

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

.btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
    background: transparent;
}

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

.btn-block {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
    text-align: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: clamp(50px, 8vw, 80px) 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* ===== ABOUT - NUEVA ESTRUCTURA ===== */
.about-header {
    margin-bottom: 30px;
}

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

.about-text p {
    margin-bottom: 15px;
    font-size: clamp(1rem, 1.2vw, 1.05rem);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 5vw, 60px);
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: var(--color-text-light);
}

/* ===== CARRUSEL - VERSIÓN GRANDE (25% más) ===== */
.about-carousel-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.carousel-container.carousel-large {
    max-width: 625px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    background: #f0ebe3;
}

.carousel-container.carousel-large .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: clamp(250px, 50vw, 440px);
    width: 100%;
}

.carousel-container.carousel-large .carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0e8;
    overflow: hidden;
    position: relative;
}

/* ===== IMÁGENES FORZADAS AL TAMAÑO DEL CONTENEDOR ===== */
.carousel-container.carousel-large .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

.carousel-container.carousel-large .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: white;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.carousel-container.carousel-large .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: clamp(10px, 1.8vw, 16px) clamp(14px, 2.5vw, 20px);
    cursor: pointer;
    border-radius: 50%;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    transition: var(--transition);
    z-index: 10;
}

.carousel-container.carousel-large .carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-container.carousel-large .prev-btn {
    left: 15px;
}

.carousel-container.carousel-large .next-btn {
    right: 15px;
}

.carousel-container.carousel-large .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-container.carousel-large .dot {
    width: clamp(12px, 1.8vw, 15px);
    height: clamp(12px, 1.8vw, 15px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-container.carousel-large .dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 25vw, 250px), 1fr));
    gap: clamp(15px, 2vw, 25px);
}

.service-card {
    background: var(--color-white);
    padding: clamp(20px, 3vw, 30px) clamp(15px, 2vw, 20px);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.service-card p {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.price {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    transition: var(--transition);
}

.price.discount {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price.discount:hover {
    transform: scale(1.05);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 25vw, 250px), 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: var(--color-accent);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    color: var(--color-white);
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-overlay span {
    color: var(--color-white);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 300px), 1fr));
    gap: clamp(15px, 2vw, 25px);
}

.testimonial-card {
    background: var(--color-white);
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stars {
    color: #f1c40f;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: clamp(40px, 5vw, 45px);
    height: clamp(40px, 5vw, 45px);
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
}

.testimonial-author span {
    font-size: clamp(0.7rem, 0.9vw, 0.8rem);
    color: var(--color-text-light);
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: clamp(10px, 1.5vw, 12px);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
}

.urgency-bar a {
    color: var(--color-white);
    text-decoration: underline;
}

/* ===== BOOKING FORM ===== */
.booking-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    padding: clamp(20px, 4vw, 40px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(15px, 2vw, 20px);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-bottom: 6px;
    color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: clamp(10px, 1.2vw, 12px) clamp(12px, 1.5vw, 16px);
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 50px);
    align-items: start;
}

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

.info-icon {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    flex-shrink: 0;
}

.info-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.info-item p {
    margin: 3px 0;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
}

.map-placeholder {
    height: clamp(250px, 40vw, 350px);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: clamp(30px, 5vw, 50px) 0 clamp(15px, 2vw, 20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: 30px;
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 15px;
}

.footer h3 span {
    color: var(--color-primary);
}

.footer h4 {
    margin-bottom: 15px;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.footer p {
    opacity: .8;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul a {
    color: var(--color-white);
    opacity: .8;
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.footer ul a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: clamp(10px, 1.5vw, 15px);
    flex-wrap: wrap;
}

.social-links a {
    width: clamp(40px, 5vw, 45px);
    height: clamp(40px, 5vw, 45px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: clamp(16px, 2vw, 20px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-links a.whatsapp {
    background: #25D366;
}

.social-links a.instagram {
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf);
}

.social-links a.facebook {
    background: #1877F2;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    text-align: center;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    opacity: .7;
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: clamp(22px, 3vw, 28px);
    height: clamp(22px, 3vw, 28px);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, .4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, .6); }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: clamp(15px, 3vw, 20px);
    right: clamp(20px, 4vw, 30px);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    background: var(--color-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 40px);
    color: var(--color-white);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-hover);
        gap: 20px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--color-text) !important;
        font-size: 1rem;
        width: 100%;
        padding: 8px 0;
    }
    
    .carousel-container.carousel-large {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .carousel-container.carousel-large .carousel-slides {
        height: clamp(200px, 55vw, 320px);
    }
    
    .carousel-container.carousel-large .carousel-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .carousel-container.carousel-large .prev-btn {
        left: 8px;
    }
    
    .carousel-container.carousel-large .next-btn {
        right: 8px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        width: 240px;
        padding: 70px 20px 20px;
    }
    
    .btn-block {
        max-width: 100%;
    }
    
    .contact-grid {
        gap: 20px;
    }
    
    .carousel-container.carousel-large .carousel-slides {
        height: clamp(180px, 50vw, 250px);
    }
    
    .carousel-container.carousel-large .carousel-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .carousel-container.carousel-large .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 1rem;
    }
}
/* ===== HERO CON LOGO DE FONDO ===== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Imagenes/logo3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}

/* Capa adicional para mejorar legibilidad sobre la imagen */
.hero-bg-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.4);
}

.hero .hero-overlay {
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .hero-bg-logo {
        opacity: 0.12;
    }
    .hero-bg-logo::after {
        background: rgba(44, 62, 80, 0.5);
    }
}

@media (max-width: 480px) {
    .hero-bg-logo {
        background-size: contain;
        background-position: center 30%;
        opacity: 0.10;
    }
    .hero-bg-logo::after {
        background: rgba(44, 62, 80, 0.6);
    }
}

/* ===== TIENDA / CARRITO ===== */
body { padding-top: 0; }
.store-hero { min-height: 52vh; }
.store-hero .hero-content { max-width: 820px; margin: auto; }
.store-toolbar { display:flex; gap:12px; justify-content:space-between; align-items:center; flex-wrap:wrap; margin:0 0 28px; }
.search-box, .category-filter { padding:12px 16px; border:1px solid #ddd; border-radius:30px; background:#fff; font:inherit; }
.search-box { flex:1; min-width:220px; }
.products-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; }
.product-card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); display:flex; flex-direction:column; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-hover); }
.product-image-wrap { aspect-ratio:4/3; overflow:hidden; background:var(--color-accent); position:relative; }
.product-image { width:100%; height:100%; object-fit:cover; display:block; transition:var(--transition); }
.product-card:hover .product-image { transform:scale(1.04); }
.badge { position:absolute; top:12px; left:12px; background:var(--color-primary); color:#fff; border-radius:20px; padding:5px 10px; font-size:.75rem; font-weight:700; }
.product-body { padding:20px; display:flex; flex-direction:column; flex:1; }
.product-category { color:var(--color-primary); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.product-title { font-family:var(--font-heading); color:var(--color-secondary); margin:5px 0 8px; }
.product-description { color:var(--color-text-light); font-size:.9rem; flex:1; }
.product-price-row { display:flex; align-items:baseline; gap:9px; margin:16px 0; }
.product-price { font-size:1.35rem; font-weight:800; color:var(--color-secondary); }
.old-price { color:#999; text-decoration:line-through; font-size:.9rem; }
.stock { font-size:.78rem; color:var(--color-text-light); margin-bottom:12px; }
.add-btn { width:100%; border:0; }
.cart-button { position:relative; border:0; cursor:pointer; }
.cart-count { position:absolute; top:-8px; right:-8px; min-width:22px; height:22px; padding:0 5px; display:grid; place-items:center; background:#c0392b; color:#fff; border-radius:50%; font-size:.72rem; font-weight:800; }
.cart-drawer { position:fixed; inset:0; z-index:2500; pointer-events:none; }
.cart-drawer.open { pointer-events:auto; }
.cart-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.45); opacity:0; transition:.3s; }
.cart-drawer.open .cart-backdrop { opacity:1; }
.cart-panel { position:absolute; top:0; right:-460px; width:min(460px,100%); height:100%; background:#fff; padding:22px; transition:.35s; display:flex; flex-direction:column; box-shadow:-10px 0 30px rgba(0,0,0,.15); }
.cart-drawer.open .cart-panel { right:0; }
.cart-header { display:flex; justify-content:space-between; align-items:center; padding-bottom:15px; border-bottom:1px solid #eee; }
.icon-btn { border:0; background:none; font-size:1.8rem; cursor:pointer; }
.cart-items { overflow:auto; flex:1; padding:12px 0; }
.cart-item { display:grid; grid-template-columns:64px 1fr auto; gap:12px; padding:12px 0; border-bottom:1px solid #eee; align-items:center; }
.cart-item img { width:64px; height:64px; object-fit:cover; border-radius:10px; }
.qty { display:flex; align-items:center; gap:8px; margin-top:7px; }
.qty button { width:28px; height:28px; border:1px solid #ddd; background:#fff; border-radius:50%; cursor:pointer; }
.remove { border:0; background:none; color:#c0392b; cursor:pointer; font-size:.8rem; }
.cart-total { display:flex; justify-content:space-between; font-size:1.15rem; font-weight:800; padding:15px 0; }
.checkout-modal { position:fixed; inset:0; z-index:3000; display:none; place-items:center; padding:18px; background:rgba(0,0,0,.55); }
.checkout-modal.open { display:grid; }
.checkout-card { width:min(680px,100%); max-height:92vh; overflow:auto; background:#fff; border-radius:var(--radius); padding:clamp(20px,4vw,36px); box-shadow:var(--shadow-hover); }
.checkout-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.order-summary { background:var(--color-bg-alt); border-radius:10px; padding:15px; margin:18px 0; }
.status-message { text-align:center; padding:30px; color:var(--color-text-light); grid-column:1/-1; }
.config-warning { background:#fff3cd; border:1px solid #ffe69c; padding:12px 16px; border-radius:10px; margin-bottom:20px; color:#664d03; }
@media(max-width:600px){ .products-grid{grid-template-columns:1fr 1fr;gap:12px}.product-body{padding:14px}.product-title{font-size:.95rem}.product-description{font-size:.8rem}.product-price{font-size:1.05rem}.store-toolbar{align-items:stretch}.search-box,.category-filter{width:100%} }
@media(max-width:390px){ .products-grid{grid-template-columns:1fr} }
