/* =====================================================================
   PRODUCTO · TALLERES · SECCIÓN 2 · MÓDULO PRINCIPAL ("Optimiza…")
   ---------------------------------------------------------------------
   Intro centrada (badge "Módulo", título, párrafo) + bloque de imagen a
   la izquierda con tres puntos de texto a la derecha + fila de tres
   tarjetas de beneficio con icono. Namespacing g-ptm-*.
   ===================================================================== */

.g-ptm {
    margin-top: 180px;                    /* despeja los mockups flotantes del hero */
    padding: var(--g-section-y) 0;        /* ritmo vertical estándar (token global, g-colors.css) */
}

/* ---------- Intro centrada ---------- */
.g-ptm__intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 44px;
}

.g-ptm__badge {
    display: inline-block;
    background-color: var(--g-white);
    color: var(--g-text);
    border: 1px solid var(--g-border);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 8px 18px;
    border-radius: var(--g-radius-pill);
    margin-bottom: 18px;
}

.g-ptm__title {
    color: var(--g-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.g-ptm__text {
    color: var(--g-text);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Bloque imagen + puntos ---------- */
.g-ptm__showcase {
    align-items: center;
}

.g-ptm__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--g-radius-md);
}

.g-ptm-point {
    margin-bottom: 26px;
}
.g-ptm-point:last-child {
    margin-bottom: 0;
}

.g-ptm-point__title {
    color: var(--g-dark);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.g-ptm-point__text {
    color: var(--g-text);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.g-ptm-point__text a {
    color: var(--g-primary);
    font-weight: 600;
}

/* ---------- Beneficios (3 tarjetas) ---------- */
.g-ptm__benefits-intro {
    text-align: center;
    color: var(--g-text);
    font-size: 16px;
    margin: 56px 0 26px;
}

/* NOTA: las tarjetas de beneficios usan el SISTEMA DE CARDS (.card.card-centered
   con .card-icon/.card-title/.card-text). Ver el bloque "SISTEMA DE CARDS" en
   assets/css/g-bootstrap.css. Su CSS ya NO vive acá para no duplicar el estándar. */

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
    .g-ptm__img { margin-bottom: 34px; max-width: 620px; margin-left:auto; margin-right:auto; }
}

@media (max-width: 575.98px) {
    .g-ptm__title { font-size: 27px; }
}
