/* Shared CSS for Application Pages */

/* General Layout */
.app-content {
    background-color: #ffffff;
    font-family: 'Exo', sans-serif;
    /* Assuming Exo is available per branding guidelines */
    color: #333;
    line-height: 1.6;
}

.ajuste {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #b90e2b;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb .sep {
    margin: 0 0.5rem;
}

/* Cards & Sections */
.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 12px;
    background: #fff;
    /* Minimalist separation, no heavy borders */
}

/* Reverse layout for alternating sections */
.card:nth-child(even) {
    flex-direction: row-reverse;
}

.cardtxt {
    width: 48%;
}

.cardtxt h3 {
    font-size: 1.8rem;
    color: #b90e2b;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cardtxt p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.cardtxt ul {
    list-style: none;
    padding: 0;
}

.cardtxt ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.cardtxt ul li::before {
    content: "•";
    color: #b90e2b;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* "Floating" Image Style */
.card img,
.imgder,
.imgizq {
    width: 45%;
    height: auto;
    object-fit: contain;
    /* Floating effect */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    background: transparent;
}

.card img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 30px rgba(185, 14, 43, 0.15));
    /* Reddish shadow on hover */
}

/* Hero Section */
.fondo,
.hero-sub {
    position: relative;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.fondo h1,
.hero-sub h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fondo h3,
.hero-sub p {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Features Grid */
.feature-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Very subtle shadow */
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #b90e2b;
}

.highlight-card img {
    height: 130px;
    width: auto;
    margin-bottom: 1.5rem;
}

.highlight-card h4 {
    color: #b90e2b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Banners */
.banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 0;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.txtbanner {
    max-width: 60%;
}

.txtbanner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.boton {
    display: inline-block;
    background: #b90e2b;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(185, 14, 43, 0.4);
}

.boton:hover {
    background: #d61235;
    transform: scale(1.05);
}

/* Minimal CTA banner for Eneboo modules */
.eneboo-modulo-page .banner {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eceff3;
    padding: 3.5rem 2rem;
    display: block;
    text-align: center;
    margin: 4rem auto;
    max-width: 920px;
    color: #1f2937;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.eneboo-modulo-page .txtbanner {
    max-width: 720px;
    margin: 0 auto;
}

.eneboo-modulo-page .txtbanner h2 {
    color: #b90e2b;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 1rem;
}

.eneboo-modulo-page .txtbanner p {
    color: #4b5563;
    margin-bottom: 1.4rem;
}

.eneboo-modulo-page .txtbanner a {
    display: inline-block;
}

.eneboo-modulo-page .boton {
    background: #b90e2b;
    color: #fff;
    border: 1px solid #b90e2b;
    box-shadow: 0 12px 28px rgba(185, 14, 43, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eneboo-modulo-page .boton:hover {
    background: #a50c26;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(185, 14, 43, 0.33);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .card,
    .card:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .cardtxt,
    .card img,
    .imgder,
    .imgizq {
        width: 100%;
    }

    .card img {
        margin: 2rem 0;
    }

    .banner {
        flex-direction: column;
        text-align: center;
    }

    .txtbanner {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .eneboo-modulo-page .banner {
        padding: 2.5rem 1.25rem;
    }

    .eneboo-modulo-page .txtbanner {
        margin-bottom: 0;
    }
}