
.wl27_container {
   
    --wl27-blue: var(--w-blue, #003B70); 
    --wl27-gold: var(--w-gold, #d8ad28);
    --wl27-dark: var(--w-dark, #1a1a1a);
    --wl27-white: #ffffff;
    
    --wl27-bg-section: #F4F7FA;
    --wl27-border-light: rgba(255, 255, 255, 0.8);
    --wl27-shadow-hover: 0 15px 35px -5px rgba(0, 59, 112, 0.15);
    --wl27-shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --wl27-radius: 20px;
    
   
    --wl27-font-title: var(--font-head, 'Poppins', sans-serif);
    --wl27-font-text: var(--font-body, 'Segoe UI', sans-serif);
}

.wl27_wrapper {
    background-color: var(--wl27-bg-section);
    padding: 80px 20px;
    font-family: var(--wl27-font-text);
    color: #444;
    box-sizing: border-box;
    width: 100%;
}

.wl27_wrapper * {
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.wl27_wrapper a {
    text-decoration: none;
    color: inherit;
}

/* === HEADER DE LA SECCIÓN === */
.wl27_hero {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.wl27_badge {
    display: inline-block;
    background: #eef6ff;
    color: var(--wl27-blue);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
    letter-spacing: 1px;
}

.wl27_title {
    font-family: var(--wl27-font-title);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--wl27-dark);
    margin: 0 0 20px;
    font-weight: 800;
}

.wl27_gradient_text {
    background: linear-gradient(135deg, var(--wl27-blue) 0%, #005bb5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.wl27_desc {
    font-size: 1.1rem;
    color: #556987;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === GRID LAYOUT === */
.wl27_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1150px;
    margin: 0 auto;
}

/* === TARJETAS BASE === */
.wl27_card {
    background: var(--wl27-white);
    border-radius: var(--wl27-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--wl27-shadow-card);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.wl27_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wl27-shadow-hover);
    z-index: 2;
}

/* Enlaces en Títulos */
.wl27_card h3 a {
    color: inherit;
    transition: color 0.2s;
}
.wl27_card h3 a:hover {
    color: var(--wl27-gold);
}

/* === TARJETA 1: HERO (Espejos) === */
.wl27_card_hero {
    grid-column: span 2;
    min-height: 400px;
}

.wl27_bg_image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.wl27_card:hover .wl27_bg_image {
    transform: scale(1.04);
}

.wl27_glass_overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 16px;
    color: var(--wl27-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.wl27_pill_tag {
    background: var(--wl27-gold);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 8px;
}

.wl27_card_title {
    margin: 0;
    font-family: var(--wl27-font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wl27-blue);
    line-height: 1.2;
}

.wl27_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}
.wl27_footer p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    max-width: 65%;
    line-height: 1.4;
}

/* === TARJETAS VERTICALES === */
.wl27_card_vertical {
    min-height: 400px;
}

.wl27_icon_float {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wl27-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 2;
    font-size: 1.1rem;
}

.wl27_img_top {
    height: 200px;
    overflow: hidden;
}
.wl27_img_top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wl27_body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wl27_subtitle {
    font-family: var(--wl27-font-title);
    font-size: 1.4rem;
    margin: 0 0 10px;
    color: var(--wl27-blue);
    font-weight: 700;
}

.wl27_text {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* === TARJETA GESTIÓN (Horizontal) === */
.wl27_card_wide_sm {
    grid-column: span 2;
    min-height: 280px;
}

.wl27_flex_row {
    display: flex;
    height: 100%;
}

.wl27_txt_side {
    padding: 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wl27_img_side {
    width: 40%;
    background-size: cover;
    background-position: center;
}

/* === TARJETA MANTENIMIENTO (Estilo Específico Solicitado) === */
.wl27_card_maint {
    grid-column: span 3;
    border: 2px dashed #cbd5e1; /* Borde punteado solicitado */
    background: #ffffff;
    box-shadow: none;
    display: flex;
    align-items: center;
    padding: 25px 40px;
    gap: 30px;
}

.wl27_maint_icon {
    width: 70px;
    height: 70px;
    background: #e0f2fe;
    color: var(--wl27-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wl27_maint_content {
    flex-grow: 1;
}

.wl27_maint_content h3 {
    color: var(--wl27-blue);
    font-family: var(--wl27-font-title);
    font-size: 1.5rem;
    margin: 0 0 8px;
    font-weight: 800;
}
.wl27_maint_content p {
    margin: 0 0 15px;
    color: #475569;
}

.wl27_tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.wl27_tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
}

/* === BOTONES (Todos con clase wl27_) === */

/* Botón Sólido Dorado */
.wl27_btn_gold {
    background: var(--wl27-gold);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.wl27_btn_gold:hover {
    background: #b08d26;
    color: white;
    transform: translateX(3px);
}

/* Botón Suave Azul */
.wl27_btn_soft {
    background: #eef6ff;
    color: var(--wl27-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-block;
    text-align: center;
    width: fit-content;
}
.wl27_btn_soft:hover {
    background: var(--wl27-blue);
    color: white;
}

/* Botón Borde Azul */
.wl27_btn_outline {
    border: 2px solid var(--wl27-blue);
    color: var(--wl27-blue);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
}
.wl27_btn_outline:hover {
    background: var(--wl27-blue);
    color: white;
}

/* Botón Específico Mantenimiento (Igual a imagen) */
.wl27_btn_maint {
    border: 2px solid var(--wl27-blue);
    color: var(--wl27-blue);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    transition: all 0.2s;
}
.wl27_btn_maint:hover {
    background: var(--wl27-blue);
    color: white;
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
    .wl27_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wl27_card_hero { grid-column: span 2; }
    .wl27_card_wide_sm { grid-column: span 2; }
    .wl27_card_maint { grid-column: span 2; }
}

@media (max-width: 768px) {
    .wl27_card_maint {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .wl27_tags { justify-content: center; }
    .wl27_btn_maint { width: 100%; justify-content: center; }
    .wl27_footer { flex-direction: column; align-items: flex-start; gap: 15px; }
    .wl27_footer p { max-width: 100%; }
}

@media (max-width: 600px) {
    .wl27_grid { grid-template-columns: 1fr; }
    .wl27_card_hero, .wl27_card_wide_sm, .wl27_card_maint { grid-column: span 1; }
    
    .wl27_flex_row { flex-direction: column-reverse; }
    .wl27_img_side { height: 200px; width: 100%; }
    .wl27_txt_side { width: 100%; }
    
    .wl27_title { font-size: 2.1rem; }
}