/* ============================================
   RABO FOUNDATION / INVERNADERO - Estilos Premium
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&display=swap');

.rabo-section {
    font-family: 'Inter', sans-serif;
    padding: 70px 0;
    color: #333;
    background: linear-gradient(180deg, #f5faff 0%, #ffffff 60%);
}

/* ---- Encabezado ---- */
.rabo-section h1 {
    color: #153c5e;
    font-weight: 800;
    font-size: 2rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 18px;
}
.rabo-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #8cc63f, #2b7bb9);
    border-radius: 2px;
}

.rabo-section > .container > p {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    max-width: 750px;
    margin: 20px auto 40px;
    line-height: 1.7;
}

.rabo-section h2 {
    color: #153c5e;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}
.rabo-section h2::before,
.rabo-section h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8cc63f, #2b7bb9);
    border-radius: 2px;
}

/* ---- Modern 3 Steps Process ---- */
.rabo-steps-container {
    position: relative;
    margin-bottom: 35px;
}

.rabo-step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 8px 28px rgba(21, 60, 94, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s ease;
    border: 1px solid rgba(21, 60, 94, 0.06);
}

.rabo-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 38px rgba(21, 60, 94, 0.14);
}

/* Color Themes per Step */
.rabo-step-card.step-green {
    border-top: 5px solid #8cc63f;
}
.rabo-step-card.step-green .rabo-step-badge {
    background: rgba(140, 198, 63, 0.12);
    color: #5e9927;
    border: 1px solid rgba(140, 198, 63, 0.3);
}
.rabo-step-card.step-green .rabo-step-icon {
    background: linear-gradient(135deg, #8cc63f, #5e9927);
    box-shadow: 0 6px 20px rgba(140, 198, 63, 0.35);
}

.rabo-step-card.step-teal {
    border-top: 5px solid #1fa396;
}
.rabo-step-card.step-teal .rabo-step-badge {
    background: rgba(31, 163, 150, 0.12);
    color: #15796f;
    border: 1px solid rgba(31, 163, 150, 0.3);
}
.rabo-step-card.step-teal .rabo-step-icon {
    background: linear-gradient(135deg, #24baa9, #15796f);
    box-shadow: 0 6px 20px rgba(31, 163, 150, 0.35);
}

.rabo-step-card.step-blue {
    border-top: 5px solid #2b7bb9;
}
.rabo-step-card.step-blue .rabo-step-badge {
    background: rgba(43, 123, 185, 0.12);
    color: #1a5a8a;
    border: 1px solid rgba(43, 123, 185, 0.3);
}
.rabo-step-card.step-blue .rabo-step-icon {
    background: linear-gradient(135deg, #2b7bb9, #153c5e);
    box-shadow: 0 6px 20px rgba(43, 123, 185, 0.35);
}

/* Step Header / Top */
.rabo-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.rabo-step-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.rabo-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    transition: transform 0.3s ease;
}

.rabo-step-card:hover .rabo-step-icon {
    transform: scale(1.08);
}

/* Step Body */
.rabo-step-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.rabo-step-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #153c5e;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.rabo-step-body p {
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.65;
    margin: 0;
}

/* Step Connector Arrow between columns */
.rabo-step-connector {
    position: absolute;
    right: -23px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(21, 60, 94, 0.15);
    border: 1px solid rgba(21, 60, 94, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b7bb9;
    font-size: 13px;
    z-index: 10;
    transition: transform 0.3s ease, background 0.3s ease;
}

.rabo-step-card:hover .rabo-step-connector {
    transform: translateY(-50%) translateX(3px);
    background: #f0f7ff;
}

/* ---- Cards ---- */
.rabo-card {
    width: 100%;
    background: white;
    padding: 22px 25px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}
.rabo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Left cards (green) */
.rabo-card-left-style {
    border-left: 5px solid #8cc63f;
    background: linear-gradient(135deg, #ffffff, #f5fdf0);
}
/* Right cards (blue) */
.rabo-card-right-style {
    border-right: 5px solid #2b7bb9;
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
}

.rabo-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rabo-card-icon i { font-size: 34px; color: white; }

.rabo-card-icon.green { background: linear-gradient(135deg, #8cc63f, #5e9927); box-shadow: 0 5px 18px rgba(140, 198, 63, 0.35); }
.rabo-card-icon.blue  { background: linear-gradient(135deg, #2b7bb9, #1a5a8a); box-shadow: 0 5px 18px rgba(43, 123, 185, 0.35); }

.rabo-card-content h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #153c5e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rabo-card-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ---- Dots ---- */
.rabo-dot { width: 14px; height: 14px; border-radius: 50%; position: absolute; z-index: 2; }
.rabo-dot.green { background: #8cc63f; box-shadow: 0 0 8px rgba(140, 198, 63, 0.6); }
.rabo-dot.blue  { background: #2b7bb9; box-shadow: 0 0 8px rgba(43, 123, 185, 0.6); }

/* ---- Impacto ---- */
.rabo-impacto {
    background: linear-gradient(135deg, #edf8f0, #e6f3ff);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(140, 198, 63, 0.2);
}
.rabo-impacto h4 {
    color: #153c5e;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 14px;
}
.rabo-impacto h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #8cc63f, #2b7bb9);
    border-radius: 2px;
}

.rabo-impacto-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.rabo-impacto-item {
    width: 21%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    border-radius: 14px;
    padding: 20px 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.rabo-impacto-item:hover { transform: translateY(-4px); }
.rabo-impacto-item i {
    font-size: 36px;
    margin-bottom: 12px;
}
.rabo-impacto-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
    font-weight: 500;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .rabo-impacto-item { width: 45%; }
}
@media (max-width: 576px) {
    .rabo-impacto-item { width: 100%; }
    .rabo-section h2::before,
    .rabo-section h2::after { display: none; }
}
