/* Variables de colores y estilos */

/* Sección Hero */
.product-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.product-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-hero-content {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
}

.product-hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 1.5rem;
}

/* Estilos para imágenes */
.product-hero img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    margin: 0 auto 1.5rem;
}

/* Estilos para todas las imágenes */

.product-hero img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sección de características */
.features-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    bottom: -10px;
    left: 20%;
}

.section-title p.lead {
    font-size: 1.4rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0.5rem auto;
}

.feature-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Botones */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 200 !important;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

.btn-custom i {
    margin-right: 8px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary-custom:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tarjetas de características */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-unico {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Sección de video */
.video-section {
    padding: 4rem 0;
    background-color: white;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sección de imágenes */
.image-section {
    padding: 2rem 0;
}

.image-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-card .card-body {
    padding: 1.5rem;
}

/* Lista de características */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.3rem 0 1.5rem 2rem;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.feature-list li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 3rem 0;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .product-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .product-hero-content,
    .product-hero-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .btn-custom {
        width: 100%;
        margin: 0.5rem 0;
    }
}

:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --accent-color: #20c997;
    --light-bg: #f8f9fa;
    --dark-bg: #2d3748;
    --text-color: #2d3748;
    --light-text: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

/* Estilos generales */
body {
    color: var(--text-color);
    line-height: 1.6;
}

/* Sección Hero */
.product-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.product-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-hero-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.product-hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 2rem;
}

.product-hero img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-hero img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Sección de características */
.features-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.feature-card {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Botones */
.btn-custom {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-custom {
    background-color: #398d4c;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #218838;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary-custom:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .product-hero .container {
        flex-direction: column;
    }

    .product-hero-content,
    .product-hero-image {
        width: 100%;
        padding: 1rem;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }
}

/* Testimonios */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
    margin: 0;
    color: var(--dark-bg);
    font-weight: 600;
}

.testimonial-author p {
    margin: 0.25rem 0 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.testimonial-body {
    flex: 1;
    position: relative;
    padding-top: 1rem;
}

.testimonial-body:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(40, 167, 69, 0.1);
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-body p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.testimonial-rating .fa-star-half-o {
    position: relative;
}

.testimonial-rating .fa-star-half-o:before {
    content: '\f123';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
}