/* Ajuste para que el video de la miniatura ocupe todo el alto del slide y no deje espacio blanco */
.slide.video video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
/* Botón de play en videos del slider */
.slide.video {
    position: relative;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
/* Modal para imágenes y videos */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.media-modal .close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 10001;
}
.media-modal #modalContent {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    height: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8d2525; /* Borgoña del logo */
    --secondary: #c7873a; /* Dorado cálido */
    --accent: #f2d7a0; /* Beige/acento suave */
    --text-dark: #2b1a1a;
    --text-light: #ffffff;
    --bg-light: #f7f1ea;
    --success: #25d366;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fffdf9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 50%;
}

.logo-name-mobile {
    display: none;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .logo-name-mobile {
        display: inline;
    }
}

.btn-nav {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}


/* Hero Section */
.hero {
    background: var(--bg-light);
    padding: 60px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem !important;
    }
}

.badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 151, 167, 0.3);
    transition: transform 0.2s;
}

.btn-primary:active {
    transform: scale(0.95);
}

.cta-subtext {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hero Visual */
.image-stack {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.floating-card .icon {
    font-size: 1.5rem;
}

.card-info strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.card-info span {
    font-size: 0.8rem;
    color: #666;
}

/* Features */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 25px;
    border: 1px solid #eee;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-weight: 700;
}

/* Gallery slider */
.gallery {
    padding: 60px 0;
    background: #f9f9f9;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.gallery h2 {
    font-weight: 800;
}

.slider-controls {
    display: flex;
    gap: 8px;
}

.slider-nav {
    background: white;
    border: 1px solid #e5e5e5;
    color: var(--text-dark);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.slider-nav:active {
    transform: scale(0.96);
}

.media-slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 12px 2px;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 85%;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.slide.video {
    position: relative;
}

.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(141,37,37,0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (min-width: 640px) {
    .slide {
        flex-basis: 55%;
    }
    .slide img {
        height: 260px;
    }
}

@media (min-width: 900px) {
    .slide {
        flex-basis: 32%;
    }
    .slide img {
        height: 240px;
    }
}

/* Info */
.info {
    padding: 70px 0;
    background: #f9fefe;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.info-card {
    background: white;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid #e5f2f4;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.info-card h3 {
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    font-size: 0.98rem;
    color: #445;
}

/* Reviews */
.reviews {
    padding: 80px 0;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
}

.stars {
    color: var(--accent);
    margin-bottom: 10px;
}

.author {
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* CTA Final */
.cta-final {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-final h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-whatsapp-large {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.btn-whatsapp-large:active {
    transform: scale(0.95);
}


/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}
