/* =================================================================
   GRIDS
   ================================================================= */

.opogc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--opogc-space-24);
}

.opogc-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opogc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.opogc-grid-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--opogc-space-64);
    align-items: center;
}

.opogc-grid-alt--reversed {
    direction: rtl;
}

.opogc-grid-alt--reversed > * {
    direction: ltr;
}

/* =================================================================
   CARDS
   ================================================================= */

.opogc-card {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    box-shadow: var(--opogc-shadow-xs);
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition), border-color var(--opogc-transition);
}

.opogc-card:hover {
    box-shadow: var(--opogc-shadow-md);
    transform: translateY(-2px);
    border-color: var(--opogc-green-border);
}

.opogc-card--featured {
    border-color: var(--opogc-green-border);
    box-shadow: var(--opogc-shadow-sm);
}

.opogc-card--gold {
    border-color: var(--opogc-gold-border);
}

.opogc-card__icon {
    width: 48px;
    height: 48px;
    background: var(--opogc-green-soft);
    border-radius: var(--opogc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--opogc-space-16);
    flex-shrink: 0;
}

.opogc-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--opogc-green-pastel);
    fill: none;
    stroke-width: 1.8;
}

.opogc-card__icon--gold {
    background: var(--opogc-gold-soft);
}

.opogc-card__icon--gold svg {
    stroke: var(--opogc-gold-pastel);
}

.opogc-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--opogc-space-8);
    color: var(--opogc-text);
}

.opogc-card p {
    font-size: 0.93rem;
    color: var(--opogc-text-soft);
    line-height: 1.6;
}

/* Card de número de paso */
.opogc-step-card {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    position: relative;
    box-shadow: var(--opogc-shadow-xs);
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.opogc-step-card:hover {
    box-shadow: var(--opogc-shadow-sm);
    transform: translateY(-2px);
}

.opogc-step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--opogc-green-soft);
    color: var(--opogc-green-deep);
    border-radius: var(--opogc-radius-sm);
    font-family: var(--opogc-font-title);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--opogc-space-16);
}

/* =================================================================
   MÓDULO FEATURE (sección 2 col texto + lista)
   ================================================================= */

.opogc-module {
    margin: var(--opogc-space-32) 0;
}

.opogc-module__text h3 {
    font-size: 1.6rem;
    margin-bottom: var(--opogc-space-12);
}

.opogc-module__text p {
    color: var(--opogc-text-soft);
    font-size: 1rem;
    margin-bottom: var(--opogc-space-24);
}

.opogc-bullets {
    list-style: none;
    display: grid;
    gap: var(--opogc-space-12);
    margin-bottom: var(--opogc-space-32);
}

.opogc-bullets li {
    display: flex;
    align-items: flex-start;
    gap: var(--opogc-space-12);
    font-size: 0.95rem;
    color: var(--opogc-text-soft);
    line-height: 1.5;
}

.opogc-bullets li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--opogc-green-soft);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D8B5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.opogc-module-visual {
    background: var(--opogc-green-soft);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-48);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 1px solid var(--opogc-green-border);
}

.opogc-module-visual img {
    max-width: 100%;
    border-radius: var(--opogc-radius-sm);
}
